]> Cypherpunks repositories - gostls13.git/commitdiff
misc/ios: fix teamID and appID use in entitlements
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 16 Apr 2015 00:00:05 +0000 (17:00 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 16 Apr 2015 15:58:45 +0000 (15:58 +0000)
This is a follow-up to CL 8910.
This is the version that I have tested and which works
when appID and teamID are not the same (which they appear
to be for the builder).

I am unsure how I submitted it with the wrong code.

Change-Id: I186e34e91953d082b507390c1cd2042e5419c4c9
Reviewed-on: https://go-review.googlesource.com/8943
Reviewed-by: David Crawshaw <crawshaw@golang.org>
misc/ios/go_darwin_arm_exec.go

index 6305beab70c65e74edfa2842eb167f9fd41b3cb5..f4baa13cca2265275540995e1d7606af9cc33294 100644 (file)
@@ -618,11 +618,11 @@ func entitlementsPlist() string {
 <plist version="1.0">
 <dict>
        <key>keychain-access-groups</key>
-       <array><string>` + teamID + `.golang.gotest</string></array>
+       <array><string>` + appID + `.golang.gotest</string></array>
        <key>get-task-allow</key>
        <true/>
        <key>application-identifier</key>
-       <string>` + teamID + `.golang.gotest</string>
+       <string>` + appID + `.golang.gotest</string>
        <key>com.apple.developer.team-identifier</key>
        <string>` + teamID + `</string>
 </dict>