Cannot install .ipa created from Xcode 4.5 - iphone

I'm developing my application in xcode 4.5 and i want to create the .ipa file to transfer the project in to client's device. But unfortunately I can't install it in device. Giving a pop up says "Cannot install".
i have created the ipa and installed it from xcode 4.0.2. So i know the process. I thinks i have given correct provisionning profile too. Is there any reason or anyone can give me a tutorial on this in xcode 4.5?

Did you build the app with an ad-hoc distribution profile that includes the client's device UDID?
Alteratively, use Testflight which works extremely well for this sort of thing.

for replies. i found the solution in entitlements.plist file thr is a property called
get-task-allow. i had to set it to NO.
Tht wat happed with xcode 4.5.
Thank you

Assuming the ipa is correct, is the client's device running an OS supported by the ipa (check deployment target of your project)?

What do you see in the Xcode Organizer console for the device as you perform the install? There is likely an error message in the console that will give you a clue.
Are there any unsafe characters in the .ipa filename? I had a case once where iTunes was installing the app and changing the .ipa filename to be the app name. Well, the app name had a '/' in it, and that doesn't work so well in filenames. The console showed me the error as it occurred.
If you aren't installing with the device connected to Xcode, you can use the iPhone Configuration Utility to watch/record the console on a remote machine.

Related

Difficulties with installing test app on my ios device

I am trying to install a version of my app on my device.
I have an ".ipa" file and a provisioning file that verified on my device.
When I am syncing my IOS device in Windows it says that I have a problem
"entitlements are not valid".
When pressing for more info it says I must update the device software, and I don't want to do so.
How to fix it?
I have problem with that web because of data in entitlements.plist of my project.
the problem was with the certificate . i made the whole process of creating provisioning file and .ipa file .and changed it to distributing and not developer.
after that it works smoothly

Getting error of installing .Ipa file in to my iPad

I developed an app and created a .Ipa file and sync it with my iPad1 but the problem is, I am trying to sync the same app in to my other iPad2 using iTunes.
But it is not syncing and showing an error that the App can't be installed and installation failed!!!.
There are several reasons for failed to instal in device.
1.check your provisioning profile contains device UDID of ipad2 added or not.
2.check your ipa file created properly or not.if you feel you created properly then delete the app from your first device which is having same app and instal the ipa again and check once.Then you come to know your ipa creation is correct.
3.one more reason might have take place is ipa may break accidentally.
you can check these steps:-
Make sure that your iPad2 device ID is added to your provision profile you have created in developer portal.
Make sure that your bundle id in your plist is match with the your provisioning profile bundle ID you have choose to build your project.
Second thing you can check if the provision profile is installed on your device on not.
Thanks,
Sandeep
This is a free program to check an IPA file for errors, there's over 20 reasons why an IPA file will fail to install, many strange combinations in mobileprovisioning and info.plist files.
CheckIPA

How to install project ipa file on iPhone query?

I have created Map application for iPhone using xcode 3.2 and sdk 4.3.2. I have created
ipa file and send it to my client. But he is unable to run my project on his iPod. What are
the steps to follow for my client to run an project ipa file. Do my client need to jailbroke his device????
Open iTunes, drag the ipa to the library and then sync the device. Make sure the app is selected to be installed on the device.
The only other thing I can think of, is that his device is not provisioned to run the application. Have him give you the UDID, add him to the provisioning profile and then make another build if the first solution does not work.
And no he doesn't need to jail break his device.
don't jailbreak!
use testflightapp.com :)
follow their directions, and make sure you register your client's device and update your provisioning profiles when building your app.
good luck!
if you have a developper licence, you should try TestFlightApp.com.
I've just explained what's this tool there: How do install iPhone application from Xcode to a remote iPhone

"Failed to upload *.app on Device " Error in iPhone

I am getting an error while uploading my app on device. It does installs it but not able to upload it.
Also I want to run the instrument tool on device but when I run it shows nothing.
Anyone facing the same issues.
I had this problem after changing around provisioning profiles and app ID's.
What fixed it for me:
Quit XCode
In Terminal.app, navigate to your project directory and execute rm -rf build/
Restart XCode
I also confirm, that I had that issue on Xcode 3.2.5 and iOS 4.2 GM Seed and after adding new provisioning profile.
You do not have to use terminal, you can select *.app from Products Group in 'Groups & Files' pane in Xcode. Then right-click on it, and select 'Reveal in finder'. Then manually delete the build catalogue. And restart Xcode.
Worked for me.
I was getting this issue on an iPhone running 3.0 software, but it was working fine on phones running 3.1. The app used to work on the 3.0 software until we added users to the provisioning for the app - this is the only thing I can think of that might have caused it.
If you're running 3.0 still, try upgrading to 3.1 and see if that fixes it.
I had the same error message in iOS 4.1 but from a different cause: when trying to link to a universal (ARM & X86) static library that was over 10MB. If I link directly to the ARM version of the static library (for iPhones), then it works fine.
Sometimes manual delete of Build folder of your application fails to solve the problem
"Failed to upload the .app on device"
Try
WIndows->organizer->Provisioning profile(in left pane)->refresh it once....
This has solved my problem!

provision file error in iPhone OS 2.2

I created an AppID "MyApp", DeviceID "MyDevice" in Program Portal and I downloaded the provision file and drag it to Organizer, downloaded the .cer file and install it on Mac.
All these works fine, but when I build my app, an error pops up saying "CodeSign error: a valid provisioning profile is required for product type 'Application' in SDK 'Device-iPhone OS 2.2'".
I tried to find PROVISIONING_PROFILE in project.pbxproj in myApp.xcodeproj, but it returns "Not Found". What might be the problem? Do I need to modifiy the info.plist and what should I modify?
The provisioning process for developing iPhone apps can be very confusing, and your error could be due to any of a number of issues. Here is a very thorough walkthrough:
http://www.24100.net/2009/02/iphone-sdk-mobile-provisioning-0xe800003a-0xe8000001/
I would suggest totally scrapping whatever provisioning profiles you have, erase them from XCode, and start over using this tutorial. That seems to work the best in most of my cases.