Page 1 of 2
mac developers?
Posted: Sat Aug 06, 2011 10:26 am
by J. Baker
If you create your app in PB, how do you sign your app and so forth?
Re: mac developers?
Posted: Sat Aug 06, 2011 1:03 pm
by jesperbrannmark
what do you mean with signing? is there any offical info on this?
i guess if its something you could do in xcode you would be able to do it since purebasic converts your code to assembler and then uses xcode to compile - wouldnt it just be to take the assembler file, sign that the "regular way" (i have no clue about this) and then compile - or?
jesper
Re: mac developers?
Posted: Sat Aug 06, 2011 4:31 pm
by J. Baker
Well, I figured out how to sign the app from the terminal but can't seem to sign and create a package.
codesign -f -s "3rd Party Mac Developer Application: Your Name" "/Applications/MyApp.app"
Of course put your name where it says Your Name and change MyApp.app to your own.

Re: mac developers?
Posted: Sat Aug 06, 2011 5:03 pm
by jamirokwai
J. Baker wrote:Well, I figured out how to sign the app from the terminal but can't seem to sign and create a package.
codesign -f -s "3rd Party Mac Developer Application: Your Name" "/Applications/MyApp.app"
Of course put your name where it says Your Name and change MyApp.app to your own.

Do you think, we could put PB-Apps into the App-Store this way?
Would be great

Re: mac developers?
Posted: Sat Aug 06, 2011 6:40 pm
by wilbert
Did you create a code signing certificate Joe ?
Re: mac developers?
Posted: Sat Aug 06, 2011 7:14 pm
by wilbert
jamirokwai wrote:Do you think, we could put PB-Apps into the App-Store this way?
Would be great

Signing an app isn't the only required thing.
To submit to the App-Store you need a developer account (annual fee $99).
From each sold item Apple gets 30% commission. What remains is paid to you.
You also have to know that the App Store is supported by Snow Leopard (10.6) and Lion (10.7). If the App Store is your only distribution method, those who are using OS X 10.5 or below won't be able to buy your product.
Re: mac developers?
Posted: Sat Aug 06, 2011 10:23 pm
by J. Baker
jamirokwai wrote:J. Baker wrote:Well, I figured out how to sign the app from the terminal but can't seem to sign and create a package.
codesign -f -s "3rd Party Mac Developer Application: Your Name" "/Applications/MyApp.app"
Of course put your name where it says Your Name and change MyApp.app to your own.

Do you think, we could put PB-Apps into the App-Store this way?
Would be great

Sure can.

Re: mac developers?
Posted: Sat Aug 06, 2011 10:26 pm
by J. Baker
wilbert wrote:Did you create a code signing certificate Joe ?
Yeah, I created both certificates and AppID. Just stuck on creating the pkg with signing it. As it states you can't use the PackageMaker for this process for some reason. Just woke up, so I'm back on it again.

Re: mac developers?
Posted: Sat Aug 06, 2011 10:28 pm
by J. Baker
wilbert wrote:jamirokwai wrote:Do you think, we could put PB-Apps into the App-Store this way?
Would be great

Signing an app isn't the only required thing.
To submit to the App-Store you need a developer account (annual fee $99).
From each sold item Apple gets 30% commission. What remains is paid to you.
You also have to know that the App Store is supported by Snow Leopard (10.6) and Lion (10.7). If the App Store is your only distribution method, those who are using OS X 10.5 or below won't be able to buy your product.
Yeah, I got my license activated last night. I chose tier 2 for my app, so I will make $1.40 out of every $2.00 sale.
I guess if someone is using 10.5 of os x, I can do something different for distribution.
Re: mac developers?
Posted: Sat Aug 06, 2011 11:01 pm
by Rook Zimbabwe
J. Baker wrote:If you create your app in PB, how do you sign your app and so forth?
You know if you created a CHM on how you did this process... it would be an incredible boost!

Re: mac developers?
Posted: Sun Aug 07, 2011 12:56 am
by J. Baker
Re: mac developers?
Posted: Sun Aug 07, 2011 5:55 am
by wilbert
J. Baker wrote:Sweet! This tutorial works...
That's wonderful !
Since the App Store becomes more and more important as a distribution method and is very helpful for small developers it would be good I think if PureBasic for OS X itself would get the ability to output files that are ready to submit to the App Store.
Updating an app is very easy when you distribute through the App Store. Users simply get a notification that a new version is available.
Edit :
When it comes to creating packages, have you also tried the tool Apple provides ?
It's located here on your computer ...
/Developer/Applications/Utilities/PackageMaker.app
Re: mac developers?
Posted: Sun Aug 07, 2011 6:15 am
by J. Baker
wilbert wrote:J. Baker wrote:Sweet! This tutorial works...
That's wonderful !
Since the App Store becomes more and more important as a distribution method and is very helpful for small developers it would be good I think if PureBasic for OS X itself would get the ability to output files that are ready to submit to the App Store.
Updating an app is very easy when you distribute through the App Store. Users simply get a notification that a new version is available. You also don't have to worry about an installer for your application.
Yeah it is great and thanks! I just uploaded my app minutes ago.
The tutorial link I posted above worked great. But once you go to upload, make sure you are using Application Loader 1.4 or better. Version 1.3 gives an error saying you still have to update your information on iTunes Connect. This drove me nuts until some one on the Mac Dev forum updated me this info.
Just make sure to read all the info before submitting. You can't even have little things like text in your about title, as it could be a cause of your app getting rejected. One more thing that I read that Mac doesn't tell you. In your info.plist, put your LSApplicationCategoryType at the top. I guess some people were getting rejected because they didn't do this.
Anyway, I followed the guidelines to the best of my knowledge. Hope it gets accepted.
Re: mac developers?
Posted: Sun Aug 07, 2011 6:19 am
by J. Baker
wilbert wrote:Edit :
When it comes to creating packages, have you also tried the tool Apple provides ?
It's located here on your computer ...
/Developer/Applications/Utilities/PackageMaker.app
Apple will not accept apps that are packaged with that app. Not really sure why but that's what I read in the developer center.
Re: mac developers?
Posted: Sun Aug 07, 2011 6:26 am
by wilbert
Thanks for correcting Joe.
I only have an iOS developer account and a few iOS apps in the iOS app store but those two platforms are separated so I don't have access to the OS X developer center.