Skip to content

Commit

Permalink
chore: reduce release build logging (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegocstn authored Feb 24, 2022
1 parent 80300f4 commit 48859be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-support/build-xcframeworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ xcodebuild archive -workspace AWSAppSyncClient.xcworkspace \
-scheme $framework \
-destination "generic/platform=iOS" \
-archivePath $ios_device_archive_path \
-quiet \
SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES


# archive for simulator
xcodebuild archive -workspace AWSAppSyncClient.xcworkspace \
-scheme $framework \
-destination "generic/platform=iOS Simulator" \
-archivePath $ios_simulator_archive_path \
-quiet \
SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES

# create xcframework
Expand All @@ -25,7 +28,7 @@ xcodebuild -create-xcframework \
-debug-symbols "$ios_device_archive_path.xcarchive/dSYMs/$framework.framework.dSYM" \
-framework "$ios_simulator_archive_path.xcarchive/Products/Library/Frameworks/$framework.framework" \
-debug-symbols "$ios_simulator_archive_path.xcarchive/dSYMs/$framework.framework.dSYM" \
-output "$xcframework_path"
-output "$xcframework_path"

cd build && zip -q -r AWSAppSync.xcframework.zip AWSAppSync.xcframework

0 comments on commit 48859be

Please sign in to comment.