Errors while adding binary to App Store - iphone

I was trying to implement in-app purchase. I am using ios 5.0 beta and xcode 4.2. Now I am remaining with only error. Also when I add my binary to iTunes Connect through Application Loader I get this error:
Please help me with it!

At the moment it is not possible to submit binaries that were created with Xcode4.2 and link against iOS5. This restriction will be lifter when iOS5 and Xcode4.2 come out of beta. At the moment you will need to use Xcode 4.1 to submit a binary to Apple (which won't work if you need iOS5 features or ARC).

Is it necessary to make a build of project through app store distribution provisioning profile?
When you want to test you iPhone App with In-App Purchase you will need a development provisioning profile setup with your app's id.
To do this:
Go to iOS Provisioning Portal ( http://developer.apple.com/ios/manage/overview/index.action )
Create a new App ID e.g. com.test.my_app
Go to Provisioning and Create a new iOS Development Provisioning Profile with the App ID from before
Go to XCode set your app up with the correct App ID and new Provisioning Profile you just made.

Edit
I just re-read your question, and it's probably my fault for not paying more attention the first time, but you can probably ignore my previous answer..
What I believe is the problem is that you're using the 5.0 beta SDK to write and submit your app. This can't be done. Apple will not accept apps written with beta software.
You must compile and submit your app with the 4.3 SDK.
A lot of those errors can't be made any more clear than they already are...
Firstly, your app needs an armv6 binary, so make sure you're not building only the current active architecture.
You need to provide an icon that is 57 x 57 in size and specify it in the info plist with the CFBundleIconFile key.
Your code signing is invalid. Ensure you are using the correct distribution certificate and that you have a valid provisioning profile.

Related

The executable was signed with invalid entitlements

This is the first time trying to test an app I created with LiveCode on an iPad.
I made sure that the IOS Provisioning Portal had the following set up as ad hoc:
certificates in Development and Distribution.
Ipad is registered
Apple ID is set up
provisioning in Development and Distribution.
When I try to get the app into Xcode the following error is displayed:
The executable was signed with invalid entitlements.
How do I get all of this into xCode so my LiveCode app can be tested in the iPad?
Probably, you used a distribution profile instead of a developer's profile.
The creation of the developer certificate and provision profiles are described step by step on Apple's website. I strongly recommend that you take your time to read these steps and to make sure that you follow each step correctly.
Apple's provision portal also has an assistant that helps you to create a developer's provision profile. You need to use this developer's provision profile instead of an ad-hoc prodile if you want to install your app through XCode on your own device(s).
You can use the devloper's profile in LiveCode's Standalone Application Settings window.
This is a ENTITLEMENTS error, not a code sign issue. Entitlements have to do with iCloud. In Xcode 4 this was done on the Summary page at the bottom. In Xcode 5 it is on a new page called capabilities at the top. It will be lit up with a FIX this Issue Flag. Simply select your Devel profile and you're good to go. It does require an AppID set-up with iCloud Checked. If you're not using iCloud simple delete whatever is in the Entitlements field in the build Settings.
Although I see the "read the doc" answers often. a.) Most of us do try to read the doc and b.) It rarely contains and useful granular detail needed to code or troubleshoot anything. Cheers
Entitlements are also used with the Game Center, Passbook, In-App Purchases and Maps. All are setup in the Target Tab called Capabilities.

iOS Provisioning Profile not installing on one particular device

I recently have distributed an app for testing, and the test team are having a problem installing the app, more specifically the provisioning profile associated with the app.
They are using an iPhone 4 (iOS 5.1.1) and are getting "Could not install the provisioning profile due to an unknown error"
I am used to seeing this when a UDID is not registered against the profile which is trying to be installed, but they are adamant that they have supplied the correct UDID. In terms of the profile, both looking at provisioning on the iOS Dev account, and opening in a text editor confirms that the UDID that has been supplied is definitely present.
My question is, are there any known issues (other than wrong UDID supplied) which could cause this to occur on a device, even if that device is authorised to install that particular provisioning profile?
Thanks
This won't answer your question because your problematic device is iOS-5.1, but it may help lots of other people:
Another possible issue since iOS7 is where did you find UDID. As Apple says:
In iOS 7, apps that are already on the store or on users’ devices that call this removed API will no longer be returned the UDID. Instead, -[UIDevice uniqueIdentifier] will return a 40-character string starting with FFFFFFFF, followed by the hex value of -[UIDevice identifierForVendor].
Consequetly, check the UDID your client/collaborator sends to you: if it begins with FFFFFFFF, thats a wrong one.
The only & unique method to get UDID under iOS7 is to plug your device to a computer, launch iTunes (or Xcode) and copy the displayed UDID.
Looks like the UDID which is generated programmatically gives a random alphanumeric code from iOS 7. So to make sure you are using the right one, connect it to iTunes and then copy the UDID.
There may be few reasons behind that because information is not enough so i can just guess -
If you're getting any boot strap error in console then delete app from device then switched OFF your device then ON and try again.
May be in your device there is already an app having same profile so your app would overwrite on previous one and new app would not be install.
Last It might be provisioning profile issue. Make it again.

Testing on a second iPhone

I have developed my first full fledged iPhone app, and tested it on my phone. I would like to have it tested by one of the contributing graphic artists on their iPhone. They live in another state so I do not have access to their device. I added their Device ID to the apple portal.
A couple of questions:
I do not see the device show in Xcode when I hit refresh. Should I be seeing it?
Which executable file(s) do I send to them?
Look at testflight. It makes distributing apps very easy. Since you have already included the designers device ID, all you have to do is:
Sign up to test flight
invite the designer and tell him to register and add his device info
go to apple developer portal - provisioning - distribution and create a new distribution profile (don't forget to add the designers device when creating the profile), download and open the certificate (which will be shown in Xcode's Window>Organizer) - make sure that the correct certificates are selected in your build settings.
make sure that iOS device is selected ( and not the simulator) now in Xcode go to Product>Archive, when the archive is shown click distribute>adhoc distribution
this will create an IPA file.
upload this to test flight and follow the instructions to select the designer from your team.
Use TestFlight. It's free, takes 5 mins to install their API, and gives step by step instructions on how to push your app to any tester over the air.
Add their device id to your developer account, Update your adhoc profile (which you are using for running your app on device) attach their device with this profile. Now again sign your build with updated profile and give this APP file and provisioning profile to others or upload it on TestFlight.

Testing my iPad app on other device

I just tested my app out on my iPad and I want to show it to a friend. He sent me his UDID and but I don't know how I can send him the app. Please help me out , thanks.
you can create a adhoc build using his UUID. but first you have to create a adHoc provisioning profile from your developer portal. and then you can send the build and provisioning profile.
so first he has to drag and drop provisioning profile to his device then thru iTunes he can sync you app.
Nnp described the process of how it usually is done.
If you'd like to do it easy way, and by easy I mean easy to you and your beta-testers (key features to me: over the air beta distribution, no more iTunes syncing, alert when new beta arrives, statistics), try HockeyKit and optionally HockeyApp.

Changing provisioning profile after replacing rejected binary?

So my first official application got rejected as it was crashing on iOS 4.0 for which my application was not even made for (I didn't even check the option for iOS 4 tested). Now after resolving the bug I need to upload my application to the store. Should I create a new APP ID and a new distribution profile or just a new distribution provisioning profile for it?
You use the same ID, the same profile. Nothing to change at all. Just fix the bug and upload again.