iPhone Application Loader Troubleshooting - iphone

I'm trying to upload the next version of my iPhone application through application loader, but I receive this error...
Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate.
I'm not exactly sure if this is what is wrong, but I took a screenshot of Xcode to show you guys...
I've submitted my application via Application loader before, and I think I had the same problem, but I can't remember what I did...

Starting with Xcode 4, you can use it to submit apps to the App Store. See this
link for more information on how to do so.

Open the Organizer in Xcode and have a loot at your provisioning profiles. How's their status? Are they marked with "!"?

Related

Application not running in apple watch simulator due to bundle identifier issue

I'm building an apple watch application for which i created a AppGroup and also setting the provisioning profile and the certificate.
Now the issue is while building/running the "watchkit app" xcode is throwing an error saying,
warning: Capabilities that require entitlements from “appname WatchKit Extension/appname WatchKit Extension.entitlements" may not function in the Simulator because the provisioning profile specified in your build settings (“WatchKitProfile”) has an AppID of “com.id.watchApp” which does not match your bundle identifier “com.id.watchApp.watchkitextension”.
and nothing is showing in the applewatch simulator.But application is working fine in iPhone simulator.
Even the applewatch methods are not calling WKInterfaceController.openParentApplication
One more doubt, I'm using the appgroup which already used by other members.Will this create any problem or is this the issue for this warning.
Can anyone please help me on this.
When you create an App ID, you need to regenerate your provisioning profiles because they will not have the newly created App ID listed. Xcode can do this for you automatically as a "Fix Issue" prompt.
Ensure once you have created your App ID, you add it both the main app and the watch kit app extension via the capabilities tab and click on Fix Issues until it is all ok.

No unexpired provisioning profiles found that contain any of the keychain's signing certificates

I've asked a question related to distribution profile yesterday because it was invalid in Xcode Organizer. That problem has been solved by deleting my certificates and redownloading new certificate.
Now, I have a different problem with submit my app to App store.
I'm using Xcode4.3.2.
I think I have seen all kinds of homepage or similar question with this " No unexpired provisioning profiles found that contain any of the keychain's signing certificates" error, but still I cannot find out how to solve this....
My both developtment provisioning profile and distribution provisioning profile status are valid in xcode organizer, so I select in Xcode Product -> Archive, then I get above error.
My Build Setting's Code Singning is like this;
Code Sining Identify:Mutiple values
Debug:Dont Code Sing
Any SDK:iPhone Developer iPhone Developer(for Application identifier 'myAppname')
Release:iPhone Distribution iPhone Distribution(for Application identifier 'myAppname')
Any SDK:iPhone Distribution iPhone Distribution(for Application identifier 'myAppname')
Any iOS SDK:iPhone Distribution iPhone Distribution(for Application identifier 'myAppname')
If I change the Release Any iOS SDK part to iPhone Developer form iPhone distribution, then build succeeds, but another error occurs..."No identities are available for signing" similar to this question
And even if I click "Download Identities", it doesn't work..
Does anyone know how to solve this problem...?
I would highly appreciate if you could tell me what to do.
I'm sorry for my bad English and illegible writings..
Thank you in advance.

iPhone and App Certificates and APPID''s

So I have a few questions here.
I started doing App development a while ago and am starting to submit Applications. And my question site mostly around the APPId's. Reason I am asking is because I am getting signing error's, and I think this is why.
com.Company1.App1
com.Company2.App2
or
com.MyCompany.App1
com.MyCompany.App2
I am using the format of com.MyCompany.App1 and com.MyCompany.App2, and I have recently created the APP ID's and provisioning profiles, have them installed, have them selected in Build Settings for Distribution. I have restarted XCode done a Clean on the Apps before Building them. But it keeps giving me the error and therefore I can't upload to the App Store.
Also, I assume you just create one Certificate for all your apps, using the Company Name you have in your App Developer Profile online...correct?
UPDATE: Here is the specific error message. Also it's XCode 4 and when I goto Project->AppName->Build Settings, the correct Distribution profile is selected under Distribution.
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
Go to Target->yourapp->Get Info->Build in xcode and selected appropriate profile in code signing identity.
Let me know if you have any question.

Errors while adding binary to App Store

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.

iPhone app code-signing error - "...the signature was invalid..."

I am trying to upload my first iOS app to iTunes Connect, but I am unable to do this because every time I try to upload it, I receive the following error from Application Loader:
The binary you uploaded was invalid.
The signature was invalid, or it was
not signed with an Apple submission
certificate
I have followed the instructions on the Apple website to the best of my ability. I have noticed that the .mobileprovision file that should be in my built .app file is missing - does anyone know what would cause this particular part of the problem to happen? I suspect it could be the root cause.
Moreover, does anyone have any other suggestions as to how I might correct this issue?
on the agent account in developer.apple.com
You must create a distribution certificate
You must also create a Distribution Provisioning Profile.
Download both of these and drag them onto xcode.
In the target info for your project you need to go to the code signing section and make sure you have selected your distribution profile.
Another thing you may need to do is create an entitlements file, declare this under 'code signing entitlements' as described on the apple page here
http://developer.apple.com/iphone/manage/distribution/index.action