Xcode sometimes doesn't find my xcframework for incremental builds.
ld: framework not found [framework] where [framework] is the name of my xcframework.I diffed the link commands between and incremental and clean build, and there was no difference. This would seem to be an Xcode bug. I'm using Xcode 11.4.1.
There are some issues with XCFrameworks that could cause that particular error, maybe you have this .xcframework in more than one target? Then you are in situation when Xcode only do one extraction of .framework from .xcframewok and report missing error if another target start building. You can look at my write up of issue that I did face in the past.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With