1) Why? Where in Apple's documentation does it say to do this?
Here's one place, but this is also featured in non-Apple-created Youtube videos:
http://developer.apple.com/mac/libr...s.html#//apple_ref/doc/uid/TP40005929-CH4-SW2
Keychain Access is used to create a CSR but that link has nothing to do with code signing for iOS applications.
Read the documentation in the provisioning portal. You need to be a paid developer to access it.
Code Sign error: a valid provisioning profile matching the application's Identifier '' could not be found
... the application's Identifier '' could not be found ...
Here's one place, but this is also featured in non-Apple-created Youtube videos:
http://developer.apple.com/mac/libr...s.html#//apple_ref/doc/uid/TP40005929-CH4-SW2
I'm pretty sure this is telling you the application identifier is empty, since there's nothing between the quotes.
Code Sign error: a valid provisioning profile matching the application's Identifier 'com.companyname.Appname' could not be found
The default value will only be accepted if you put the same value (or at least a partial) that matches that on the developer portal when you created your certificates. Of course you should be using the correct value, not the default. I would not be surprised if Apple rejected an app with a non-realistic identifier value.
Code Sign error: The identity '...' doesn't match any valid certificate/private key pair in the default keychain
Did you get a provisioning profile with an appropriate appID, and drop it on Xcode?
Code signing is one of Apple's secret IQ qualifying tests for iOS developers.
No, because that seems to require that I have a device, which I don't have.
Then why are you trying to build for release: the simulator performance is very different to the device.
It is not unknown for code that runs in the simulator to fail on a real iPhone entirely.
Creating a distribution provisioning profile does not require any device ids.No, because that seems to require that I have a device, which I don't have.
Creating a distribution provisioning profile does not require any device ids.
pinsrw said:Creating a distribution provisioning profile does not require any device ids.
It does here:
http://developer.apple.com/iphone/manage/provisioningprofiles/create.action?type=1
No, I wasn't.So you were wrong then.
This is what you said:
Creating a distribution provisioning profile does not require any device ids.
Do you even understand the difference between a development provisioning profile and a distribution one?This is what you said:
Creating a distribution provisioning profile does not require any device ids.
I agree, it is an IQ test, wherein the intelligent thing would be to not code for iOS in the first place. And it's also a reverse IQ test, in which Apple's being tested for its intelligence in dealing with the coders on which it relies, but is failing.