extension-steam icon indicating copy to clipboard operation
extension-steam copied to clipboard

Building on MacOS through Editor

Open Qwarr opened this issue 1 year ago • 4 comments
trafficstars

I'm guessing this is just a setup issue with defold and the extension for mac but I get this error when trying to run the example:

dyld: Library not loaded: @loader_path/libsdkencryptedappticket.dylib
  Referenced from: /Users/username/Desktop/Downloads/extension-steam-master/build/x86_64-osx/dmengine
  Reason: image not found

I've copied the files in steam/lib/osx/*.dylib to /usr/local/lib

Qwarr avatar Nov 30 '23 03:11 Qwarr

Issues were on this machine:

  • had to do sudo -s then cd /usr/local/ mkdir lib to create the lib folder first, then copy the macOS dylib files over
  • had to do sudo spctl --master-disable to allow the dylib files to be able to be used

Docs should be updated with better instructions

Qwarr avatar Nov 30 '23 04:11 Qwarr

  • had to do sudo spctl --master-disable to allow the dylib files to be able to be used

Hmm, but isn't that disabling Gatekeeper completely? What kind of error did you get?

britzl avatar Nov 30 '23 09:11 britzl

dylib library load not allowed by system

Qwarr avatar Nov 30 '23 18:11 Qwarr

We don't setup any shared library folders when launching the game from the Editor, so it'll have to be a feature request (as it needs some design).

JCash avatar Nov 30 '23 19:11 JCash

Depends on https://github.com/defold/defold/issues/3334

britzl avatar Jan 06 '25 14:01 britzl

Fixed

AGulev avatar Feb 22 '25 16:02 AGulev