wrobins / cordova-plugin-msal

Use the newest Microsoft MSAL library in your Cordova-based project!
Apache License 2.0
23 stars 63 forks source link

Invalid Code Signing Entitlements #95

Open ghost opened 2 years ago

ghost commented 2 years ago

Hi and thanks for this great plugin!

For me it is working very well when I built my applications for Android and IOS. Unfortunately I get an error when I am trying to upload an App to the AppStore with this built in plugin:

"Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '.' for key 'application-identifier' in 'Payload/MyApp.app/Frameworks/MSAL.framework/MSAL' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier.";

I checked my bundle-identifier in Info.plist and it is the same as the application-identifier and also the used TEAMID matches the pattern the error message is not happy about. I then checked what might be wrong in the Frameworks/MSAL.framework/ folder and just found that the bundle-identifier in the Info.plist there says "com.cocoapods.MSAL", but I am not sure if this is even relevant.

So I am a little confused about this error and only see it on validating before uploading to AppStoreConnect/AppStore.

Let me know if I can provide more information!

Best regards Daniel

peitschie commented 1 year ago

Just noting, I have been able to successfully validate and upload an app to the App Store with this plugin.

What version of cordova-ios and which version of the plugin are you using?

I'm running directly from github master, with cordova-ios version 6.2.0, if that's any help.