-
-
Notifications
You must be signed in to change notification settings - Fork 201
Closed
Description
When there are problems with the provisioning profiles, or device OS (the logs are from problems with device with OS lower than the App specifies) or various other problems the tns ios run sometimes hangs on:
Results at '/Users/cankov/GitRoot/NativeScript/nativescript-marketplace-demo/platforms/ios/build/device/nativescriptmarketplacedemo.ipa'
Project successfully built
Using /Users/cankov/GitRoot/NativeScript/nativescript-marketplace-demo/platforms/ios/build/device/nativescriptmarketplacedemo.ipa
Status: CreatingStagingDirectory PercentComplete: 5
Status: ExtractingPackage PercentComplete: 15
Status: InspectingPackage PercentComplete: 20
Status: TakingInstallLock PercentComplete: 20
Status: PreflightingApplication PercentComplete: 30
<-- note a new empty line here
More importantly the process then hangs.
Probably the CLI can handle somewhat error notification among these lines:
https://github.com/telerik/mobile-cli-lib/blob/master/mobile/ios/ios-proxy-services.ts#L221
https://github.com/telerik/mobile-cli-lib/blob/master/mobile/ios/ios-proxy-services.ts#L344
https://github.com/telerik/mobile-cli-lib/blob/master/mobile/ios/ios-core.ts#L840
https://github.com/telerik/mobile-cli-lib/blob/master/mobile/ios/ios-core.ts#L846
The verbose log is:
PlistService sending:
!)Yist00�WCommand[PackagePathWInstall_-PublicStaging/nativescriptmarketplacedemo.ipa
MESSAGE RECEIVING
[ { Status: 'CreatingStagingDirectory', PercentComplete: 5 } ]
Status: CreatingStagingDirectory PercentComplete: 5
Failed to retreive state: TypeError: Cannot read property 'Status' of undefined
MESSAGE RECEIVING
[ { Status: 'ExtractingPackage', PercentComplete: 15 } ]
Status: ExtractingPackage PercentComplete: 15
Failed to retreive state: TypeError: Cannot read property 'Status' of undefined
MESSAGE RECEIVING
[ { Status: 'InspectingPackage', PercentComplete: 20 } ]
Status: InspectingPackage PercentComplete: 20
Failed to retreive state: TypeError: Cannot read property 'Status' of undefined
MESSAGE RECEIVING
[ { Status: 'TakingInstallLock', PercentComplete: 20 } ]
Status: TakingInstallLock PercentComplete: 20
Failed to retreive state: TypeError: Cannot read property 'Status' of undefined
MESSAGE RECEIVING
[ { Status: 'PreflightingApplication', PercentComplete: 30 } ]
Status: PreflightingApplication PercentComplete: 30
Failed to retreive state: TypeError: Cannot read property 'Status' of undefined
MESSAGE RECEIVING
[ { Error: 'DeviceOSVersionTooLow' } ]
Failed to retreive state: TypeError: Cannot read property 'Status' of undefined
Reactions are currently unavailable