I need to compile this repo to framework(not static lib)
https://github.com/BradLarson/GPUImage
what I’ve accomplished:
obtain this repo
run the command:
xcodebuild archive
-project GPUImage.xcodeproj
-scheme GPUImage
-destination "generic/platform=iOS"
-archivePath "archives/GPUImage"
xcodebuild archive
-project GPUImage.xcodeproj
-scheme GPUImage
-destination "generic/platform=iOS Simulator"
-archivePath "archivessimulator/GPUImage"
xcodebuild -create-xcframework
-archive archives/GPUImage.xcarchive -framework GPUImage.framework
-archive archivessimulator/GPUImage.xcarchive -framework GPUImage.framework
-output xcframeworks/GPUImage.xcframework
however there’s error
cryptexDiskImage' is an unknown content material sort
com.apple.platform.xros' is an unknown platform identifier