Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -disableAutomaticPackageResolution to xcodebuild command #5928

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ios-end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ios-screenshots-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: iOS test screenshots
on:

Check warning on line 3 in .github/workflows/ios-screenshots-tests.yml

View workflow job for this annotation

GitHub Actions / check-formatting

3:1 [truthy] truthy value should be one of [false, true]
pull_request:
types:
- closed
Expand Down Expand Up @@ -72,5 +72,6 @@
-testPlan MullvadVPNScreenshots \
-destination "platform=iOS Simulator,name=iPhone 15" \
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \
-disableAutomaticPackageResolution \
test 2>&1 | xcbeautify
working-directory: ios/
3 changes: 3 additions & 0 deletions .github/workflows/ios-validate-build-schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,22 @@ 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 \
-scheme MullvadVPN \
-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 \
-scheme MullvadVPNUITests \
-configuration Debug \
-destination "platform=iOS Simulator,name=iPhone 15" \
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \
-disableAutomaticPackageResolution \
build
working-directory: ios/
1 change: 1 addition & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
4 changes: 3 additions & 1 deletion ios/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ release_build() {
-sdk iphoneos \
-configuration Release \
-derivedDataPath "$DERIVED_DATA_DIR" \
-disableAutomaticPackageResolution \
"$@"
}

Expand All @@ -107,4 +108,5 @@ xcodebuild \
-exportArchive \
-archivePath "$XCODE_ARCHIVE_DIR" \
-exportOptionsPlist "$EXPORT_OPTIONS_PATH" \
-exportPath "$BUILD_OUTPUT_DIR"
-exportPath "$BUILD_OUTPUT_DIR" \
-disableAutomaticPackageResolution
Loading