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
Saving changes in App_Resources immediately after triggering a prepare (by changing javascript sources) triggers a rebuild of the iOS project and crashes the CLI process at Installing...
1)
tns create app251
cd app251
tns platform add ios
tns run ios
2) Modify main-page.ts without saving, change Info.plist in the resources dir without saving. Save main-page.ts and then Info.plist.
Modify Info.plist in resources directory and save.
The above will trigger a fast prepare followed by a rebuild, the CLI process dies and the device ends up with a black screen/frozen app, and no installed app.
nativescript of versions up to 2.4.2 used to output a message that changes in App_Resources won't be synced and that they require a complete rebuild.
--log trace reports Results at '/Users/mac/user/nativescript-cli/scratch/app242/platforms/ios/build/device/app242.ipa' Project successfully built. Installing... Application org.nativescript.app242 has been uninstalled successfully. BeforeHookName for command install is before-install Removing device file 'PublicStaging/app242.ipa', result: 8 before terminating the process.
The text was updated successfully, but these errors were encountered:
petekanev
changed the title
Change in App_Resources during prepare triggers a build
Changes in App_Resources during prepare triggers a build
Feb 22, 2017
Saving changes in
App_Resources
immediately after triggering a prepare (by changing javascript sources) triggers a rebuild of the iOS project and crashes the CLI process atInstalling...
1)
2)
Modifymain-page.ts
without saving, changeInfo.plist
in the resources dir without saving. Savemain-page.ts
and thenInfo.plist
.Modify
Info.plist
in resources directory and save.The above will trigger a fast prepare followed by a rebuild, the CLI process dies and the device ends up with a black screen/frozen app, and no installed app.
Related issues:
tns run
should do full prepare/rebuild if something in AppResources is changes #2560 - rebuild if changes in App_Resources are detected.Notes:
Results at '/Users/mac/user/nativescript-cli/scratch/app242/platforms/ios/build/device/app242.ipa' Project successfully built. Installing... Application org.nativescript.app242 has been uninstalled successfully. BeforeHookName for command install is before-install Removing device file 'PublicStaging/app242.ipa', result: 8
before terminating the process.The text was updated successfully, but these errors were encountered: