only few contents of .ipa file are getting loaded into the device when sinked via itunes - iphone

I am developing an application in which I placed a bunch of books in my resources folder of my app. When I load the app into the device from Xcode, all the books are visible in the iPad.
When I load the same app in .ipa format into device using iTunes in the same iPad, only a few books are being loaded (done as ad-hoc).
Can anyone suggest what might be the problem or issue?
Is there anything with provisioning profiles (developer or distribution)?

Do one thing, extract .ipa file by stuffit expander. By that you will get the binary file. Please check those resources are there or not. If yes then might be that older ipa file already installed in your itunes(PC). Delete it and then try to install the ipa file. If no then may be issue while compilation.

Related

iTunes not installing .ipa file

I'm trying to install an app I coded on an iPhone using Ad Hoc distribution. I dragged the .mobileprovision file (associated with my iPhone UDID) to the "Apps" item under "Library" in iTunes (Windows). When I do so, nothing happens, no confirmation messages or errors. (Is there a way to know which .mobileprovision files are installed in iTunes?)
When I double-click the .ipa file, again nothing happens. But what is worse is that the app doesn't even appear under "Apps" in iTunes. I also tried to drag-and-drop it under "Apps" in iTunes but again nothing happens.
Did anyone else face this problem before?
Any help greatly appreciated.
Thank you!
Edit: I tried on another computer running Windows and the same version of iTunes and it works! Still not able to make it work on my computer though...
Please follow the bellow steps
1). Right Click on .app file which is underneath of Product Folder in xcode Left side and choose Show in Finder
2). Compress this app file with your provisioning (must contain your UDID)
3). Upload this Zip file to http://www.diawi.com website.
4) you will get one link there.
5). Open it in Safari of your iOS device.
6). Install Provisioning first then install application file.
It's best way for Ad-Hoc Distribution and help you to send built.
Hope it helps you !!!
I'd recommand to use the iPhone Configuration Utility. You can manage the provisioning file, the apps, etc.
I had this problem. App would not load--no error messages, just falls off the cliff. After pulling all my hair out, I discovered that the iPad I was using had not been authorized by the app-store. Even though I was trying to load an ipa file from my system, iTunes didn't seem to know the difference.

Testing the ipa file on iPad

I have a .ipa file which i want to test in iPad before submitting to iTunes. i can't synchronize it with Xcode because we did not develop the code..we just have a iPad and .ipa file was sent to us in email, but even i cannot download it through safari shows an error. Is there any possible way to test it.
Any suggestion will be appreciated.
If you don't have a source code it is possible to resign the app using another profile which includes your iPad and even publish to AppStore. You will need Apple Developers account for that.
You can try www.aironapp.com. You need to configure Apple Developers account there and then it could resign the IPA for you and provide OTA download.
This is impossible to do with an application compiled for distribution. If it would be possible it would mean you could get the ipa's from any device and just run them via iTunes.
You can however ask the developer to send you an ipa compiled for debugging.
Here are the steps to installing your App on your iPhone or iPad using .ipa files.
We will send you one or two files. One will be a .ipa file and the other will be a .mobileprovision file. Save them in a convenient location
Open iTunes. Then drag the downloaded .mobileprovision (if provided) & the .ipa files and drop it into iTunes Library.
In iTunes select your iPhone (or iPad) under devices.
Go to the Apps tab and make sure the checkbox for the new App is checked. If not, check it yourself.
Press Sync. After it is synced, you should be able to unplug you iPhone and play with the App.
The app probably needs to be signed with a different provisioning profile that includes your iPad.

iphone project resources available in itunes of user

In my iphone project i have a set of 20 mp3 audio files in it.now the whole project is working fine.
but client has come up with a problem that whenever he installs the app file ,the mp3 files get added to the itunes list..
this should not occur as these should be bought only by inapp purchase...
I had added all mp3 files into the xcode app bundle itself.(by dragging into the resources folder)
Should anything else be done so that mp3 files stay in app itself?
If I understand you right, you have 20 .mp3 files in your app bundle, which can be unlocked by inApp purchase? This is far to easy to crack, as one can just look into the bundle and extract the files, as a bundle is basically a folder.
I can't post a complete solution, but consider encrypting the files and set up a web service, which delivers a token to unlock the files after being purchased via inApp purchase.
Well they should not end up in the MP3 List op iTunes.
Does this happen when the client drags the .app folder into iTunes on windows, if so I could imagine that windows does not recognizes the app and just add the mp3 to his iTunes library.
You could try a service like TestFlight for ad-hoc builds.

Not loading all content of ipa file into device while using itunes

i developed an app which is meant to read books(pdf book reader).i loaded 25 books(total size of 320MB) into the app using absolute path.all the books are been seen in the simulator and also i can load all the books into my device through xcode(build and run).
my requirement:
when i loaded the above obtained ipa file into the same device or other device which are in ad-hoc distribution using itunes , it is strange that only few books are being seen in the device.
note: i made sure that all the books are present in the .ipa file,i deleted old app in the device which i run via xcode. the device is in ad-hoc distribution.
while code signing i used the iphone developer certificate.
is it necessary to use distribution certificate instead iphone developer certificate which i feel that might be one reason for my problem?
plz anyone suggest me with exact solution to the scenario.
tnx in advance
I know I have seen problems going from simulator to live device. The simulator is not case sensitive, but the device is. Recheck all your actual files in bundle vs what you are requesting when you open the file. They need to match exactly for device, but not so much for simulator.
I would also try seting the apps-Info.plst to have "Application supports iTunes file sharing" on so you could see what is in the documents folder (this is if your moving files in that area).
One problem might be as RAZ suggested that iPhone is case sensitive, but there could be other problems.
For starters I would check the that ipa does contain everything you think should be there. Take the ipa, change the extension to zip and open it. You'll get a folder containing you're app. Right click the .app and choose show package. You'll now see all the files/resources included in your app. If the files that won't load in the app are there then you'll need to provide more information about the problem.
If they're not you need to make sure xCode knows to copy them to the app resources.
You might have resources that you haven't copied into the project, and you're only referencing the files on your hard disk. Then when you make the .ipa file it's not included. Try re-importing all your resources and select "copy to project".

iPhone application doesn't install from anywhere else other than the dev machine

I created an iPhone application. I am distributing it with the ad hoc method. It installs just fine from the iTunes installed on the machine where the app was created. Anywhere else the iTunes just gives the error 'Resources have been modified'.
Please help.
It's possible it is being changed. You should distribute your app as an .ipa file, this will shield it from changes.
Create a folder called Payload and place your .app folder inside of it. Zip up the Payload folder using normal compression, then rename the file with a .ipa extension.
In addition to tewha's answer:
One thing to note is that if you want the app's artwork to appear in iTunes (rather than a generic app icon), you need to place a file called iTunesArtwork (with no extension) into the zip file on the same level as the Payload folder (not in it). This is actually a jpeg file of a 512x512 image and this will appear in iTunes for the app. When I was converting folders, I didn't have the original images so I just left them off, the app works fine you just get the generic icon.