Skip to content

iOS apps will not start with Xcode 10 #3920

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
mrdavidrees opened this issue Sep 21, 2018 · 5 comments
Closed

iOS apps will not start with Xcode 10 #3920

mrdavidrees opened this issue Sep 21, 2018 · 5 comments
Assignees
Labels
Milestone

Comments

@mrdavidrees
Copy link

mrdavidrees commented Sep 21, 2018

Tell us about the problem

A few errors included in the log are:
"Failed to load Info.plist from bundle at path"
"Command xcrun with arguments simctl install"
The compiler seems to fail at copying the app files onto the device or simulator.

I have included the entire build log.
I am running a clean build with entire ios platform folder removed.

Why I think this is specific to Xcode 10:
Builds were running successfully until i updated yesterday, looking at my repo i cannot see any noticeable changes to configuration files, with an exception of this in the package-lock.json file:
package-lock

The app will build and run when building directly from Xcode 10, after running "tns prepare ios"

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.2.4

typeout-build-log-xcode10.txt

@mrdavidrees mrdavidrees changed the title iOS apps will not build with Xcode 10 iOS apps will not start with Xcode 10 Sep 21, 2018
@vultix
Copy link

vultix commented Sep 24, 2018

I can confirm that I am seeing the same issue. This is (temporarily) fixed by removing the platforms folder every time you run.

@datanotion
Copy link

I believe you can also fix this by telling xcode 10 to use the legacy build system. I have since rolled back to xcode 9.x but I think you can find it in the File > Project/Workspace Settings sheet. 10 has a new build system and there are still some issues to resolve, so going back to the old way of doing builds fixed most things like this for me.

@rosen-vladimirov rosen-vladimirov self-assigned this Oct 2, 2018
@rosen-vladimirov
Copy link
Contributor

Related to: #3957

@rosen-vladimirov
Copy link
Contributor

Hey guys, the fix is available in CLI's next version, you can install it by executing:

npm install -g nativescript@next

@andreaCremisini
Copy link

@NickIliev i tried, but not working.

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

No branches or pull requests

6 participants