Can't find provisioning profile that I imported

14 posts, 1 answers
  1. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 10 Apr 2014 Link to this post

    I looked through the help, I think I did right:
    So, I did import the profile file that I created at the iOS dev center.
    The App ID I created in iOS was
    com.myName.MyApp
    apple gave it an ID
    XXXXXX.com.myName.MyApp

    Now in my platform properties I set:
    Application Identifier = com.myName.MyApp  (I also tried the XXXXXX.com.myName.MyApp)

    On the import provisioning profiles screen it does say:
    'Not Imported' under Certificates when I select it.
    I'm guessing this is where the error is, but I don't see what the text of the error is.
  2. Answer
    Iva Koevska
    Admin
    Iva Koevska avatar
    286 posts

    Posted 11 Apr 2014 Link to this post

    Hi Dan,

    Codesigning for iOS is a bit tricky as you can tell by our extensive doc section on the subject. The complexity is great and it is not uncommon to miss a thing or two when setting up code signing for your app.

    From your report, it seems that you have imported only the provisioning profile (a .mobileprovision file). The error or warning you are seeing means that you have not imported the matching certificate. This is why you cannot codesign your iOS apps at this point.

    Since the mobileprovision already contains a reference to a certificate, you will need to import the existing certificate from a P12 file. The CER file you can get from the iOS Developer Center will be of no use to you at this point since you most probably do not have the matching certificate signing request to complete it. If you cannot obtain a copy of the certificate in a P12  file format, you will need to set up a new certificate and add it in AppBuilder. Afterwards, you can either create a new mobileprovision that uses your newly created certificate or re-generate the existing provisioning profile to use another certificate. After this is done, you need to again add the mobileprovision file in AppBuilder. For more information about these, you can check the Scenarios and Tutorials section here.

    About your App ID - in AppBuilder, you need to provide only the reverse URL part - com.myName.MyApp. The seed prefix XXXXXX is not needed.

    Keep in mind, that when building your app, the following filtering options apply to what you see in the Build and the Publish wizards:
    • The Build wizard shows Development, Ad Hoc, and In-House certificates and provisioning profiles.
    • The Publish wizard shows only App Store certificates and provisioning profiles.

    Hope this helps.

    Regards,
    Iva Koevska
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  3. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 11 Apr 2014 in reply to Iva Koevska Link to this post

    Oh thank you, it worked.  I've broken it down to 5 easy steps I had to take.  I guess I didn't have to download OpenSSL and create certs on my computer after all with Telerik app builder.

    1. TA Options->iOS Mobile->Cryptographic Identities +Create (enter your info and download myTAcer.cer)
    2. APD Certificates->All-> +Add (upload myTAcer.cer - create your new apple cer and download myApple.cer)
    3. APD Provisioning Profiles ->All +Add (create profile with myApple.cer and download profile myAppleProfile.mobileprovision)
    4. TA Options->iOS Mobile->Cryptographic Identities Import (upload myApple.cer)
    5. TA Options->iOS Mobile->Provisioning Profiles Import (upload myAppleProfile.mobileprovision)
    Now you can publish
  4. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 11 Apr 2014 in reply to danparker276 Link to this post

    Sorry, in the above post TA is telerik app builder, and APD is apple development site
  5. Brian Andersen
    Brian Andersen avatar
    5 posts
    Member since:
    Mar 2010

    Posted 13 Oct 2015 Link to this post

    Thank you for this post! Maybe it is complicated but this was all the info I needed to go from 0 to publish in appstore!

    Kind regards
    Brian
  6. rahaman
    rahaman avatar
    6 posts
    Member since:
    Jul 2013

    Posted 21 Mar Link to this post

    i have the same problem. i imported the provision profile file .but still the 'build' button is disabled. i tried many ways. but failed. any one can help me. in the provision list it is showing no provision . app id also same. pls anyone help me
  7. rahaman
    rahaman avatar
    6 posts
    Member since:
    Jul 2013

    Posted 21 Mar Link to this post

    there is no option to upload myAppleProfile.mobileprovision in telerik appbuilder...
  8. Jim
    Jim avatar
    12 posts
    Member since:
    Jan 2015

    Posted 21 Mar in reply to rahaman Link to this post

    Rahaman,

    In AppBuilder, select Options from the "gear" icon in the top right of the UI. From there, choose "iOS Provisioning Profiles" and that page has an Import button. 

     

     

  9. rahaman
    rahaman avatar
    6 posts
    Member since:
    Jul 2013

    Posted 23 Mar in reply to Jim Link to this post

    I have imported everything what u said. but still after importing, the "build" button is disabled .thn how can i build the package.i don't know whats wrong. pls help
  10. rahaman
    rahaman avatar
    6 posts
    Member since:
    Jul 2013

    Posted 23 Mar in reply to Jim Link to this post

    hi ,

            i checked again. there is no option to import "myAppleProfile.mobileprovision" . pls find attached pic

  11. rahaman
    rahaman avatar
    6 posts
    Member since:
    Jul 2013

    Posted 23 Mar in reply to danparker276 Link to this post

    in my TelerikAppbuilder, there is no option for "Provisioning Profiles Import "

    5. TA Options->iOS Mobile->Provisioning Profiles Import (upload myAppleProfile.mobileprovision)

    can u pls tel me whats wrong in my AppBuilder

  12. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 24 Mar Link to this post

    Hello Rahaman,

    I am sorry to hear you experiences such issues. In your last reply you state there is no Options->iOS Mobile->Provisioning Profiles Import. I verified this and it seems the Options section is accessible. I attached a screenshot from the In-Browser Client after navigating to Code->Options (wheel at the top right). What client do you use?

    Let me list an overview of the entire process you should generally follow when setting up iOS provisioning:

    1. Firstly you need a certificate in order to create a cryptographic identity in AppBuilder. You can create both the certificate and the cryptographic identity through the AppBuilder clients or if you have a cryptographic identity you can simply import it:

    2. Register an App ID - if you don't have one this tutorial will help you set it up. Once you have it, please go ahead and Configure the Application Identifier for Your App.

    3. Create or import a provisioning profile:

    • If you already have a provisioning profile containing a development or production certificate you can go ahead and add it in AppBuilder. In this case, again, do make sure that the certificate matches the certificate used to create the AppBuilder cryptographic identity in step1. 

    Alternatively, the option to test and share the iOS apps without provisioning would be though the AppBuilder Companion App. You can run any app in the AppBuilder Companion App as explained in the documentation. Please note there are some limitations you should keep in mind though, they are listed in the article on Limitations of the Companion Apps.

    This is the workflow since Apple doesn't allow iOS apps to be installed on a device if they are not properly signed. You can read more about provisioning iOS here: iOS Code Signing Specifics

    Regards,
    Dimitrina
    Telerik
     

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

     
  13. rahaman
    rahaman avatar
    6 posts
    Member since:
    Jul 2013

    Posted 27 Mar in reply to Dimitrina Link to this post

    hi,

            thanks for ur reply. even after i tried importing all certificates, it still showing the "No Provisions" in the Build --> Select Provision Page in Telerik AppBuilder. i did the below

    1. Create Certificate Signing Request - Telerik AppBuilder

    2.Upladed this .csr file in to my ISO development Portal (from Apple Developement) and saved the IOS_Developer_Certificate.

    3.Again Imported the  Certificate (IOS_Cert) in to Telerik AppBuilder under CryptoGraphics Identities.

    4.it showed no Pending Certifcate Request Found.

    5.After doing i exported .p12 certifcate and saved in a separate Place.

    6.I exported "xx.mobileprovision" file and saved it separately.

    7. i do not find any option to import this xx.mobileprovision file in Telerik Appbuilder. it is always asking for .p12 file.

    so when i come to build page in TAppBuilder, it shows "No Provision" in the List box. 

    Pls reply where i am doing wrong.

     

  14. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 30 Mar Link to this post

    Hello,

    As to importing the .mobileprovision file you have, would you please follow the instructions from the documentation on Add a Provisioning Profile in AppBuilder? Do you get any error message at this point or l later?

    Please keep in mind to update the project's Applicaiton Identifier to match the mobile provision App ID and head over to this article for more information on setting up App IDs.

    Regards,
    Dimitrina
    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