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
***(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:
16
+
* 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.
17
+
* 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.
18
+
***(Option 2)** If you do not have a Mac App Store signing certificate:
19
+
1. Comment out all `codesign` commands in `./build-app.sh`.
20
+
2. Remove the `--sign "$SIGNING_IDENTITY"` option from `./build-pkg.sh`
21
+
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.
22
+
4. Build the app package `dist/HelloAppStore.app`:
23
+
*`./build-app.sh`
24
+
5. Build the installer package `dist/HelloAppStore.pkg`:
25
+
*`./build-pkg.sh`
26
+
27
+
### How to Submit
28
+
29
+
1. Create a record for your app inside [iTunes Connect](https://itunesconnect.apple.com/).
30
+
* Fill out app metadata, including its description, keywords, screenshots, etc.
31
+
* Press "Ready to Upload Binary".
32
+
2. Open Application Loader:
33
+
* Open Xcode.
34
+
* From the menubar, select Xcode > Open Developer Tool > Application Loader.
35
+
3. Click "Deliver Your App" and select the app record you created in iTunes Connect.
36
+
3. When you are prompted for an item to upload, select `dist/HelloAppStore.pkg`.
37
+
38
+
## Writing your Own App?
39
+
40
+
41
+
### Choosing a GUI Library
8
42
9
43
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:
10
44
11
45
***[Tkinter] / Tk** - Built-in to Python. Just works.
12
46
* Poorly documented. Limited widget set.
13
47
* Overhead: Nothing
14
-
***[PyObjC] / Cocoa**
48
+
***[PyObjC] / Cocoa** - Full bindings to the Cocoa frameworks.
15
49
* Reasonably documented and maintained. (But requires you to learn Cocoa.)
16
50
* Provides full access to all OS X native widgets.
17
51
* Overhead: Nothing
@@ -22,14 +56,14 @@ Any app you submit to the Mac App Store must have a GUI. In Python there are a f
22
56
* Overhead: Nothing
23
57
***[wxPython] / wxWidgets**
24
58
* Well documented. Lots of widgets.
25
-
* Cannot be submitted to Mac App Store due to wxPython's reliance on [deprecated QuickTime APIs](https://groups.google.com/forum/#!topic/wxpython-mac/BeUS9GHigvE).
59
+
***Note:**Cannot be submitted to Mac App Store due to wxPython's reliance on [deprecated QuickTime APIs](https://groups.google.com/forum/#!topic/wxpython-mac/BeUS9GHigvE).
* The app created by py2app crashes with a segmentation fault. My guess is that the py2app needs a special "recipe" for PySide. I don't feel like writing one myself.
63
+
***Note:**The app created by py2app crashes with a segmentation fault. My guess is that the py2app needs a special "recipe" for PySide. I don't feel like writing one myself.
0 commit comments