终端写入
xcodebuild -create-xcframework -help
xcodebuild -create-xcframework -framework <path> [-framework <path>...] -output <path>
1 以ijkPlayer 为例
xcodebuild -create-xcframework -framework ~/Library/Developer/Xcode/DerivedData/IJKMediaDemo-asdgkwwgdmmhxogewsicovbrokmc/Build/Products/Debug-iphonesimulator/IJKMediaFramework.framework -framework ~/Library/Developer/Xcode/DerivedData/IJKMediaDemo-asdgkwwgdmmhxogewsicovbrokmc/Build/Products/Debug-iphoneos/IJKMediaFramework.framework -output ~/Documents/IJKMediaFramework.xcframework
网友评论