PB on Mountain Lion?

Mac OSX specific forum
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

PB on Mountain Lion?

Post by J. Baker »

Anyone running PB on Mountain Lion? Thought about installing it but fear development might go bad.
www.posemotion.com

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


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: PB on Mountain Lion?

Post by jesperbrannmark »

One of the more drastic changes is "Gatekeeper" (right?). If I understand things right this require programs ("apps") to be signed with a certificate similar to the script you created about a year ago.

Maybe this could be a feature req for PB:
To have option to include the variables in the file you edit (version name etc) and certificate and then automaticly run that script you made when clicking "Publish". I bet in a years time there will be something similar to forced signed executables for Windows (should have been done 15 years ago)
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PB on Mountain Lion?

Post by J. Baker »

There's quite a few new interesting features, I think. I guess it depends on what you like or could use.

Are you talking about auto signing your app after compiling from PB? If so, It wouldn't be to difficult. It would be just a matter of setting up the needed info for each app and running a few command lines in the background. Could easily make an app that does that but not much time right now. Currently working on a couple of updates and talking back and forth on getting Cafio on the Mac App Store. That hasn't been fun.
www.posemotion.com

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


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

Re: PB on Mountain Lion?

Post by jamirokwai »

Hi J.Baker,
Are you talking about auto signing your app after compiling from PB? If so, It wouldn't be to difficult. It would be just a matter of setting up the needed info for each app and running a few command lines in the background. Could easily make an app that does that but not much time right now. Currently working on a couple of updates and talking back and forth on getting Cafio on the Mac App Store. That hasn't been fun.
The same for me. I am interested seeing Mountain Lion run, but fear updating my machine...
The problem with Cafio was the thing about pre-defined folders? If so: Leave the StringGadget blank and empty... That worked for me.

Jesper,
Maybe this could be a feature req for PB:
To have option to include the variables in the file you edit (version name etc) and certificate and then automaticly run that script you made when clicking "Publish". I bet in a years time there will be something similar to forced signed executables for Windows (should have been done 15 years ago)
On Windows, you can set some variables for .exe-information. This should be added to the Mac-IDE also. For now, I have to manually edit the info.plist. If PB would automatically fill the info.plist and sign the .App-Bundle... GREAT! :-)

I think, I'd donate another 20 bucks to the team, just for automating this one the way you said inside the PB-IDE!
Regards,
JamiroKwai
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PB on Mountain Lion?

Post by J. Baker »

I did remove the sting in Cafio but now the hold up is it sends command line info to afconvert. The "app testers" run in Guest mode with some restrictions. I believe one of them is for submitted apps not to run other apps. Probably for virus protection and so forth. I have someone at iTunes looking into now. Hope to get a response later today.

As for manually signing the apps and the plist, I don't mind. I'm just glad we can without having to use xCode. I was worried when I first got my developers license if I would e able to sign a PB app. But it didn't take me long to figure it out.

Also, make sure if your app writes saved data (for the app itself) that you sandbox it. I believe in June this becomes a requirement.
www.posemotion.com

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


Even the vine knows it surroundings but the man with eyes does not.
spacebuddy
Enthusiast
Enthusiast
Posts: 364
Joined: Thu Jul 02, 2009 5:42 am

Re: PB on Mountain Lion?

Post by spacebuddy »

Works perfect on Mountain Lion. :D
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PB on Mountain Lion?

Post by J. Baker »

spacebuddy wrote:Works perfect on Mountain Lion. :D
Glad to hear! ;)
www.posemotion.com

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


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: PB on Mountain Lion?

Post by jesperbrannmark »

How well does the sandboxing (being specific in save directory) go with /tmp/ folder - is this not allowed any more or is it safe to use?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: PB on Mountain Lion?

Post by Polo »

Not sure about the sand boxing but PB runs perfectly on ML ;)
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: PB on Mountain Lion?

Post by fsw »

Polo wrote:Not sure about the sand boxing but PB runs perfectly on ML ;)
Only the 4.61 version.

PB 4.70b1.5 still has troubles to compile correctly: http://www.purebasic.fr/english/viewtop ... 24&t=50847
Sent partial code over to Fred but he didn't reply yet - still hoping :D

I am to provide the public with beneficial shocks.
Alfred Hitshock
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: PB on Mountain Lion?

Post by jesperbrannmark »

The 4.7 is still just beta, so its not good to release any commercial grade product with yet.
I am however, so impressed with the work that the team is putting in to it.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: PB on Mountain Lion?

Post by Polo »

4.7 can already compile most of codes which is impressing considering the whole GUI system has been rewritten :)
Post Reply