Arcane Fortune Forums

Discussion of Arcane Fortune

You are not logged in.

#1 2021-01-27 05:43:57

Jacob
Guest

Error on Os X catalina

When trying to run on OS X catalina from finder, I get an error stating that the app might be malware.

"SDL2.framework" cannot be opened because the developer cannot be verified.

macOS cannot verify that this app is free from malware.

Firefox downloaded this file today at 8:53 PM from www.arcanefortune.com.


You can click on the ? mark next to that and scroll down and it says you can  load programs by ctrl-clicking and opening them to set a security flag, but this method fails to load the program. This also fails when running the script directly from finder

Moving into the game directory in the terminal, I tried to chod +x and trying to run brings up a similar error.  canceling gives the following text
dyld: Library not loaded: @rpath/SDL2.framework/Versions/A/SDL2
  Referenced from: /Users/lsiebert/Downloads/arcane_fortune_v0_3_0/game/./arcane_fortune_osx
  Reason: no suitable image found.  Did find:
    /Users/lsiebert/Downloads/arcane_fortune_v0_3_0/game/SDL2.framework/Versions/A/SDL2: code signature in (/Users/lsiebert/Downloads/arcane_fortune_v0_3_0/game/SDL2.framework/Versions/A/SDL2) not valid for use in process using Library Validation: library load disallowed by system policy
    /Users/lsiebert/Downloads/arcane_fortune_v0_3_0/game/SDL2.framework/Versions/A/SDL2: stat() failed with errno=1
Abort trap: 6

I think the below link may be helpful but I didn't try it, I've already put in time just trying to get the game going and I'm not going to start typing commands to mess with libraries in in the hopes of fixing things. But I figured you'd appreciate a bug report.

Oh and the chmod commands for os x haven't been updated to the latest version in the help.txt

https://stackoverflow.com/questions/177 … -not-found

#2 2021-01-27 06:20:04

Darin
Administrator
Registered: 2020-08-04
Posts: 73

Re: Error on Os X catalina

Thanks for the bug report and for looking into this.

I normally do not use OS X and am not incredibly familiar with building programs on that OS. I think, by default, they give those notices for every GUI program that isn't codesigned by an "identified Apple developer", which I'm not.
https://support.apple.com/guide/mac-hel … h40616/mac

I vaguely remember coming up on this issue before with v0.2.0, and I think it can be fixed by running:

codesign -f -s - SDL2.framework/Versions/A/SDL2
codesign -f -s - SDL2_image.framework/Versions/A/SDL2_Image
codesign -f -s - SDL2_ttf.framework/Versions/A/SDL2_ttf

from within the "arcane_fortune_v0_3_0/game" directory. I suspect I forgot to do that for v0.3.0.

Alternatively, (I think) the problem won't occur if one runs the `arcane_fortune_osx_ncurses.command` file, because I don't think OS X requires code signing for console-based programs.

In any case, I'll attempt the above when I get access to an OS X machine again, but figured I'd post what I know in case anyone also has this issue in the interim.

Offline

Quick reply

Write your message and submit
Are you human or robot?

Checking if this is requested by a real person and not an automated program.

Board footer

Powered by FluxBB