This is a migrated thread and some comments may be shown as answers.

Can't deploy to my iPad

3 Answers 65 Views
Command-Line Interface
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Fábio
Top achievements
Rank 1
Fábio asked on 14 Apr 2016, 02:09 PM

I'm getting this problem:

 

$ appbuilder deploy iOS --device 1 --certificate 1 --provision 1 --debug
$ Executing before-deploy hook from /usr/local/lib/node_modules/appbuilder/lib/hooks/before-deploy.js
$ Your application will be deployed only on the device specified by the provided index or identifier.
$ Building project for platform 'iOS', configuration 'Debug'
$ Uploading..........
$ Using mobile provision 'Beepos App - Development'
$ Using certificate 'iOS Developer Ana Afonso (Hive Apps)'
$ Certificate is not included in provision's certificates

The certificate is ok and the Provision Profile too. What's wrong?

3 Answers, 1 is accepted

Sort by
0
Tsvetan
Telerik team
answered on 18 Apr 2016, 01:27 PM
Hi Fábio,

You can execute the appbuilder provision command to see the list of available provisioning profiles for signing iOS applications, and appbuilder certificate to the see the list of available certificates for signing iOS and Android applications and their expiration date. Both commands provide the name and the index of the provisioning profile / certificate which can be used with the deploy command. You can use --help with both commands (e.g. appbuilder provision --help) to get more information about the command usage and related commands.

Also, you can ensure that the combination 'Beepos App - Development' for provisioning profile and 'iOS Developer Ana Afonso (Hive Apps)' for certificate is what you need.

As a side note, you can find more information about using provisioning profiles and certificates in AppBuilder's documentation: Create and Install Certificate and Provisioning Profile for iOS Development. For more information about managing your provisions check Maintaining Identifiers, Devices, and Profiles (Editing Provisioning Profiles in Your Developer Account section).

Regards,
Tsvetan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Fábio
Top achievements
Rank 1
answered on 20 Apr 2016, 08:26 PM

Oh, thanks! I solved the "problem" I wasn't using a certificate specific for telerik

 

But Now I get the following problem:

Building project for platform 'iOS', configuration 'Debug'
Uploading...........
Using mobile provision 'Beepos App - Development'
Using certificate 'iPhone Developer: Ana Afonso (5VUVW6BM65) 1'
Building project beepos_app/beepos_app (Private_Build_Folder)
Building..........................................................
Build log written to '/Users/hivemedia/Desktop/Hive/Beepos/app/beepos_app/.ab/build.log'
Downloading file 'beepos_app/beepos_app/bin/iOS/Debug/Info.plist' into '/Users/hivemedia/Desktop/Hive/Beepos/app/beepos_app/.ab/Info.plist'
Download completed: /Users/hivemedia/Desktop/Hive/Beepos/app/beepos_app/.ab/Info.plist
Downloading file 'beepos_app/beepos_app/bin/iOS/Debug/app.ipa' into '/Users/hivemedia/Desktop/Hive/Beepos/app/beepos_app/app.ipa'
Download completed.                                 
Download completed: /Users/hivemedia/Desktop/Hive/Beepos/app/beepos_app/app.ipa

Unable to write to file: '4320064640'. Result is: '21'
Unable to write to file: '4320064640'. Result is: '21'

0
Tsvetan
Telerik team
answered on 25 Apr 2016, 03:07 PM
Hi Fábio,

The error with result 21 usually means that there is a problem with some of the device's services. Try to restart the device and run the command again. If the problem still occurs run the command with ​--log trace ​flag (e.g. ​appbuilder deploy ios --log trace​) and send us the output for further investigation.

Can you also check if you are using the latest version of the ​AppBuilder CLI​ (3.2) using ​appbuilder --version ​command.

Regards,
Tsvetan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Command-Line Interface
Asked by
Fábio
Top achievements
Rank 1
Answers by
Tsvetan
Telerik team
Fábio
Top achievements
Rank 1
Share this question
or