Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Turn off ENABLE_USER_SCRIPT_SANDBOXING in Xcode project
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Oct 17, 2023
1 parent 479e823 commit a716939
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fun Project.configureIosLicensesTasks() {
}

tasks.named("embedAndSignAppleFrameworkForXcode") {
// dependsOn("copyLicenseeOutputToIosBundle")
dependsOn("copyLicenseeOutputToIosBundle")
}
}

Expand All @@ -74,6 +74,7 @@ internal fun determineIosKonanTargetsFromEnv(
},
)
}

platform.startsWith("iphonesimulator") -> {
targets.addAll(
archs.map { arch ->
Expand All @@ -85,6 +86,7 @@ internal fun determineIosKonanTargetsFromEnv(
},
)
}

else -> error("Unknown iOS platform: '$platform'")
}

Expand Down
5 changes: 4 additions & 1 deletion ios-app/Tivi/Tivi.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cd \"$SRCROOT/../..\"\n\nMODULE=\"qa\"\nif [ \"$CONFIGURATION\" = \"Prod\" ]; then\n MODULE=\"prod\"\nfi\n\necho \"Building :shared:$MODULE for $CONFIGURATION\"\n./gradlew :shared:$MODULE:embedAndSignAppleFrameworkForXcode --no-configuration-cache --stacktrace\n";
shellScript = "cd \"$SRCROOT/../..\"\n\nMODULE=\"qa\"\nif [ \"$CONFIGURATION\" = \"Prod\" ]; then\n MODULE=\"prod\"\nfi\n\necho \"Building :shared:$MODULE for $CONFIGURATION\"\n./gradlew :shared:$MODULE:embedAndSignAppleFrameworkForXcode --stacktrace\n";
};
83AB60022A51F473007FC216 /* Upload Crashlytics symbols */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -400,6 +400,7 @@
DEVELOPMENT_ASSET_PATHS = "\"Tivi/Preview Content\"";
DEVELOPMENT_TEAM = GLF74Y6P9T;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../shared/qa/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Tivi/Info.plist;
Expand Down Expand Up @@ -444,6 +445,7 @@
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = GLF74Y6P9T;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../shared/prod/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Tivi/Info.plist;
Expand Down Expand Up @@ -548,6 +550,7 @@
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = GLF74Y6P9T;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../shared/qa/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Tivi/Info.plist;
Expand Down

0 comments on commit a716939

Please sign in to comment.