Our iOS apps use to embed and sign third party frameworks built for various architectures (i386 x86_64 armv7 arm64). When building an archive, a script phase strips unwanted architectures (simulator ones) from the build.
Everything was working fine until XCode 12.3 (updated this morning). Now, what seems to be a "Target integrity" check always reports the following error for these embedded frameworks (example with GoogleCast framework):
Finally, other frameworks with the same architectures but that are not embedded don't trigger this error.
I've tried to changes some build settings regarding the architectures but with no success.
Could you please tell me how to embed these frameworks, keeping in mind they are third-party frameworks?
Cheers,
Aurélien
Everything was working fine until XCode 12.3 (updated this morning). Now, what seems to be a "Target integrity" check always reports the following error for these embedded frameworks (example with GoogleCast framework):
Also, as these frameworks are synced from a server at build time using a script phase, if I delete the frameworks before compiling, there are no errors and the app is built properly. But if the frameworks are already synced, the compilation systematically fails right away.error: Building for iOS, but the linked and embedded framework 'GoogleCast.framework' was built for iOS + iOS Simulator.
Finally, other frameworks with the same architectures but that are not embedded don't trigger this error.
I've tried to changes some build settings regarding the architectures but with no success.
Could you please tell me how to embed these frameworks, keeping in mind they are third-party frameworks?
Cheers,
Aurélien