Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carthage: Reason: The run destination iPad 2 is not valid for Running the scheme 'KIFFramework'. #650

Closed
jasonlagaac opened this issue May 13, 2015 · 5 comments

Comments

@jasonlagaac
Copy link

Hi,

I recently tried to install KIF using Carthage and got the following error.

I'm currently using:

Xcode 6.3.1
Build version 6D1002

*** Fetching OHHTTPStubs
*** Fetching KIF
*** Fetching specta
*** Checking out KIF at "v3.2.2"
*** Checking out OHHTTPStubs at "4.0.1"
*** Checking out specta at "v1.0.0"
*** xcodebuild output can be found in /var/folders/rr/z_x95s291hq84njdww4flnq80000gp/T/carthage-xcodebuild.qAcfdL.log
*** Building scheme "KIFFramework" in KIF.xcodeproj
xcodebuild: error: Failed to build project KIF with scheme KIFFramework.
Reason: The run destination iPad 2 is not valid for Running the scheme 'KIFFramework'.

Looking at the log I have this:

Build settings from command line:
SDKROOT = iphonesimulator8.3

@jberkel
Copy link
Contributor

jberkel commented May 14, 2015

encountered the same problem, the issue might be that the test host target is included in the framework target (it's probably not needed there). for some reason xcode sometimes picks the first installed simulator which happens to be 'ipad 2'.

@phatmann
Copy link
Contributor

@jberkel Glad you have an idea here. Are you going to submit a pull request with your fix in it? Or do you need to test it more?

@jberkel
Copy link
Contributor

jberkel commented May 14, 2015

need to test a bit more but will submit PR once i can confirm it

@simX
Copy link
Contributor

simX commented May 14, 2015

I can confirm that deleting the "Test Host" reference in the KIFFramework scheme fixes this problem.

@phatmann
Copy link
Contributor

Fixed by #652

RoyalPineapple pushed a commit to RoyalPineapple/KIF that referenced this issue Jul 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants