Giter VIP home page Giter VIP logo

Comments (3)

jeeftor avatar jeeftor commented on June 20, 2024

I have a very similar issue - however I did get my tests to work with using XCTool instead of scan:

This works for me:

 xctool -scheme otto \
-sdk iphonesimulator \
CODE_SIGN_IDENTITY=""\
CODE_SIGNING_REQUIRED=NO \
   -reporter pretty\
   -reporter junit:./test-reports/otto.xml\
   build test

Wehre as

scan --sdk iphonesimulator --scheme otto

doesn't

[11:16:25]: > Loading...
[11:16:26]: > xcodebuild: error: Unable to find a destination matching the provided destination specifier:
[11:16:26]: > { platform:iOS Simulator, id:4F273207-BC6F-416B-91B5-BE3CABB7B547 }
[11:16:26]: > Available destinations for the "otto" scheme:
[11:16:26]: > { platform:iOS Simulator, id:54D0DECF-557D-42A8-8080-B8272224F037, OS:9.2, name:iPad 2 }
[11:16:26]: > { platform:iOS Simulator, id:6ED349D0-EAE5-4717-8866-D53FA60214D9, OS:9.2, name:iPad Air }
[11:16:26]: > { platform:iOS Simulator, id:56CDB115-8D17-4414-BA6E-EA8E3989C93A, OS:9.2, name:iPad Air 2 }
[11:16:26]: > { platform:iOS Simulator, id:4E965AFC-F204-4977-824D-BB5F63924B05, OS:9.2, name:iPad Pro }
[11:16:26]: > { platform:iOS Simulator, id:F09CDF01-C057-4470-B3BF-5A400A6D1898, OS:9.2, name:iPad Retina }
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ platform:iOS Simulator, id:4F273207-BC6F-416B-91B5-BE3CABB7B547 }

Available destinations for the "otto" scheme:
{ platform:iOS Simulator, id:54D0DECF-557D-42A8-8080-B8272224F037, OS:9.2, name:iPad 2 }
{ platform:iOS Simulator, id:6ED349D0-EAE5-4717-8866-D53FA60214D9, OS:9.2, name:iPad Air }
{ platform:iOS Simulator, id:56CDB115-8D17-4414-BA6E-EA8E3989C93A, OS:9.2, name:iPad Air 2 }
{ platform:iOS Simulator, id:4E965AFC-F204-4977-824D-BB5F63924B05, OS:9.2, name:iPad Pro }
{ platform:iOS Simulator, id:F09CDF01-C057-4470-B3BF-5A400A6D1898, OS:9.2, name:iPad Retina }
[11:16:26]: Exit status: 70

from scan.

mpirri avatar mpirri commented on June 20, 2024

We shipped scan 0.5.2 earlier today that should have the fix for this issue. I am going to close this issue because I believe it is fixed - please open another issue if you are still having difficulty! 🚀

from scan.

fastlanebot avatar fastlanebot commented on June 20, 2024

This issue was migrated to fastlane/fastlane#3349. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

from scan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.