Application failed codesign verification - objective-c

"Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)”
I get this error when trying to upload my app through the Application Loader.
Any ideas whats wrong and how I can sort it?
Adam

You can check your configuration in this iPhone development forum topic

I've seen this error pop-up due to XCode 4.x incorrectly handling schemes whose names contain spaces

Related

"Invalid Client" with Auth0 and Sign In With Apple

I've implemented Sign in With Apple with Auth0 on iOS with react-native-auth0 but I am getting the following error when I attempt to sign in:
"Invalid Client"
I can't seem to figure out what might be misconfigured etc. Has anyone else run into this?
Using react-native-auth0#2.5.0
Ensure that the correct configuration elements are in place, both in the Auth0 Management Dashboard and in the Apple Developer Settings Console. Common configuration problems include:
Using the wrong identifier: Remember that Apple App IDs (also known
as App Bundle Identifiers) need to be configured in Auth0's advanced
application settings. Service IDs, which are used to configure web
apps, need to be configured in connection settings. Switching these
identifiers will result in failures.
More info here: https://auth0.com/docs/connections/apple-siwa/troubleshooting

Error with 'com.apple.developr.aps-environment' when validating mac application on xcode

In an application I made for Mac, when I ran the process for validating the archive, it came up with the error:
The archived application has entitlements that require Mac App Store distribution.
The invalid entitlements were:
com.apple.developer.aps-environment.
I looked at this link: Enabling Push Notifications and the entitlement, I think, is in relation to the push notifications.
I tried adding the
com.apple.developer.aps-environment
to my entitlements file as a boolean set to YES, but the error still came up.
How can I fix this?
It looks like you're maybe trying to sign the app for distribution outside the App Store, and Xcode is telling you it's not going to let you do that because you're using App Store only features.
I'm no expert in signing stuff, but to get my last app to submit I signed it with the "3rd Party Mac Developer Application:..." identity, not my "Developer ID:" identity. The latter is only for when you're distributing apps directly to customers from your own website.
It's not a boolean. It's a string that's either 'development' or 'production'. It's also only for apple store only.

YouTube API v3 sample project raising GTLJSONRPCErrorDomain -32602 unauthorized error

I have just downloaded the Google API objective C client. I opened the YouTube example project in Xcode on my Mac. It builds and runs without errors.
I registered a project with Google APIs, and created a Client ID for installed applications, choosing iOS and entering the sample code's Bundle ID, com.example.YouTubeSample. I left the App Store ID blank and deep linking disabled.
I entered the resulting Client ID and Client secrets into the sample app. I signed myself into Google through the app's window too, and it tells me I am signed in.
I then uploaded a 85kb .mov file. When it finished, it gave me the error:
Error Domain=com.google.GTLJSONRPCErrorDomain Code=-32602
"The operation couldn’t be completed. (Unauthorized)" UserInfo=0x...
{error=Unauthorized, NSLocalizedFailureReason=(Unauthorized),
GTLStructuredError=GTLErrorObject 0x...:
{message:"Unauthorized" data:[1] code:-32602}}
(Since the sample app is for Mac OS, not iOS, I also tried creating a second Client ID in Google APIs, for an installed application of type "other". I entered this new ID and secret into the sample app, and when I uploaded the .mov file I got the same error.)
Over in the API console, I see an error report showing 5 Error code 400s and 2 error code 500s.
What have I done wrong?
thanks!
OK, the reason for this error was very simple. My google account did not have a YouTube channel associated with it.
However, with that fixed I am now getting a different error message (code -32602, "bad request"). I will post a new question for that.

Can not fix error : No identities are available for signing

I got this error message when distributed app to App Store.
I tried to solve this problem follow tutorials step by step, but I still got same message.
Do you have any idea for solving it ?
Regards, Thanks
Well, you would need a provisioning profile. And you need to configure Xcode's "Code Signing" in the build settings with the identity created.
I suggest you read Apple's guidelines for App Store submission clearly by creating an Apple account. Do some more googling for answers.

certificate status issued

Hye,
I'm not sure what is the problem is, but whenever I want to submit my app, this will occur,
afterthat i've tried to revoke my certificate and quest it back, the status were "issued" . How can i solve this problem ? tq.
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
Are you sure that you are using the distribution profile to sign your app for submission, and not the developer profile?
It's a common cause of this failure.
It could also be that you are using Xcode 4.5 or iOS6 (which are pre-release) and that is preventing submission.
In general - I find the Apple Technical Note on Code Signing Issues to be a great reference for solving such problems.