Apple’s submission process…I am hitting so many speed bumps with this.
I am at the Application Loader right now and need to choose my binary. My app file can’t be selected for some reason and I read that you need to zip the file. So, I tried ziping it and then I was able to select it. The problem is that, when I upload it I get an error saying:
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate.
What am I doing wrong? Am I not supposed to zip the app under the build folder? Am I supposed to have something else zipped with it (something that is the signature)?
You are correct! Cool! But, when I change it to iPhone Distribution it says (no profiles currently match)
And then, if I ignore it and build, I get an error that says Code Sign error: The identity ‘iPhone Distribution’ doesn’t match any valid certificate/private key pair in the default keychain
That makes sense. Where do I find a certificate/private key?
When I change my Code Signing Identity to iPhone Distribution under that little grey Automatic Profile Selector section, it doesn’t work. It just gets a (no profiles currently match) next to it.
I tried selecting the one with my name on it (and a bunch of letters and numbers in parenthesis) under the Team Provisioning Profile: * (For Application Identifiers ‘*’) section, but I get the same error as before when I try to submit it.
I looked at my Keychain Access application thinking maybe something important was in there and the only relevant things I saw was an Apple World Developer Relations Certificate Authority
I selected the actual distribution certificate that should appear further down than the Automatic Profile Selector.
It should list each distribution certificate in grey. Select the black line underneath the correct certificate that says “iPhone Distribution: Your Name”.
It can be a little difficult - I have 8 apps in the store and I still make mistakes when doing this
You did create a provisioning profile for distribution, right?
The iOS Provisioning Portal has a section called Distribution that outlines all the steps.
Untick that box in xcode… I’ve forgotten which box it is, but Smag will know. It’s in the plist I think… or did you have to tick it? well regardless that will get you rejected if you don’t tick/untick it. Can you remember which one it is smag?. I don’t want to have to boot up the mac at the moment!
So, I guess I didn’t have the Distribution certificate I needed. Now I got one. However, there are still a few problems.
I get binary errors from Apple saying
I tried complying with the instructions but something is wrong.
Here’s a list of questions that could be mucho helpful if answered.
What Architectures should I build with?
Currently, I have it at Standard (armv6 amrv7)
In that drop down tab above “Overview” I have these items checked: Device. Active Configuration → Release. Active Target → RidOrDie. Active Executable → RideOrDie - greekdude247. Active Architecture → armv6.
Is anything wrong with this?
What should my Base SDK be?
Mine is IOS Device 3.2
Build Active Architectures Only. What does that mean?
Mine’s selected.
Valid Architectures. They are set to armv6 and amrv7. Correct, yes?
Code Signing Identity. It’s set to Any IOS Device. I have mine set to iPone Distribution under the Automatic Profile Selector (Recommended). There’s another one under a grey category labeled ‘my name’ (for Application Identifiers ‘*’), that says iPone Distribution: ‘my name’ (current Automatic selection). That’s the same as the automatic one, right?
What should my IOS Development Target be?
Mine is at IOS 4.1
I’m so sorry for this list of questions, but hopefully this will help any other first time applicants as well.
Like, just set EVERYthing to armv6? 'Cause there’s some stuff that if I try to change there is no sole armv6 selections. For example the Arcitectures catagory. There is only Standard (armv6 armv7) and Optimized (armv7)
So I tried changing, in the Unity player settings, the iPhone Sdk to 3.0, thinking that would settle what apple wanted and maybe fix your architecture suggestion. Before is was 3.2. But in Xcode it says “error: There is no SDK with the name or path ‘iphoneos3.0’”
In Unity Player settings set the SDK Version to 4.2 (4.1 if you don’t have the beta). Target iOS Version to 3.0. Target Platform to arm6. Api Compatibility Level to .NET 2.0 Subset.
3.2 was an iPad only version. There were some issues with that a while ago, but you’d have to do a search to find out about that. Are you running Unity iPhone 1.7?
You can change the Target Platform in the Player settings in Unity 3. I cannot remember if you can in 1.7.