mac developers?

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

mac developers?

Post by J. Baker »

If you create your app in PB, how do you sign your app and so forth?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: mac developers?

Post 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
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: mac developers?

Post 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. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
jamirokwai
Enthusiast
Enthusiast
Posts: 772
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

Re: mac developers?

Post 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 :-)
Regards,
JamiroKwai
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: mac developers?

Post by wilbert »

Did you create a code signing certificate Joe ?
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: mac developers?

Post 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.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: mac developers?

Post 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. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: mac developers?

Post 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. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: mac developers?

Post 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.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4326
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: mac developers?

Post 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! :mrgreen:
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: mac developers?

Post by J. Baker »

www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: mac developers?

Post 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
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: mac developers?

Post 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.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: mac developers?

Post 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.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: mac developers?

Post 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.
Post Reply