iphone project resources available in itunes of user - iphone

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.

Related

Distribution of iPad app (.ipa format file) over website

I am new IOS development, i want to distribute my iPad app (.ipa format file) over my website. So, others can download my iPad app (.ipa format file) from my website. So, Is it possible to download the iPad app (.ipa format file) over website by others?
You need to check the Box "Distribute to Enterprise" when you Archive your Application. When you do so, a plist File is generated. (Be Careful with the Informations you Provide, the URL has to be right). Place the ipa and plist to your server.
Then you can Link to the plist from an HTML File:
itms-services://?action=download-manifest&url=http://YOURSERVER/YOURAPP.plist
Thats how you do OTA (Over-The-Air Distribution)
This is only possible with an Enterprise Profile or an AdHoc Profile for dedicated Devices, thus for Testing Purposes.
You can also use TestFlight
You can use the http://www.diawi.com/ for uploading .ipa.
But make sure that only register device user can run the file on their devices.
Entrprise could be the solution, but Apple says that the ipa must be distributed only to company employees.

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.

Ad hoc distribution of my iPad app

I have created an iPad app which I want to send to another branch of my company. I have .app file which I want to send to him.
Does this colleague have to do anything special other than drop this file into iTunes and install on the device?
Does he need to have a Mac with Xcode any everything or how do I got about this? I won't have physical address to his device.
EDIT: This is just a once off thing. I only want to demo something to him.
This article looks really good as far as basic setup goes - http://www.iphonedevsdk.com/forum/iphone-sdk-development/35818-unofficial-ad-hoc-distribution-guide.html
After that, you just need to send out the .app and the .mobileprovision. Both the files need to be dragged into iTunes. Check if Sync apps is enabled and that your app is selected. Hit sync and it should work.
You don't need Xcode or a Mac to install an ad-hoc-provisioned app. All your users need is iTunes.
You need to have your users send you their UUIDs, which you then need to register in Apple's provisioning portal. Download the updated profile and be sure to link to it when building your app for distribution.
I have heard of people having trouble installing .app files. The safest option is to chose "build and archive" from the build menu. This will create an ipa file that can be installed through iTunes. If you open the Xcode organizer after building and archiving, you can select your new ipa and save it to file, or send it by e-mail straight from Xcode.
You will need to belong to iOS Developer Enterprise Program.

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

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.

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.