diff options
Diffstat (limited to 'platform/ios/scripts/package.sh')
-rwxr-xr-x | platform/ios/scripts/package.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh index e4403c4652..5d5e04af0e 100755 --- a/platform/ios/scripts/package.sh +++ b/platform/ios/scripts/package.sh @@ -71,12 +71,13 @@ SHORT_VERSION=${SEM_VERSION%-*} step "Building targets (build ${PROJ_VERSION}, version ${SEM_VERSION})…" -SCHEME='dynamic' +SCHEME='iOS dynamic' if [[ ${BUILD_DYNAMIC} == true && ${BUILD_STATIC} == true ]]; then SCHEME+='+static' elif [[ ${BUILD_STATIC} == true ]]; then - SCHEME='static' + SCHEME='iOS static' fi +SCHEME+=' framework' xcodebuild \ CURRENT_PROJECT_VERSION=${PROJ_VERSION} \ @@ -85,8 +86,8 @@ xcodebuild \ CURRENT_COMMIT_HASH=${HASH} \ ONLY_ACTIVE_ARCH=NO \ -derivedDataPath ${DERIVED_DATA} \ - -workspace ./platform/ios/ios.xcworkspace \ - -scheme ${SCHEME} \ + -workspace ./platform/macos/macos.xcworkspace \ + -scheme '${SCHEME}' \ -configuration ${BUILDTYPE} \ -sdk iphonesimulator \ -jobs ${JOBS} | xcpretty @@ -99,8 +100,8 @@ if [[ ${BUILD_FOR_DEVICE} == true ]]; then CURRENT_COMMIT_HASH=${HASH} \ ONLY_ACTIVE_ARCH=NO \ -derivedDataPath ${DERIVED_DATA} \ - -workspace ./platform/ios/ios.xcworkspace \ - -scheme ${SCHEME} \ + -workspace ./platform/macos/macos.xcworkspace \ + -scheme '${SCHEME}' \ -configuration ${BUILDTYPE} \ -sdk iphoneos \ -jobs ${JOBS} | xcpretty |