2a0789008624d769459b7b423e9eee235b3f4c99 — Elias Naur 11 days ago 74295d5
cmd/gio: add provisioning file to ipa apps

Required by App Store.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
1 files changed, 5 insertions(+), 0 deletions(-)

M cmd/gio/iosbuild.go
M cmd/gio/iosbuild.go => cmd/gio/iosbuild.go +5 -0
@@ 100,6 100,11 @@ if expAppID != provAppID {
  			continue
  		}
+ 		// Copy provisioning file.
+ 		embedded := filepath.Join(app, "embedded.mobileprovision")
+ 		if err := copyFile(embedded, prov); err != nil {
+ 			return err
+ 		}
  		certDER, err := runCmdRaw(exec.Command("/usr/libexec/PlistBuddy", "-c", "Print:DeveloperCertificates:0", provInfo))
  		if err != nil {
  			return err