i have successfully created provisioning and distribution certificates and ready to upload my app. but, while posting i can't access to select the distribution profile?

- 570
- 8
- 28
-
did you changed your distribution profile both in target as well as in project settings, and make all the profiles to the distribution. – Saad May 07 '12 at 12:34
-
Did you drag the provisioning profile to xcode that you created – Prabha May 07 '12 at 12:34
-
@TheSaad yes i changed that in the project settings and for sorry i can't understand changing your distribution profile both in target, u mean bundle settings? – Neeraj Neeru May 07 '12 at 12:41
-
@iosDev yes i double clicked the profiles and i think it automatically added to my project – Neeraj Neeru May 07 '12 at 12:42
-
nope, http://yannickloriot.com/wp-content/uploads/2012/03/Link-CoreData-Framework-To-The-Project.png – Saad May 07 '12 at 12:45
-
see image here. it has two parts, both project and target has to be configured with profiles. – Saad May 07 '12 at 12:46
-
and next sett all the parameters to the new file carefully as this image shows, not only above or below ones but all lines – Saad May 07 '12 at 12:49
-
http://timroadley.com/wp-content/uploads/2012/04/SetCodeSign.png – Saad May 07 '12 at 12:49
-
and do you generated the distribution profile for appstore? or it was adhoc there when u made the profile – Saad May 07 '12 at 12:50
-
@NeerajNeeru: Make sure you have selected "Release" to be run under "Archive" under Manage Schemes. – Parth Bhatt May 07 '12 at 12:56
-
@TheSaad yes i created the distribution profile for appstore and double click to add this into my project – Neeraj Neeru May 07 '12 at 12:56
-
1@NeerajNeeru: Make sure you have selected "Release" to be run under "Archive" under Manage Schemes before you build for archiving and archive the app. – Parth Bhatt May 07 '12 at 12:56
-
that was i m asking you make sure you have set all the lines with profile – Saad May 07 '12 at 12:57
-
@ParthBhatt i done that already , but the error remains, – Neeraj Neeru May 07 '12 at 13:01
-
@NeerajNeeru: Go to your account and check if your profile is valid and re-download it. Also you need to check if the App ID you created is fine. – Parth Bhatt May 07 '12 at 13:06
-
1@NeerajNeeru I think in youe keychain there are two same distribution profile. So check it and delete both and install again. – ManthanDalal May 07 '12 at 13:08
-
@NeerajNeeru: I have edited my answer and added one link. Please check it. – Parth Bhatt May 07 '12 at 13:08
-
@JohnWhite thankyou, i have deleted the copy. now it works fine – Neeraj Neeru May 08 '12 at 04:08
-
@TheSaad thankyou for your help. now problem solved . i have uploaded my app through application loader – Neeraj Neeru May 08 '12 at 04:09
2 Answers
@NeerajNeeru:
Firstly, Make sure that you download a new copy of distribution provisioning profile for App Store from the account you want to submit the application with and install the same profile by double clicking it. Once you do that select it under your Project Settings
and Target Settings
under the Release
section.
Secondly, Make sure you have selected Release
to be run under Archive
under Manage Schemes
before you build for archiving and archive the app.
Once you select Release
under Archive
in Manage Schemes
, make sure you do Product -> Clean
your application and then do Product -> Build For Archiving
and then Product -> Archive
.
EDIT:
Refer to this: Xcode 4.3: Codesign operation failed (Check that the identity you selected is valid)
Let me know if you need more help
Hope this helps.

- 1
- 1

- 19,381
- 28
- 133
- 216
-
thankyou, for your feed back. i found the problem .. its because of not cleaning and Build For Archiving the project and also in keychain there are two same distribution profile, so i deleted one and did the procedure one by one. now i uploaded my app through application loader. – Neeraj Neeru May 08 '12 at 04:08
i think you have not opened the downloaded profile, download the profile from developer.apple.com and doble click it. it will be able to select now, and re assign profile in your project and target files even they have already selected.

- 8,857
- 2
- 41
- 51