In this tutorial, I want to show you, how you can upload your Java Application to the Mac AppStore.
Here you can find a test Application in the Store.
Requirements:
Video:
Before we can upload our App to the AppStore, we have to prepare some things:
Step 1: Create a new AppID:
Step 2: Create a new App in iTunes Connect
Step 3: Create and download certificates
Next Steps:
Step 4: Create the package
Note 2: The root password is needed to have the permission to edit the bundle identifier of the Java info.plist, this prevents a CFBundleIndentifier Collision
Step 5: Upload the package
Congratulations! Now you have successfully upload your App to iTunes Connect. The last thing to do now is fill in all fields for the App Store listing and finally submit your App for the review.
Feel free to ask questions
Here you can find a test Application in the Store.
Requirements:
- MacOS (tested with version 10.13.3)
- Apple Developer Account
- Java JDK (recommended: JDK 9)
- Xcode + Developer Tools
Video:
Before we can upload our App to the AppStore, we have to prepare some things:
Step 1: Create a new AppID:
- Login to your Apple Developer account and go to the Certificates, ID & Profiles section
- Choose macOS in the ChoiceBox at the top
- Go to the App ID’s section under identifiers
- Click on the + Button to create a new App ID
- Fill in the description field
- Under App ID Suffix, choose Explicit App ID and enter your package name (the package name, you have set in B4J under Projects --> Build Configuration --> Package)
- Click on Continue
- Click on Register
Step 2: Create a new App in iTunes Connect
- Go to iTunesConnect and click on My Apps
- Click on the + Button at the top and choose New Mac-App
- Fill in all fields, use the Bundle-ID we have created in Step 1.
- Click on the Create button
Step 3: Create and download certificates
- Open Xcode
- Click on Xcode --> Preferences in the MenuBar
- Go to the Accounts section
- Click on the + Button at the Bottom to add your Apple ID
- Fill in all fields and click on Sign In
- Select your Account and click on the Manage Certificates Button
- Click on the + Button at the Bottom and choose macOS App Store
- Click again on the + Button and choose macOS App Store Installer
- Now you can close Xcode
Next Steps:
Step 4: Create the package
- Download the StorePackager (
for VM: http://bit.ly/2utzAgH) application (v. 1.0.1, created with B4J) - Fill in all fields.
- Click on Next
- Set the entitlements of your App, for example when it uses Bluetooth. For more information click on the info button
- Click on Next
- Now you have to set the App category. For more information click on the info button
- Click on Create
- After StorePackager has finished, you will find the package on your desktop
Note 2: The root password is needed to have the permission to edit the bundle identifier of the Java info.plist, this prevents a CFBundleIndentifier Collision
Step 5: Upload the package
- Open Application Loader
- SignIn
- Click on Deliver your App
- Choose the package (.pkg) from your desktop
- Click to the next site and wait til the upload finishes
Congratulations! Now you have successfully upload your App to iTunes Connect. The last thing to do now is fill in all fields for the App Store listing and finally submit your App for the review.
Feel free to ask questions
Last edited: