CFBundleIdentfier Collision uploading app with 3rd party xcframework

using an xcframework supplied by 3rd party.

I can build/run/install the app and use the framework without issue when running/installing from Xcode. However if I create an archive and then attempt to upload it to TestFlight I get two errors, the first is:

CFBundelIdentifer Collision. There is more than one bundle with the CFBundelIdentifer value bundleidofframework under the application

And the second is

Invalid Bundle. The bundle at ...myextension.appex contains disallowed file Frameworks.

(I'm using the framework within both the app and an extension)

Within the embed frameworks section of Xcode, the tickbox code sign on copy is ticked (that's the default value and if its unticked then the app doesn't run when installed directly via Xcode).

  • P.S. I have another app where I am using a .framework within the app and also within the extension, why are there no problems when using a .framework in my other app, but trying to use a .xcframework in a similar manner does not work in this app?

Add a Comment