You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
606 B

#!/bin/sh
xcodebuild archive -scheme zt -sdk macosx -archivePath macosx
xcodebuild archive -scheme zt -sdk iphoneos -archivePath iphoneos
xcodebuild archive -scheme zt -sdk iphonesimulator -archivePath iphonesimulator
xcodebuild -create-xcframework \
-framework macosx.xcarchive/Products/Library/Frameworks/zt.framework \
-framework iphoneos.xcarchive/Products/Library/Frameworks/zt.framework \
-framework iphonesimulator.xcarchive/Products/Library/Frameworks/zt.framework \
-output zt.xcframework
rm -rf macosx.xcarchive
rm -rf iphoneos.xcarchive
rm -rf iphonesimulator.xcarchive