Sam
12/22/2021, 3:28 PMembedAndSignAppleFrameworkForXcode
command from the build phases and replaced it with one that would assemble the XCFramework in debug or release mode. Then I hit a wall while trying to add the appropriate linker arguments. After searching around for other examples of how to do this, I finally found the RSS reader sample and noticed that it had a comment to uncomment the line defining the iOS ARM simulator target. So I reverted most of the work that I did, defined the ARM simulator target and everything was good. The docs should just remove the fat framework section and replace it with the instructions to building the framework through Xcode using the embedAndSignAppleFrameworkForXcode
task and then in the XCFramework section it should mention that this is only necessary if the framework is to be distributed to people that won’t be building the library from source. It would have saved me several hours of trial and error.