You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, why is tns run ios --device xxxx command now archiving my project? ** ARCHIVE SUCCEEDED **
It takes twice as long for the command to pop the app on my device!
Second, after calling tns run ios --device xxxx OR tns build ios --release AND then opening .xcworkspace file AND then trying to run the app on the real device (it does work when emulator is selected) from Xcode, I get the following in Xcode console:
The archive/export part was added due to changes in Xcode 8.3 which doesn't allow us to use xcrun anymore as it's deprecated. The new way suggested is to first archive the project and then export to .app. You can see the thread discussing this change here: Add support for Xcode 8.3 #2668
The issue with running on device from Xcode after running with the NativeScript CLI is connected to an issue in the NativeScript IOS Runtime which we have already resolved. I'd suggest you two workarounds:
Recommended You can just use the newest version of the ios-runtime, where this issue is fixed: tns platform remove ios tns platform add ios@next
Alternative You can manually force the ios runtime to sync all files, before building/running with Xcode. This should be done every time, so I guess it's not very convenient, but still: tns run ios --sync-all-files
First, why is
tns run ios --device xxxx
command now archiving my project?** ARCHIVE SUCCEEDED **
It takes twice as long for the command to pop the app on my device!
Second, after calling
tns run ios --device xxxx
ORtns build ios --release
AND then opening .xcworkspace file AND then trying to run the app on the real device (it does work when emulator is selected) from Xcode, I get the following in Xcode console:NS CLI: 2.5.4
Xcode: 8.3
Device: iPhone 5
package.json:
The text was updated successfully, but these errors were encountered: