Mac App Store: "Invalid Code Signing Entitlements"

App built from Unity, codesigned in the terminal,

Because I need to connect to my server for the online leaderboards, I add the “com.apple.security.network.client ” to my entitlements.plist, before codesigning in the terminal.

But Application Loader tells me “Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile: ‘com.apple.application-identifier’ in ‘MyAppName.app/Contents/MacOS/MyAppName’”

I tried updating my OS 10.7.5, updating Xcode to 4.3.5, and redoing the process, still no luck.
I’ve released Mac Apps before, but that was before all the new sandboxing requirements.

I would be very grateful for any help, I’ve been building and rebuilding, signing, and resigning for about a week now, trying everything on google,etc. And so far, no success.

Thanks,
Will

I faced the same problem. Maybe, someone solved it? Please, share :slight_smile:

Did you fill in the Entitlement Key field in ITunes Connect ?
Maybe that has to done too?