PureBasic APP not running on other Macs
PureBasic APP not running on other Macs
I am able to run my PureBasic Mac code on my 2 Macs 10.7.5 (PureBasic 5.40 & Xcode 4.6.2) and 10.9.5 (PureBasic 5.40 & Xcode 6.1.1) interchangeably.
But when I compile on the 10.9.5 I can run the APP on the 10.7.5, but the APP compiled on the 10.7.5 cannot run on the 10.9.5. The security settings on both Macs is "Allow applications downloaded from ANYWHERE".
Why?
But when I compile on the 10.9.5 I can run the APP on the 10.7.5, but the APP compiled on the 10.7.5 cannot run on the 10.9.5. The security settings on both Macs is "Allow applications downloaded from ANYWHERE".
Why?
Re: PureBasic APP not running on other Macs
Whats happent when you run the 10.9.5 compled App on 10.7?
macOS Catalina 10.15.7
Re: PureBasic APP not running on other Macs
It does not launch. The icon animates but nothing happens. If I try to run the app inside the show folder contents it opens an empty terminal window.Wolfram wrote:Whats happent when you run the 10.9.5 compled App on 10.7?
Re: PureBasic APP not running on other Macs
Can you show the main part of you code?
macOS Catalina 10.15.7
Re: PureBasic APP not running on other Macs
It is the same for any code even simple open window does not work. If compiled on the Lion it will run on the Lion but not the Mavericks. But if compiled on the Mavericks it will run on both.Wolfram wrote:Can you show the main part of you code?
Code: Select all
OpenWindow(0, 100, 100, 100, 100, "")
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindowRe: PureBasic APP not running on other Macs
These two lines must work.
Try to do right click on your app and choose open.
Try to do right click on your app and choose open.
macOS Catalina 10.15.7
Re: PureBasic APP not running on other Macs
@Wolfram Thank you for your help but right click open is the same as double click.Wolfram wrote:These two lines must work.
Try to do right click on your app and choose open.
Re: PureBasic APP not running on other Macs
Better you run it from the command line. Maybe the output tells you something?
Re: PureBasic APP not running on other Macs
I tried to run it from Terminal but it says "command not found". I cd to Contents and MacOS but still "command not found".Kukulkan wrote:Better you run it from the command line. Maybe the output tells you something?
Re: PureBasic APP not running on other Macs
coder14,
go to the folder:
run it using ./ (dot slash):
Post the result here.
go to the folder:
Code: Select all
cd /Applications/your.app/Contents/MacOS/Code: Select all
./yourAppNameRe: PureBasic APP not running on other Macs
Got something!!Kukulkan wrote:coder14,
go to the folder:
run it using ./ (dot slash):Code: Select all
cd /Applications/your.app/Contents/MacOS/Post the result here.Code: Select all
./yourAppName
With the dot slash I get "Permission denied". The security is set to "Allow apps downloaded from Anywhere".
Re: PureBasic APP not running on other Macs
My security is set to default and no problems with downloaded APP´s
Check with DMG-Creater. http://dmgcreator.sourceforge.net
Perhaps the security settings are copied.
Check with DMG-Creater. http://dmgcreator.sourceforge.net
Perhaps the security settings are copied.
My Projects EventDesigner V3 / ThreadToGUI / OOP-BaseClass / Windows: Module ActiveScript
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
Re: PureBasic APP not running on other Macs
No, if some thing is wrong with the security settings a window will pop up and ask "these program runs the first time on your mac. do you want to allow that?"coder14 wrote:@Wolfram Thank you for your help but right click open is the same as double click.Wolfram wrote:These two lines must work.
Try to do right click on your app and choose open.
If this doesn't help, check the permission of your app. You can do this easily with Batchmod.
http://www.lagentesoft.com/batchmod/index.html
macOS Catalina 10.15.7
Re: PureBasic APP not running on other Macs
try setting the executable bit
Code: Select all
chmod +x /Applications/your.app/Contents/MacOS/YourApp

