1 Reply Latest reply on Dec 13, 2016 7:45 AM by obscured

    IOS 'You must provide a signing key' even though key provided and unlocked

    obscured

      I have followed many tutorials, but so far nothing appears to resolve the issue I am facing.  Even though I have created a signing key and added it in Phonegap Build, I am getting the error 'You must provide a signing key' when trying to build IOS.  I would greatly appreciate any help.  Details below....

       

      Here are the steps I followed:

      1. Created a phonegap application
        $ phonegap create myApp
      2. Added IOS platform
        $ phonegap platform add ios --save
      3. Build (successfully)
        $ phonegap build ios
      4. Deploy myApp to git and hook Phonegap Build to my git repo
        App ID: 2250285
      5. Followed numerous guides on how to create signing key for IOS
        Ex: Signing | PhoneGap Docs
      6. Added p12 and provision profile to Phonegap Build
      7. Unlocked the key in Phonegap Build
      8. Build IOS...Error! 'You must provide a signing key'
      9. THERE IS NO LOG

       

      Notes:

       

      • I have tried Development and Distribution keys and both give me the same result
      • Right now I am only testing, I just want a successful build of IOS in Phonegap Build, so dev certs are fine.
      • Phonegap version 6.4.2
      • In config.xml
        • cli-6.3.0

        • ios spec 4.3.1

      • Yes I have a Mac
      • Android builds fine on Phonegap Build (after adding the android platform from the cli)

       

      Questions:

       

      • Am I missing a step?  If so what?
      • Do I need to do something in XCODE? If so what?
        • Is there some config or setting in the app that I need to set (ex. do I need to supply the signing key information? If so where?)
      • What kind of cert do I need to create in Apple?
        • Development or Distribution?
        • IOS App Development or App Store & Ad Hoc?
      • What kind of Provisioning profile?
        • Development or Distribution?
        • IOS App Development or App Store or Ad Hoc?
        • 1. Re: IOS 'You must provide a signing key' even though key provided and unlocked
          obscured Level 1

          UPDATE: It appears it depends on access level in Phonegap Build? I am a collaborator in our github based app and I do not see the dropdown to select keys next to the platform name.  So even though I added the key, and made it the default, it was not tied to the app during build.

           

          I uploaded another app for which I have admin access to and now I see the dropdown to select the key.

           

          Maybe I missed this information in the guide that I need to be admin?  And that simply adding the signing key and making it default is not enough.