Can't deploy to my iPad

4 posts, 0 answers
  1. Fábio
    Fábio avatar
    2 posts
    Member since:
    Mar 2016

    Posted 14 Apr Link to this post

    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?

  2. Tsvetan
    Admin
    Tsvetan avatar
    6 posts

    Posted 18 Apr Link to this post

    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.

     
  3. Fábio
    Fábio avatar
    2 posts
    Member since:
    Mar 2016

    Posted 20 Apr in reply to Tsvetan Link to this post

    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'

  4. Tsvetan
    Admin
    Tsvetan avatar
    6 posts

    Posted 25 Apr Link to this post

    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.

     
Back to Top