[SOLVED] Running .app on Mac OSX - .app structure
I successfully created a package myapp.app thanks to the community here that helped me.
I'm now in the "testing" phase and used a clean MacOSX on Mavericks to test if myapp.app can run without anything installed.
Turn out it works 100% when I start the app from command line ./PowerVelo.app/Content/MacOs/PowerVelo
However when I double click or try to open the .app package, it says "You can't open the application  because it may be damaged or incomplete"
I figured this is probably because the package is not the way Apple wants it to be?
Anyway I uploaded the package here (30Mo download):
If anyone wants to take a look to help me find what's wrong (Reward: 5000 dogecoins! :)
Here is my /Content/Info.plist
@<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<string>Created by Qt/QMake</string>
<string>This file was generated by Qt/QMake.</string>
I've been reading "this":https://developer.apple.com/library/mac/documentation/corefoundation/conceptual/cfbundles/BundleTypes/BundleTypes.html
Under "The Structure of an OS X Application Bundle"
Still can't find why my package is not valid.. still investigating
Now i'm getting
"App can’t be opened because it is from an unidentified developer”
Guess i'll have to identify myself? now to find how to do that :)
my app works if I control click and choose "open" after the warning.
I'll have to check how to disable that warning, don't want my client to be afraid of my app..
IIRC you would need to sign your application for that, thus subscribe to Apple's OS X developer program
Enroll now - $99/years
Now I recognize Apple :)
May be worth it if I get on apple store though...will see later