invalid code signing error in embed framework with error ITMS 90046

Hi,


We have a main project which use a custom embed framework. The framework has a bundle identifier com.example.test. The main project has different one. When we make ipa for adhoc, it works fine and can install on the iphones as well. But when we upload the ipa with application loader for Testflight it gives the below error -



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


According to this error, we use the same bundle identifier in framework's info.plist and in build settings. It resolved the error but another issue is raised when we download/install the app on iPhones. The app is not able to installed on iPhones. It shows the below error -


App Installation fail -

This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique


It shows the two errors conflict each other.


We gracefully accept your suggestions and idea. Thank you.

Hey,


I also received the same problem. Can anybody please save our lives. To maintain my release-cycle I temporary merged my framework codes to main app. It is now ok for testflight. But, I want to put those codes inside frameworks. And add those modules from the main app-module. Please help us.

I am getting similar error. I don't have access to source code to merge the 3rd party framework. Any suggestion how to overcome this?

invalid code signing error in embed framework with error ITMS 90046
 
 
Q