Skip to content

Commit

Permalink
Merge branch 'master' into releases/1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kober32 committed Feb 18, 2022
2 parents e7ea8be + ef30605 commit 216cbb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -Xfrontend -no-serialize-debugging-options";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand Down Expand Up @@ -614,6 +615,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -Xfrontend -no-serialize-debugging-options";
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
Expand Down
8 changes: 6 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ function BUILD_LIB
-archivePath "${ios_archive}" \
-configuration "Release" \
-sdk iphoneos \
SKIP_INSTALL=NO
SKIP_INSTALL=NO \
SWIFT_SERIALIZE_DEBUGGING_OPTIONS=NO \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES

# build for ios simulator
xcodebuild archive \
Expand All @@ -84,7 +86,9 @@ function BUILD_LIB
-archivePath "${sim_archive}" \
-configuration "Release" \
-sdk iphonesimulator \
SKIP_INSTALL=NO
SKIP_INSTALL=NO \
SWIFT_SERIALIZE_DEBUGGING_OPTIONS=NO \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES

# create xcframwork
xcodebuild -create-xcframework \
Expand Down

0 comments on commit 216cbb1

Please sign in to comment.