Page 1 of 1

PB on Mountain Lion?

Posted: Wed May 02, 2012 2:32 am
by J. Baker
Anyone running PB on Mountain Lion? Thought about installing it but fear development might go bad.

Re: PB on Mountain Lion?

Posted: Wed May 02, 2012 4:14 am
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)

Re: PB on Mountain Lion?

Posted: Wed May 02, 2012 5:01 am
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.

Re: PB on Mountain Lion?

Posted: Wed May 02, 2012 9:11 am
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!

Re: PB on Mountain Lion?

Posted: Wed May 02, 2012 9:51 am
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.

Re: PB on Mountain Lion?

Posted: Thu May 03, 2012 12:16 am
by spacebuddy
Works perfect on Mountain Lion. :D

Re: PB on Mountain Lion?

Posted: Thu May 03, 2012 3:09 am
by J. Baker
spacebuddy wrote:Works perfect on Mountain Lion. :D
Glad to hear! ;)

Re: PB on Mountain Lion?

Posted: Wed Aug 15, 2012 4:39 am
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?

Re: PB on Mountain Lion?

Posted: Wed Aug 15, 2012 11:40 am
by Polo
Not sure about the sand boxing but PB runs perfectly on ML ;)

Re: PB on Mountain Lion?

Posted: Wed Aug 15, 2012 8:49 pm
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

Re: PB on Mountain Lion?

Posted: Wed Aug 15, 2012 9:14 pm
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.

Re: PB on Mountain Lion?

Posted: Wed Aug 15, 2012 10:45 pm
by Polo
4.7 can already compile most of codes which is impressing considering the whole GUI system has been rewritten :)