PB not working with Xcode 8
PB not working with Xcode 8
I am running Sierra beta on a separate partition for testing, and today there was an update for Xcode version 8, so I tried to compile something with PB to see if it would work and it didn't, but that's not unusual.
anyway, if you want to keep working with PB you may want to wait updating to Xcode 8 until Fred addresses the problem.
anyway, if you want to keep working with PB you may want to wait updating to Xcode 8 until Fred addresses the problem.
Last edited by jack on Thu Sep 29, 2016 12:32 pm, edited 1 time in total.
Re: Xcode 8 not working with PB
See also this post
http://www.purebasic.fr/english/viewtop ... 24&t=66593
http://www.purebasic.fr/english/viewtop ... 24&t=66593
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: PB not working with Xcode 8
PB not working with Xcode 8
Went ahead and installed macOS Sierra, Xcode 8 and after that PureBasic 5.50.
(all three were never installed on this computer)
PureBasic's error message:
Really strange
EDIT
Restarted computer and the PB icon in the dock disappeared, there is a question mark now; even though the app is still where it was installed and can be started through finder.
Went ahead and installed macOS Sierra, Xcode 8 and after that PureBasic 5.50.
(all three were never installed on this computer)
PureBasic's error message:
Maybe a permission thing?"The compiler isn't loaded yet... please try again."
Really strange
EDIT
Restarted computer and the PB icon in the dock disappeared, there is a question mark now; even though the app is still where it was installed and can be started through finder.
I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: PB not working with Xcode 8
it may be GateKeeper, apparently it's more strict in the new OS http://osxdaily.com/2016/09/27/allow-ap ... atekeeper/
Re: PB not working with Xcode 8
You have to start XCode (only once).
It asks you to agree to somethings. Once you are in the XCode IDE and close it, PB should run fine.
It asks you to agree to somethings. Once you are in the XCode IDE and close it, PB should run fine.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: PB not working with Xcode 8
Nope, still shows the same error about the compiler not loaded.wilbert wrote:You have to start XCode (only once).
It asks you to agree to somethings. Once you are in the XCode IDE and close it, PB should run fine.
I think you are onto something here as looking at the picture in the link you provided there are three options shown:jack wrote:it may be GateKeeper, apparently it's more strict in the new OS
On my dialog window the third option is missingApp Store
App Store and identified developers
Anywhere
I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: PB not working with Xcode 8
My MacOS Sierra is set to the second option "App Store and identified developers" and doesn't complain about compiler not being loaded.fsw wrote:On my dialog window the third option is missing
I am using PB 5.42; don't know if that makes the difference.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: PB not working with Xcode 8
My MacOS Sierra is set to the second option "App Store and identified developers" as well. (...there is no third)wilbert wrote:My MacOS Sierra is set to the second option "App Store and identified developers" and doesn't complain about compiler not being loaded.fsw wrote:On my dialog window the third option is missing
I am using PB 5.42; don't know if that makes the difference.
Is the third option visible on your machine?
Installed PureBasic 5.50, 5.43LTS, 5.42LTS and all exhibit the same error message about the compiler not loaded.
Strangely enough if I right click on the PureBasic app file and "Show Package Contents" I can get into the ".app" and start the real "PureBasic" executable.
I can even compile this code:
Code: Select all
;Hello macOS Sierra.pb
; -----------------------------------------------------------
; the following line is needed since macOS Sierra
Import "-stdlib=libc++ -mmacosx-version-min=10.7" : EndImport
; -----------------------------------------------------------
;"Compiled with: Finder -> Show Package Contents of PureBasic.app -> Contents/MacOS/PureBasic"
MessageRequester("Message", "Hello macOS Sierra!")
Strange stuff...
Forum Moderator: Do we (well... you) need to move this topic to a different forum section, as it's not really "Off Topic"?
I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: PB not working with Xcode 8
the link I posted gives instructions on how to enable the third optionfsw wrote: My MacOS Sierra is set to the second option "App Store and identified developers" as well. (...there is no third)
Re: PB not working with Xcode 8
Yeah, you are right.
Didn't read the linked article all the way
Sorry for that, this will teach me!
Did this: in a terminal.
In order to make PureBasic start normally it needs to be reinstalled.
Thank you Jack!
EDIT
Did this: in a terminal in order to deactivate again.
Did this because in the link Jack provided there are also some readers comments where they suggested to use:
to selectively bypass Gatekeeper.
This seems to be the better way, as with the aforementioned spctl command the door is wide open ...all the time.
Didn't like that...
Didn't read the linked article all the way
Sorry for that, this will teach me!
Did this:
Code: Select all
sudo spctl --master-disableIn order to make PureBasic start normally it needs to be reinstalled.
Thank you Jack!
EDIT
Did this:
Code: Select all
sudo spctl --master-enableDid this because in the link Jack provided there are also some readers comments where they suggested to use:
Code: Select all
‘Ctrl+Click > “Open” in menu item’ This seems to be the better way, as with the aforementioned spctl command the door is wide open ...all the time.
Didn't like that...
I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: PB not working with Xcode 8
glad it worked for you 

