title: iOS icon goes black after installing from iTunes
body: <p>I'm trying to write my own <strong>iOS</strong> app using <strong>PhoneGap</strong>. So far, the app works fine on my Android version. However, when trying to install on <em>iOS</em>, the icon shows up on the phone, then goes to 100% - but when it gets to 100%, the icon goes black! </p>
  
  <p>Here is what I see when its doing the install:</p>
  
  <p><img src="https://i.stack.imgur.com/GDl5w.png" alt="enter image description here"></p>
  
  <p>..then it goes all black once it gets to 100%:</p>
  
  <p><img src="https://i.stack.imgur.com/VzSsU.png" alt="enter image description here"></p>
  
  <p>This is with a production p12 / mobileprovision file (not development).</p>
  
  <p>The annoying thing is that the development one works fine! I've done a lot of reading up - but I'm not totally sure how the process of making the live app works. Does it need verification from Apple, before it will fully load on my test device? </p>
  
  <p>Apple <em>really</em> need to sort out the whole certification system. Far too complex! I've literally spent 3 1/2 days on this so far, just to create the damn certificates! </p>
  
  <p>UPDATE: Ok, so I've tried re-creating my profiles / certificates, and still no joy :( Here is how I'm going about it. Can anyone see somewhere I could be going wrong?</p>
  
  <ol>
  <li><em>Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority.</em> - then enter my email (same as my developer accounts address), and a name. Set as "<strong>Save to Disk</strong>"</li>
  <li>Now I have the .certSigningRequest file</li>
  <li>Go into "Certificates", and create a new one (<strong>App Store and Ad Hoc</strong>) - uploading the file from the last step. I then download the <em>.cer</em> file that it outputs from this process</li>
  <li>Double click the new <em>.cer</em> file, and let it import into my <strong>KeyChain</strong>. I can see the new certificate fine in "Certificates", as well as the user in "Keys"</li>
  <li>Expand the "Keys" section, I find the new certificate - expand it (so I can see the Private Key AND Certificate), then highlight both. Right click, and choose "Export 2  items". This then gives me the p12 file</li>
  <li>Then back in the Apple Developer panel, I go to Provisioning Profiles > Distribution, and add a new one based on the "iOS Distribution" certificate I have)</li>
  <li>Download the <em>.mobileprovision</em> file it outputs.</li>
  <li>Then, I put the p12 and .mobileprovision file into PhoneGap Build, and try a build. </li>
  <li>After its compiled, I then try and install it on my device - which comes up with the "waiting" issue on the icon</li>
  </ol>
  
  <p><strong>UPDATE 2:</strong> I managed to get it going by doing an "Ad Hoc" provisioning file, not "Store" one. </p>