Nativescript-cli: iOS apps will not start with Xcode 10

Created on 21 Sep 2018  路  5Comments  路  Source: NativeScript/nativescript-cli

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

bug

All 5 comments

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

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.

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

npm install -g nativescript@next

@NickIliev i tried, but not working.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DimitarTachev picture DimitarTachev  路  3Comments

Fatme picture Fatme  路  3Comments

PeterStaev picture PeterStaev  路  3Comments

donker picture donker  路  3Comments

ZMW9 picture ZMW9  路  3Comments