From a7bb20ada563d63dd56ea72354da1af6557e0fea Mon Sep 17 00:00:00 2001 From: Ryan Gartin Date: Sat, 19 Sep 2020 10:35:33 -0400 Subject: [PATCH] bitcode for releases; open proper folder --- Icomoon.xcodeproj/project.pbxproj | 4 ++-- run.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Icomoon.xcodeproj/project.pbxproj b/Icomoon.xcodeproj/project.pbxproj index 00397df..064185c 100644 --- a/Icomoon.xcodeproj/project.pbxproj +++ b/Icomoon.xcodeproj/project.pbxproj @@ -278,7 +278,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_BITCODE = NO; + ENABLE_BITCODE = YES; INFOPLIST_FILE = Icomoon/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; @@ -303,7 +303,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_BITCODE = NO; + ENABLE_BITCODE = YES; INFOPLIST_FILE = Icomoon/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; diff --git a/run.sh b/run.sh index ae34ef9..98d4710 100755 --- a/run.sh +++ b/run.sh @@ -18,6 +18,7 @@ FRAMEWORK_NAME="Icomoon" SIMULATOR_ARCHIVE="$BUILD_DIR/$FRAMEWORK_NAME.framework-iphoneos.xcarchive" DEVICE_ARCHIVE="$BUILD_DIR/$FRAMEWORK_NAME.framework-iphonesimulator.xcarchive" CATALYST_ARCHIVE="$BUILD_DIR/$FRAMEWORK_NAME.framework-catalyst.xcarchive" +MAIN_DIR="$(pwd)" RESULT_FRAMEWORK="$(pwd)/${FRAMEWORK_NAME}.xcframework" @@ -81,4 +82,4 @@ xcodebuild archive -workspace "$FRAMEWORK_NAME.xcworkspace" -scheme "$FRAMEWORK_ xcodebuild -create-xcframework -framework "$SIMULATOR_ARCHIVE/Products/Library/Frameworks/$FRAMEWORK_NAME.framework" -framework "$DEVICE_ARCHIVE/Products/Library/Frameworks/$FRAMEWORK_NAME.framework" -framework "$CATALYST_ARCHIVE/Products/Library/Frameworks/$FRAMEWORK_NAME.framework" -output "$RESULT_FRAMEWORK" -open . +open "$MAIN_DIR"