Post

Replies

Boosts

Views

Activity

Bitcode Support for Xcframework
Hi All,I am creating an xcframework and I was able to create one but now I want to add bitcode support to my custom created xcframework however I am unable to do so. I have followed the following steps for making it bitcode enabled:Select the framework project and switch to “Build Settings” tabUnder “Build Options”, switch Enable Bitcode to YESUnder “Apple LLVM 9.0 - Custom Compiler Flags”, “Other C Flags”, add -fembed-bitcode to both Debug and ReleaseClick the “+” button and select “Add User-Defined Setting”Enter BITCODE_GENERATION_MODE as the valueSet BITCODE_GENERATION_MODE to bitcodeDo the same to Pods project as follows, if it existsThe following error I am getting while creating XCframework with bitcode enabled. Can anyone please answer and help me on this.The following build commands failed: Ld /tmp/iphoneos/Build/Intermediates.noindex/ArchiveIntermediates/frameworkName/IntermediateBuildFilesPath/frameworkName.build/Release-iphoneos/frameworkName.build/Objects-normal/armv7/Binary/frameworkName normal armv7(1 failure)
4
0
3.0k
Jan ’20
Could not find module for target 'x86_64-apple-ios-simulator'; found: arm64, armv7-apple-ios, arm64-apple-ios, arm, armv7
I have build a custom framework and everything was working fine until the update of XCode 11. The new XCode 11 released and we now I am unable to run my Custom Framework into a project in Simulator. I always get this errorCould not find module 'CustomFrameworkName' for target 'x86_64-apple-ios-simulator'; found: arm64, armv7-apple-ios, arm64-apple-ios, arm, armv7Can someone please let me know how to fix this error. I have already tried adding the framework and tried running the same in a different project however I am not able to fix this. Any help would be appreciated. Thanks
12
3
92k
Sep ’19