Hi,
We develop a sdk and we want to move to xcode 9 for ios 10 and 11 support. When we compile the sdk on xcode 9 and add the binary (".a" file) to a clean project on xcode 7 (using link binary with libraries) and build it as archive there is a linker failure:
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)
We use the flag Enable Bitcode = Yes in our sdk build settings, and the failure happens when the app on xcode 7 also has this flag turned on. We don't know if our users change this flag to "No" so this is not a solution.
If we compile both the sdk and the app using it on xcode 7 everything works.
If we compile both the sdk and the app using it on xcode 9 everything works.
The problem is when we compile the sdk on xcode 9 but our users build their app on xcode 7.
Is there a solution for this problem without turning off the bitcode flag in the user app? How developers using xcode 7 can add external libraries compiled on xcode 9 with bitcode enabled?
Thanks.