Skip to content

CLI( tns ) Only can deploy first time to Real IPhone device, please help :( #1398

Closed
@enchev

Description

@enchev

From @wisonye on January 15, 2016 7:22

When developing, I use the this command to run in Emulator, everything is fine:

tns livesync ios --emulator --device "iPhone 5" --watch

But after I want to test on real IPhone device, I run

tns run ios

It ONLY CAN WORKS for the first time, after that, it always DEPLOY FAIL with this error:

Results at '/Users/wison/NativeScriptProject/DemoMobileApp/platforms/ios/build/device/DemoMobileApp.ipa' 
Project successfully built
Using  /Users/wison/NativeScriptProject/DemoMobileApp/platforms/ios/build/device/DemoMobileApp.ipa
Unable to start service com.apple.mobile.installation_proxy. Result code is: 3892314239

I really have no idea on this, and the weird thing is keep going: After I unplug the IPHONE, the "tns device" command still can LIST my iphone( how could that possible ):

Wisons-MacBook-Pro:DemoMobileApp wison$ tns device
┌───┬─────────────┬──────────┬──────────────────────────────────────────┐
 #  Device Name  Platform  Device Identifier                        
 1  iPhone5,2    iOS       4fcae2e62d5bd99d901647c84b78a3259f71f9ed 
└───┴─────────────┴──────────┴──────────────────────────────────────────┘

Anybody can help on this ??? :)

Copied from original issue: NativeScript/NativeScript#1379

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions