Recently I'm converting my project "A" to support SPM, and use ''swift package generate-xcodeproj" to generate the project. And I have another framework "B" that use git submodule referent to project "A", when build iOS target for "B", I got some error:
ld: bitcode bundle could not be generated because '/Users/apus/Library/Developer/Xcode/DerivedData/MetalImageKit-edzzyimaivodswajyigmwgvwokae/Build/Products/Debug-iphoneos/CommonKit.framework/CommonKit' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/apus/Library/Developer/Xcode/DerivedData/MetalImageKit-edzzyimaivodswajyigmwgvwokae/Build/Products/Debug-iphoneos/CommonKit.framework/CommonKit' for architecture arm64
How to resolve this?