Add -disableAutomaticPackageResolution to xcodebuild command

This commit is contained in:
Jon Petersson authored and Bug Magnet committed 2024-03-11 11:09:38 +01:00
1 parent 485438709a
commit 77f6dbfe39
5 files changed
+9 -1

No files matched your search

@@ -57,6 +57,7 @@ jobs:
-configuration Debug \
-testPlan MullvadVPNUITestsSmoke \
-destination "platform=iOS,id=$TEST_DEVICE_UDID" \
-disableAutomaticPackageResolution \
test 2>&1 | xcbeautify --report junit --report-path test-report
working-directory: ios/
@@ -72,5 +72,6 @@ jobs:
-testPlan MullvadVPNScreenshots \
-destination "platform=iOS Simulator,name=iPhone 15" \
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \
-disableAutomaticPackageResolution \
test 2>&1 | xcbeautify
working-directory: ios/
@@ -72,6 +72,7 @@ jobs:
-configuration MockRelease \
-destination "platform=iOS Simulator,name=iPhone 15" \
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \
-disableAutomaticPackageResolution \
build
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
-project MullvadVPN.xcodeproj \
@@ -79,6 +80,7 @@ jobs:
-configuration Staging \
-destination "platform=iOS Simulator,name=iPhone 15" \
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \
-disableAutomaticPackageResolution \
build
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
-project MullvadVPN.xcodeproj \
@@ -86,5 +88,6 @@ jobs:
-configuration Debug \
-destination "platform=iOS Simulator,name=iPhone 15" \
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \
-disableAutomaticPackageResolution \
build
working-directory: ios/
+1
View File
@@ -98,5 +98,6 @@ jobs:
-testPlan MullvadVPNCI \
-destination "platform=iOS Simulator,name=iPhone 15" \
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \
-disableAutomaticPackageResolution \
test 2>&1 | xcbeautify
working-directory: ios/
+3 -1
View File
@@ -93,6 +93,7 @@ release_build() {
-sdk iphoneos \
-configuration Release \
-derivedDataPath "$DERIVED_DATA_DIR" \
-disableAutomaticPackageResolution \
"$@"
}
@@ -107,4 +108,5 @@ xcodebuild \
-exportArchive \
-archivePath "$XCODE_ARCHIVE_DIR" \
-exportOptionsPlist "$EXPORT_OPTIONS_PATH" \
-exportPath "$BUILD_OUTPUT_DIR"
-exportPath "$BUILD_OUTPUT_DIR" \
-disableAutomaticPackageResolution