|
Viewing 1 to (10 Total) Mole Word for Mac AppStore |
Total Posts: 152
Joined: February 12, 2012
|
Mole Word is currently in review for the Mac AppStore. As far as I know it will be the first Haxe app to make it to the mac app store so we're pretty excited. The first attempt was unsuccessfully and apple rejected us for something pretty petty in our eyes but hey, they're apple.
We'll let everyone know as soon as we get final approval as this opens a new, exciting market for haxe developers.
We'll be happy to post a "how-to" if requested since code-signing is not built into haxe for mac apps yet. There are definitely a few hoops to jump through (such as signing individual dylib, ndlls inside app package), creating installer, things that aren't necessarily haxe-only requirements but are necessary since we're building and submitting apps outside of Xcode. This is very much different from building iOS apps in haxe.
We'll let everyone know. i'd also like to thank Josh for the quick os x fixes to nme after our initial app rejection from apple.
Check out Mole Word for free on Facebook at:http://apps.facebook.com/moleword...
Tags:
Posted on June 17, 2012 at 9:22 PM
|
|
|
Total Posts: 152
Joined: February 12, 2012
|
Re: Mole Word for Mac AppStore
Rejected AGAIN! Here's why:
1.1
All new applications must implement sandboxing as of June 1, 2012. See App Sandboxing for links to essential video and documentation to learn how to sandbox your application.
Should you need code-level assistance implementing sandboxing, contact Apple Developer Technical Support.
If our first build submitted on May 25 would have passed without the resizing bug in NME we could have skated new rejection but as it is, we'll have to dig in and figure out how to sandbox our apps so we can finally release to the Mac App Store. Anyone have any advice?
We'll post an update once we find a solution. So close.... Apple sure doesn't make it easy on us developers.
Posted on June 19, 2012 at 9:32 PM
|
Total Posts: 2139
Joined: August 25, 2011
|
Re: Mole Word for Mac AppStore
Ugh. I guess you really are "kicking the tires" on this whole process so we can streamline and optimize it for the future 
Please let me know if it gives you information on which calls are not passing the sandboxing requirement. Hopefully they are within our code, and are not within something we rely upon like SDL 
Posted on June 19, 2012 at 10:26 PM
|
Total Posts: 152
Joined: February 12, 2012
|
Re: Mole Word for Mac AppStore
So here's a link on Apple sandboxing:
http://stackoverflow.com/questions/8385252/how-to-build-sandboxed-a...
"It's pretty easy to code-sign your application outside of Xcode. Simply create your entitlements in a separate plist file like this:
<?xml version="1.0" encoding="utf-8"?>
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
</dict>
</plist>
Once you have it, simply issue this command to code-sign your app bundle and enable sandboxing, by making it part of the entitlements:
codesign -s - -f --entitlements /path/to/entitlement.plist /path/to/YourApp.app/
If you already code-sign with a certificate, just replace '-s -' above with '-s "3rd Party Macintosh Developer..." and use your developer certificate."
Can anyone tell me what system files NME touches on the mac? Does it access Application Support folder or anything like that for settings and such? If not, the above example would be all we need to sandbox an app for the Mac store.
Posted on June 27, 2012 at 7:09 AM
|
Total Posts: 152
Joined: February 12, 2012
|
Re: Mole Word for Mac AppStore
Yes, it looks like it access Users/~/ApplicationSupport/**AppName**/storage.sol
Anything else??
Posted on June 27, 2012 at 7:10 AM
|
Total Posts: 152
Joined: February 12, 2012
|
Re: Mole Word for Mac AppStore
it also looks like Apple wants us to use a new Sandboxed location for storage.
instead of:
~/Library/Application Support/<AppName>
now it should be
/Library/Containers/<bundle_id>/Data/Library/Application Support/<app_name>/
http://developer.apple.com/library/mac/#documentation/Security/Conc...
This will require a change in NME/SDL for application settings?
Posted on June 27, 2012 at 7:32 AM
|
Total Posts: 152
Joined: February 12, 2012
|
Re: Mole Word for Mac AppStore
Ok i think i got it. Here's the entitlements file i used (Sandboxing.plist):
<?xml version="1.0" encoding="utf-8"?>
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.device.usb</key>
<true/>
</dict>
</plist>
and the commands i used to code sign and sandbox. Resubmitted mole word to mac app store. lets see what happens this time! As far as i could tell there were no sandboxing violations. You can use Utilities/Console to discover violations. This is how i found the Joystick sandbox violation, hence, requiring this key: <key>com.apple.security.device.usb</key><true/>
Posted on June 27, 2012 at 8:16 AM
|
Total Posts: 27
Joined: July 05, 2012
|
Re: Mole Word for Mac AppStore
Hi there,
Actually I'd be very happy to read a "how to"; I have an app that needs to be submitted to the mac app store, and I must admit I have no clue where to start... (no cpp knowledge, and I think it's getting more and more of an issue when working with NME).
So I think everybody could benefit from that. Please ? 
Posted on February 20, 2013 at 2:07 AM
|
Total Posts: 27
Joined: July 05, 2012
|
Re: Mole Word for Mac AppStore
Hi there,
Lubos just posted a very helpful how-to :
http://luboslenco.com/post/48056971326/publishing-nme-app-on-mac-ap...
A couple of things I would add :
- you must first download mac app and mac installer certificates from the dev portal
- if you work in a team, when using codesign and productbuild, you don't use you developer identity (Mac Developer: YOUR_NAME (XXXX)), but your team identity (3rd Party Mac Developer Application: YOUR_TEAM_NAME)
- you have to specify a category in your Info.plist file; you can find the list of categories strings here :http://developer.apple.com/library/mac/#documentation/General/Refer...
- it is possible to localize your app name etc, without XCode, by adding "Contents/Resources/[LANG].lproj/InfoPlist.strings" files. Seehttp://developer.apple.com/library/mac/#documentation/General/Refer...
Hope it helps
Cheers
Erik
Posted on April 17, 2013 at 3:02 AM
|
Total Posts: 224
Joined: December 03, 2011
|
Re: Mole Word for Mac AppStore
deity expletive. thank you all for posting this stuff, maybe the rest of us now have a snowball's chance in hell of getting anywhere with ios publishing!!!!!!!!!!!!!!!!!!!!!! i hope.
Posted on April 19, 2013 at 1:46 AM
|