You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix some issues in the new optional code signing config.
* Reinstate separate signing identities for the app and installer.
* Fix so that productbuild command actually works when DO_CODE_SIGNING=1.
* Update README.
* Remove vim-related junk added to the end of files.
***(Option 1)** If you have Mac App Store signing certificates, update the `SIGNING_IDENTITY` line in `./build-app.sh` and `./build-pkg.sh` to refer to them:
28
-
* You will need an [Apple Developer account](https://developer.apple.com/devcenter/mac/) and a subscription to the Mac Developer Program ($99/year) to get signing certificates.
29
-
* Create the appropriate Mac App Store certificates in the [Mac Dev Center](https://developer.apple.com/account/mac/certificate/) and download them to your dev machine.
30
-
***(Option 2)** If you do not have a Mac App Store signing certificate:
31
-
1. Comment out all `codesign` commands in `./build-app.sh`.
32
-
2. Remove the `--sign "$SIGNING_IDENTITY"` option from `./build-pkg.sh`
33
-
3. With these modifications you will be able to build the app and the installer package, but you will not be able to submit them to the store.
34
-
4. Build the app package `dist/HelloAppStore.app`:
26
+
2. Build the app package `dist/HelloAppStore.app`:
35
27
*`./build-app.sh`
36
-
5. Build the installer package `dist/HelloAppStore.pkg`:
28
+
3. Build the installer package `dist/HelloAppStore.pkg`:
37
29
*`./build-pkg.sh`
38
30
31
+
For submission to the App Store you will also need to enable code signing:
32
+
33
+
1. Configure code signing:
34
+
* Update the `SIGNING_IDENTITY` line in `code-signing-config.sh` to refer to your Mac App Store signing certificates:
35
+
* You will need an [Apple Developer account](https://developer.apple.com/devcenter/mac/) and a subscription to the Mac Developer Program ($99/year) to get signing certificates.
36
+
* Create the appropriate Mac App Store certificates in the [Mac Dev Center](https://developer.apple.com/account/mac/certificate/) and download them to your dev machine.
37
+
* Change the `DO_CODE_SIGNING` line in `code-signing-config.sh` to assign
38
+
`1` instead of `0`.
39
+
2. Rebuild the app package and installer package using the same steps as above.
40
+
39
41
### How to Submit
40
42
41
43
1. Create a record for your app inside [iTunes Connect](https://itunesconnect.apple.com/).
@@ -50,7 +52,6 @@ It displays a simple dialog and exits.
50
52
51
53
## Writing your Own App?
52
54
53
-
54
55
### Choosing a GUI Library
55
56
56
57
Any app you submit to the Mac App Store must have a GUI. In Python there are a few libraries available to create a GUI:
0 commit comments