What do I need to do in order to build a Release version of my App for Apple TV with Bitcode fully enabled? I can build and deploy my game to the Apple TV device fine in Debug but when I try to build in Release I get the following error that's related to a static library that I also build and try to link in:
ld: bitcode bundle could not be generated because '/Development/DSCore/build/Release-appletvos/libDSCore_AppleTV.a(Matrix_Struct.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64
I've set ENABLE_BITCODE on the static library and on my project that's linking to it. I've read somewhere that I might need to use
-fembed-bitcode
somewhere but I don't know where.