Post

Replies

Boosts

Views

Activity

Both ios-arm64-simulator and ios-x86_64-simulator represent two equivalent library definitions
Seeing these when trying to create an xcframework for Apple Silicon that supports Mac Catalyst and the iOS Simulator: Both ios-arm64-simulator and ios-x86_64-simulator represent two equivalent library definitions. Both ios-arm64-maccatalyst and ios-x86_64-maccatalyst represent two equivalent library definitions. Here's the command: xcodebuild -create-xcframework \ 		-framework ./xcframework-build/catalyst-x86_64/opencv2.framework \ 		-framework ./xcframework-build/catalyst-arm64/opencv2.framework \ 		-framework ./xcframework-build/osx-x86_64/opencv2.framework \ 		-framework ./xcframework-build/osx-arm64/opencv2.framework \ 		-framework ./xcframework-build/iphonesimulator-arm64/opencv2.framework \ 		-framework ./xcframework-build/iphonesimulator-x86_64/opencv2.framework \ 		-framework ./xcframework-build/iphoneos-arm64/opencv2.framework \ 		-output ./xcframework-build/opencv2.xcframework From my understanding fat binaries for these frameworks isn't valid, but maybe it is in this case? These are static frameworks if that matters at all. Using Xcode 12.2 RC.
13
3
29k
Nov ’20