Hi, I'm trying to integrate with external framework (xcframework bundle)
Code works, but when I'm trying to prepare xcframework from my framework I get such mistake:
//this command was successfull
xcodebuild archive
-scheme MyFramework
-destination="iOS"
-archivePath ./build/ios-arm64.xcarchive
-sdk iphoneos
SKIP_INSTALL=NO
BUILD_LIBRARIES_FOR_DISTRIBUTION=YES
//this failed
xcodebuild archive
-scheme MyFramework
-destination="iOS Simulator"
-archivePath ./build/ios-simulator.xcarchive
-sdk iphonesimulator
SKIP_INSTALL=NO
BUILD_LIBRARIES_FOR_DISTRIBUTION=YES
Undefined symbols for architecture arm64: "OBJC_CLASS$_LocalXCFramework", referenced from: objc-class-ref in IovationService.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks in advance