Getting closer!
Here are my 2 current issues(using daily build 2687):
- The correct icon is no longer displaying on the desktop. ( I am just getting the generic mac “application” icon).
This worked a few daily builds ago, perhaps something changed?
I do not have a retina Mac, so I believe it should be displaying the 512x512 icon?
I am 99% sure my .icns file is created correctly, with all necessary image sizes.
Upon launching the app, the correct icon IS displaying properly in the Dock.
- Currently the Build process generates a Mac .app, which is fine, but submitting an .app to the Mac App Store requires an Installer.
So you need to supply the Application Loader program a .pkg file.
I managed to successfully create and sign the Installer using the command line productbuild tool.
I was also able to successfully install the app using the command line: sudo installer -store -pkg GrislyManor.pkg -target /
However,
If I simply double-click on the .pkg file, not using the command line, I immediately get a javascript error: “There was an error reading the package.”
Apparently this might be caused by a BundleID name mismatch somewhere? Not positive though.
When I try to upload the .pkg through Application Loader, I get the following error:
“No suitable application records were found. Verify your bundle identifier ‘com.example.Grisly Manor’ is correct.There was an error reading the package.”
And thought that maybe that is where the error is coming from?:
com.example.Grisly Manor
I looked everywhere I could possibly think to look and everywhere I have com.firemaplegames.grislymanor correctly.
Maybe the BundleID is not being written correctly to the Info.plist inside the .app? The productbuild tool does use that .plist in its process.
Anyway… still super exciting!
I hope all of this helps. And these errors could absolutely be on my side since I really don’t know what I am doing
Also, if Corona is able to create the Installer .pkg too that would be so sexy. That procedure was fairly painful!
Joe