iOS Enterprise OTA starts but results in "Waiting..." under icon - iphone

I have followed all of the instructions and when installing from a web page link I get the install propmt on my iPhone but then the app icon shows up and the "Waiting..." status shows under the icon. No progress is made on the progress bar -- it just stalls. Any ideas?

Check for bad files as Owen mentioned. Also check the file permissions of the ipa and supporting plist on the server where you are hosting them.
I had this file permission issues.

Sound like a bad file, either the ipa file or the supporting plist. Check your build process for any errors. Make sure you have all the right files in the download package.

Related

iPhone Invalid Binary in iTunes Connect

I uploaded an app as version 1.4 on iTunes Connect but on iTunes it is displaying "Invalid Binary". I tried more times but it is not fixed. I checked icons, appid, build settings etc. I revoked the certificate and generate again and provisioning profile also, i am using same app id which previous version have. Any guess what may be wrong here?
My app in an universal application.
This is the message from apple
Dear developer,
We have discovered one or more issues with your recent binary submission for "MyApp". Before your app can be reviewed, the following issues must be corrected:
Corrupt PNG File - The PNG icon file icon-72.png appears to be corrupt.
Once these issues have been corrected , go to the Version Details page and click Ready to Upload Binary. Continue through the submission process until the app status is Waiting for Upload and then use Application Loader to upload the corrected binary.
Regards,
The App Store team'
I got my answer,
Project > target > Build Settings > Show All > first item under the Packaging header
I searched for "pack"
Toggle Compress PNG Files to NO
And everything is ok

Application installation failed from iTunes

I changed the version number to a higher version in my iPhone app. When I run the application from XCode, it runs successfully. But When I try putting it on my device from iTunes, installation failed.
Any ideas?
I have gotten this error before. It happened because I signed the build and the IPA with different keys by mistake. You need to be sure the one in your build settings matches the one you use to sign the IPA when you make it from the archive. Also of course they both need to be adhoc certificates,
You need to delete the Profile that is present In settings>General>profiles there delete the profile that belongs to your app also delete the app from the iPhone and download a profile form developer.apple yourAccount then drag and drop on the desktop and double click it and then drag and drop both ipa nad that profile in to the iTunes then sync the app will install now

How to show iPhone app to the client without submitting to the app store (ad-hoc distribution)

I want to show my app to the client without submitting to the app store. I was following the below instructions. But my app doesn't display in iTunes. Could you please help me?
Login to the iPhone developer portal website.
Add their iPhone UDID to the list of devices. Generate a provisioning profile that includes your own test phone and theirs. Download the file (ends with .mobileprovision).
Double-click it to install it on your development machine. Quit and restart Xcode, then set your code signing identity to the name of this profile. Build the binary.
In the left side of Xcode "Groups & Files" bar look for Products (may need to expand the folder).
Select {yourapp}.app. Right click and choose 'Reveal in Finder.' Now take that .app file and the .mobileprovision file you downloaded, zip them both up and send it to the client.
They will need to unzip the archive, then drag-drop the .app and .mobileprovision onto their iTunes and sync the phone. Your app should show up and run.
The portal site has more detailed instructions, but this is basically it in a nutshell.
TestFlight is a great free service to do most of the hard work here for you. Follow these instructions for generating an IPA file and distribute it to whomever you like, without having to go through iTunes.
You still have to follow steps 1, 2 and 3 from your existing instructions.
First create distribution profile using apple developer portal you can follow this tutorial.
http://www.manyfriends.com/wiki/iphone/index.php/Create_an_ad-hoc_provisioning_profile
After installing profile follow this to create a binary that you will send to you client.
http://diaryofacodemonkey.ruprect.com/2011/03/18/ad-hoc-app-distribution-with-xcode-4/

iPhone / iPad enterprise distribution problem

I've just set up our iPhone / iPad Universal app to support Enterprise Distribution. I've hosted the provisioning profile, the plist file, and the application itself (the IPA file) on our private servers.
Users can go to Safari on their device and download the provisioning profile and it installs itself just fine. They can also view the plist file (we used this to test connectivity, etc).
However, no matter what we try the application file itself will not download. We navigate to our 'get' URL which sends back the manifest (plist) file, which in turn redirects to the application (IPA) file itself. Safari displays a 'Safari cannot download this file' error and we get a 'broken pipe' exception thrown on the server side.
I'm kinda stuck, so any help would be greatly appreciated!
Thanks in advance,
Ben
You shouldn't need anything but the plist and the IPA file, since nowadays the provisioning profile comes bundled in the IPA.
Did you create the plist yourself. or did you have XCode generate it for you with through the "Build and Archive" path in XCode?

How to solve "Cannot connect to server" message with wireless app distribution on iPhone iOS 4

I found the pre-release docs for this at https://developer.apple.com/iphone/prerelease/library/featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html (Developer account required)
and some more at: http://jeffreysambells.com/posts/2010/06/22/ios-wireless-app-distribution/
I'm running into issues when I click on the link to the .plist file
Install My App over the air
-- the iOS4 device reports back:
Cannot connect to www.server.edu
Server names intentionally obscured
Obviously the device can connect to the server otherwise i wouldn't be able to see the page that has the link...
Any suggestions?
This happened to me because the SSL certificate had expired. Make sure you add that to the list of things to check. Once I renewed that it started working again.
I run into the same problem. It turns out there is a typo in the plist file.
Acutally, you don't need to create this plist file.
If you are using XCode to distribute, it will generate the right plist file with the ipa file.
Follow the following steps:
1. Sign your app with the enterprise distribution certificate.
2. Once you create the archive, go to Organizer, select the archive and click Distribute.
3.select "Save for Enterpise or Ad-Hoc Deployment" and click next.
4. Make sure you select the right code signing identity, the same certificate for in house distribution and click next.
5. When prompted for save, check "Save for Enterprise Distribution". It will ask for more information.
6. Application URL must be the url pointing to your ipa file when deployed in your app distribution server. You will need to have another two image files (required as 512*512 and 57*57).
7. When clicked save, plist file and ipa file will be created in the folder you chooose.
Official Guide: http://developer.apple.com/library/ios/#featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html
I haven't run into this, but the first place I'd look is the web server access logs at www.server.edu, to see if a) the request is getting to the server, and b) it's returning an error. I'd bet that the server doesn't like something about the HTTP request coming from the device. Missing cookie? Authentication required? Expecting a particular "Accept" header?
Check authentication on your server on this page and plist file request.
Because cookies of your browser do not send them to itunes on device.
Your plist file must be available without auth.