My software contains a binary file (.app) and a library file (.dylib).
Both are compiled with PB 5.73.
They are signed (with hardened runtime option).
A DMG is made with these files.
The DMG is signed and notarized (with my Apple ID developper)
No problem until now.
The DMG is uploaded on internet.
I download the DMG from internet.
I extract the folder with the app & dylib files.
When i run the app file, there is the following error message "error loading library 'xxx.dylib !' (means "OpenLibrary() returns 0)'.
Does somebody know what i am missing ?
Some remarks
If i import the same DMG file from my local network (not internet), there is no problem.
The signature check for the dylib file command shows: "Info.plist=not bound".
But in my opinion, it is not possible to embeed a plist file with a dylib file.
The notarization procedure shows this message:
But i think this is just a warning not important because the app file works correctly when it is packaged without the dylib file.2020-12-04 10:30:41.505 altool[4134:88747] CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
No errors uploading 'xxxxx.dmg'.
RequestUUID = 16f31155-3115-4468-930e-c0446828b706