Skip to content

Commit

Permalink
Update build scripts to skip codesigning - SSDK-528
Browse files Browse the repository at this point in the history
  • Loading branch information
aokj4ck committed Jan 12, 2024
1 parent d1ebd47 commit d9c39f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ pushd "${PROJECT_ROOT}" > /dev/null
SIMULATOR_ARCHIVE_NAME="${RESULT_PRODUCTS_DIR}/Search-iphonesimulator.xcarchive"
DEVICE_ARCHIVE_NAME="${RESULT_PRODUCTS_DIR}/Search-iphoneos.xcarchive"

xcodebuild archive -scheme "MapboxSearchUI" -destination "generic/platform=iOS Simulator" SKIP_INSTALL=NO ${MARKETING_VERSION:+MARKETING_VERSION=${MARKETING_VERSION}} -archivePath "${SIMULATOR_ARCHIVE_NAME}"
xcodebuild archive -scheme "MapboxSearchUI" -destination "generic/platform=iOS" SKIP_INSTALL=NO ${MARKETING_VERSION:+MARKETING_VERSION=${MARKETING_VERSION}} -archivePath "${DEVICE_ARCHIVE_NAME}"
xcodebuild archive -scheme "MapboxSearchUI" -destination "generic/platform=iOS Simulator" SKIP_INSTALL=NO ${MARKETING_VERSION:+MARKETING_VERSION=${MARKETING_VERSION}} -archivePath "${SIMULATOR_ARCHIVE_NAME}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
xcodebuild archive -scheme "MapboxSearchUI" -destination "generic/platform=iOS" SKIP_INSTALL=NO ${MARKETING_VERSION:+MARKETING_VERSION=${MARKETING_VERSION}} -archivePath "${DEVICE_ARCHIVE_NAME}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO

for frameworkName in "MapboxSearch" "MapboxSearchUI"
do
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_spm_sample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ EOF

BASEDIR="${BASEDIR}" xcodegen
xcodebuild -resolvePackageDependencies -derivedDataPath derivedData -scheme CircleCIApp
xcodebuild -scheme "CircleCIApp" -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.0' -derivedDataPath derivedData/ -project CircleCIApp.xcodeproj CODE_SIGNING_ALLOWED=NO
xcodebuild -scheme "CircleCIApp" -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.0' -derivedDataPath derivedData/ -project CircleCIApp.xcodeproj CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO

popd

Expand Down

0 comments on commit d9c39f3

Please sign in to comment.