Skip to content

Build for iOS Simulator fails with XCode 7.2 when Cocoapod has Swift code #1606

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

Closed
rosen-vladimirov opened this issue Mar 15, 2016 · 3 comments · Fixed by #1677
Closed

Build for iOS Simulator fails with XCode 7.2 when Cocoapod has Swift code #1606

rosen-vladimirov opened this issue Mar 15, 2016 · 3 comments · Fixed by #1677
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

Build for iOS Simulator fails with XCode 7.2 when Cocoapod has Swift code. This is bug in XCode 7.2 when ARCHS are passed:
http://www.openradar.me/23857648

In fact CLI can pass -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' instead of ARCHS and VALID_ARCHS parameters and the build succeeds.
Steps to reproduce:

  1. tns create app1
  2. cd app1
  3. tns plugin add nativescript-dialog
  4. tns emulate ios
@rosen-vladimirov rosen-vladimirov self-assigned this Mar 15, 2016
@rosen-vladimirov rosen-vladimirov added this to the 1.7.1 milestone Mar 15, 2016
@rosen-vladimirov
Copy link
Contributor Author

For name we should pass the device that will be used, not sure if OS parameter is mandatory.

@Mitko-Kerezov
Copy link
Contributor

OS parameter seems to be optional so I'll go ahead and skip passing it

@rosen-vladimirov
Copy link
Contributor Author

Marking this as Known Issue. Please install XCode 7.3 in order to fix the issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants