Page 1 of 1

SFS2XAPIOSX.framework v 1.7.16

Posted: 11 Nov 2025, 18:29
by mmilen
Hi,

Just tried to update to SFS2XAPIOSX.framework v 1.7.16, and run into runtime trouble the library is not found. The problem seems to be hard code framework install path.

The framework’s install name is hard-coded to /Library/Frameworks/
This is my old library
Milens-iMac-2019:SharkBridge milen$ otool -D ./SFS2XAPIOSX.framework/SFS2XAPIOSX
./SFS2XAPIOSX.framework/SFS2XAPIOSX:
@executable_path/../Frameworks/SFS2XAPIOSX.framework/SFS2XAPIOSX

This is the output for 1.7.16
Milens-iMac-2019:SharkBridge milen$ cd ~/Downloads
Milens-iMac-2019:Downloads milen$ otool -D ./SFS2XAPIOSX.framework/SFS2XAPIOSX
./SFS2XAPIOSX.framework/SFS2XAPIOSX:
/Library/Frameworks/SFS2XAPIOSX.framework/Versions/A/SFS2XAPIOSX

Re: SFS2XAPIOSX.framework v 1.7.16

Posted: 12 Nov 2025, 10:02
by Lapo
Hi,
I don't get that result. I downloaded the 1.7.16 from our website and run:

Code: Select all

> otool -D SFS2XAPIOSX
SFS2XAPIOSX (architecture x86_64):
/Library/Frameworks/SFS2XAPIOSX.framework/Versions/A/SFS2XAPIOSX
SFS2XAPIOSX (architecture arm64):
/Library/Frameworks/SFS2XAPIOSX.framework/Versions/A/SFS2XAPIOSX

Which is the install path that has always been used since the early versions. This was tested under Ventura and Sonoma, same result.

Cheers

Re: SFS2XAPIOSX.framework v 1.7.16

Posted: 12 Nov 2025, 19:52
by mmilen
Exactly the path you are getting requires the framework to be in one of the computers Library paths. When the app is build for App Store the frame work is signed and embeded with the App package.

/Library/Frameworks/SFS2XAPIOSX.framework/Versions/A/SFS2XAPIOSX

it should be relative

./SFS2XAPIOSX.framework/SFS2XAPIOSX:
@executable_path/../Frameworks/SFS2XAPIOSX.framework/SFS2XAPIOSX


Why back then this was an issue and you release a proper embedible framework.

Below is the plist.info file of my current framework version, no idea which number it is , it is at least a coupe of release old
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>15G22010</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>SFS2XAPIOSX</string>
<key>CFBundleIdentifier</key>
<string>com.gotoandplay.SFS2XAPIOSX</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>SFS2XAPIOSX</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>8C1002</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>16C58</string>
<key>DTSDKName</key>
<string>macosx10.12</string>
<key>DTXcode</key>
<string>0821</string>
<key>DTXcodeBuild</key>
<string>8C1002</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2015 gotoAndPlay(). All rights reserved.</string>
</dict>
</plist>

Re: SFS2XAPIOSX.framework v 1.7.16

Posted: 13 Nov 2025, 07:17
by Lapo
Why back then this was an issue and you release a proper embedible framework.

Can you clarify what version are you referring to? Back then when?

Meanwhile if you're having issues with the install path you can use the install_name_tool utility which is part of the XCode tools.
https://www.unix.com/man_page/osx/1/install_name_tool/
(or just use `man install_name_tool` at the terminal)

Thanks

Re: SFS2XAPIOSX.framework v 1.7.16

Posted: 02 Dec 2025, 07:06
by mmilen
Lapo wrote: 13 Nov 2025, 07:17
Why back then this was an issue and you release a proper embedible framework.
Can you clarify what version are you referring to? Back then when?

Meanwhile if you're having issues with the install path you can use the install_name_tool utility which is part of the XCode tools.
https://www.unix.com/man_page/osx/1/install_name_tool/
(or just use `man install_name_tool` at the terminal)

Thanks
You are right we have updated the library path with the install_name_tool . Found my build notes :). Sorry for troubling you.