mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
fix(ioscompanion): re-enable signing for the device runner build
companion/project.yml disables code signing for the simulator build, so the device build inherited it and produced an unsigned runner that the device rejected at install (0xe8008018). build-for-testing now forces CODE_SIGNING_ALLOWED/REQUIRED=YES so automatic provisioning signs it.
This commit is contained in:
1 parent
1357a2b1cc
commit
0a48502ab8
2 files changed
+7
No files matched your search
@@ -211,6 +211,11 @@ func buildForTestingArgs(projectPath, derivedDataPath string, creds signingCrede
|
||||
"-authenticationKeyPath", creds.authKeyPath,
|
||||
"-authenticationKeyID", creds.authKeyID,
|
||||
"-authenticationKeyIssuerID", creds.authIssuerID,
|
||||
// companion/project.yml disables signing for the simulator build; the
|
||||
// device install rejects an unsigned runner (0xe8008018), so signing is
|
||||
// re-enabled here and the team drives automatic provisioning.
|
||||
"CODE_SIGNING_ALLOWED=YES",
|
||||
"CODE_SIGNING_REQUIRED=YES",
|
||||
"CODE_SIGN_STYLE=Automatic",
|
||||
"DEVELOPMENT_TEAM=" + creds.team,
|
||||
"GENERATE_INFOPLIST_FILE=YES",
|
||||
|
||||
@@ -21,6 +21,8 @@ func TestBuildForTestingArgs(t *testing.T) {
|
||||
"-authenticationKeyPath /k/AuthKey.p8",
|
||||
"-authenticationKeyID KID",
|
||||
"-authenticationKeyIssuerID ISS",
|
||||
"CODE_SIGNING_ALLOWED=YES",
|
||||
"CODE_SIGNING_REQUIRED=YES",
|
||||
"CODE_SIGN_STYLE=Automatic",
|
||||
"DEVELOPMENT_TEAM=TEAM1",
|
||||
"GENERATE_INFOPLIST_FILE=YES",
|
||||
|
||||
Reference in new issue
Block a user