Cannot install .ipa file to my iPhone 4s fom itunes - ios5

I can not install my .ipa file to my iphone 4s device somehow.
However, I have successfully installed it to my 3g device.
I have taken care of every single distribution step. I have provided my iPhone 4s UDID and everything.
I'm using Xcode Version 4.2.

I had this problem before where it worked on my 3G but not 4s. This occurred for iOS ipa's built with Flash CS, but it may be related to yours.
The problem was that my application identifier for deployment on Flash CS (looks like com.mycompany.appname) was misspelled from how it set was in the provisioning profile.

Related

Code Sign Error with Xcode4.6 on JailBroken Device

I have jail broken device and would like to build the app on the jail broken device. I followed the following links to build the application
Bypassing code sign with xcode 4.5 for iOS6
How can I deploy an iPhone application from Xcode to a real iPhone device?
Test iOS app on device without apple developer program or jailbreak
Created the self signed certificate.
Modified the file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/SDKSettings.plist
Modified CODE_SIGNING_REQUIRED to NO, ENTITLEMENTS_REQUIRED to NO in SDKSetting.plist file.
After that tried to build the application for the device I got the following error
Code Sign error: A valid provisioning profile matching the application's Identifier could not be found
What things I need to do to build an app on Xcode4.6 jail broken device?
I am building the app on MAC OS 10.8.2 using XCode 4.6 on iOS 6.1sdk
I just used 4.6 and I didn't have any trouble at all with this tutorial http://www.youtube.com/watch?v=h0JS0D2tXGY

XCode 4 not detect iPad

I have iPad 1 and i want to test my app on it.
i connect the iPad to the computer, and the IOS Device not change to the device name.
when i press on Run i get this msg:
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version.
Connect an iOS device with a recent enough version of iOS to run your
application or choose an iOS simulator as the destination.
Any suggestion why it happen?
The top explanations for this error are
1) Your iPad is running an OS version newer than that supported by Xcode
or
2) You have not yet provisioned your iPad
Ok
I find the solution :
in IOS Deployment Target change it to the minimum version you want the app will work
You need to add the UDID of the device to your developer mobile provisioning profile.
If you have Xcode 4.2 this can be done actually automatically, else you'll have to do this manually (get the UDID, log into the developer portal, add the device's UDID to the devices list, at that device then to your developer profile, download and install that profile, select this profile as a developer profile for your current app)

Verizon iPhone Provisioning Problems

I upgraded to XCode 4 and a Verizon iPhone 4. After installing I am unable to sign and run anything on device. Yes I HAVE added it to the portal (using organizer and on the website). I've downloaded the certificates, and everything checks out.
I get the message: XCode cannot run using the selected device. No provisioned iOS devices are available. Connect an iOS device or choose an iOS simulator as the destination.
Could this be due to the Verizon iphone being 4.2.8 and not 4.3?
EDIT: Also, my ipad runs fine on it. Both devices show up in organizer, have the team provisioning certificates, and show up in the portal, etc...
-d
The fact that the iPhone is from Verizon has absolutely nothing to do with provisioning.
Try removing all of the certificates that are installed on the device currently, and try again. If the device is included in the certificates, then you should be good to go. Also ensure that you are running a supported iOS version on the device as set in your Xcode project.
The foremost thing you'll want to do is make sure your app's deployment target isn't iOS 4.3 and is instead something lower. (Base SDK should remain as Latest iOS.)

iPhone Ad Hoc Distribution Build does not work on 3.x Devices

We have made many Distribution Builds, so we are familiar with the daunting iPhone provisioning process.
We have entered all the devices into the Provision Portal, we have downloaded all certificates, and when we distribute our BETA build, it is only working for users on iOS 4.x. This is strange behavior because it wasn't doing this before.
Our iOS Deployment Target is set to: iOS 3.0
Base SDK is: iOS Device 4.1
Don't you think if we had a reference to a Base 4 SDK method, that it would at least install, but then crash? We are getting the infamous:
"The executable was signed with invalid entitlements"
This seems like an odd error when other all other devices that are on iOS 4 are working and all the iOS 3 devices are getting this?
We are stumped, thanks!
Are you doing a build and archive? You might want to try building it and manually zipping it along with the provision and sending that to your beta testers. I had this same problem with iOS 3 devices and zipping it manually seemed to work.
Versions of iOS prior to 3.2 cannot take advantage of an embedded provision file (included in the zip). For those devices, you have to install the .mobileprovision file separately by dragging it into the library in iTunes.

Can't install app on Device 3.1.2

I can install my app with the profile in my IOS4.0 device, but the same profile can't used to install on IOS 3.1.2 device.
My Xcode is SDK 3.2.3+IOS4(SDK 4).
BTW, i set my "Base SDK" = iPhone Device 4.0, "IPhone OS Deployment Target" is "iPhone OS 3.1.2".
The error info is "A valid provisioning profile for this executable was not found."
Thanks a lot.
Are you a member of the iOS Developer Program? You are not able to test on device until you sign up.
Yeah. I ve been there. I used to face this problem when I used to try and sync up .ipa file that I created out of sdk 4.0+ with an iOS 3.1.2 based device through iTunes. Apparently, iOS 3.1.2 devices have some bug (or maybe it is in the iTunes) that the profiles don't sync up along with the .ipa file in them automatically sometimes.
But before that, you have to ensure that the iOS 3.1.2 device is provisioned with the profile in the first place. If not, thats the problem. If it is, then in such cases, I used to drag and drop only the provisioning profile first into the iTunes, then do a sync with the device (Nothing will seem to happen in this sync. This is for installing the profile into the phone.). Then drag and drop the .ipa file into the iTunes and then perform another sync. That used to work for me.
If you are facing this problem with the .app, then too you should try above. That should work.