diff --git a/.gitignore b/.gitignore index 0d02a4c..2240046 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ xcuserdata/ DerivedData/ .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +WhoopDIKit.sha256 xcframeworks/ diff --git a/create_xcframework.sh b/create_xcframework.sh index e1d30cf..cf30695 100755 --- a/create_xcframework.sh +++ b/create_xcframework.sh @@ -1,3 +1,5 @@ +set -e + xcodebuild archive -project WhoopDIKit/WhoopDIKit.xcodeproj -scheme WhoopDIKit -destination "generic/platform=iOS" -archivePath "archives/WhoopDIKit-ios.xcarchive" xcodebuild archive -project WhoopDIKit/WhoopDIKit.xcodeproj -scheme WhoopDIKit -destination "generic/platform=iOS Simulator" -archivePath "archives/WhoopDIKit-iosSimulator.xcarchive"