Codesign libdbexpsqlite40.dylib on OSX
Posted: Wed 21 May 2014 09:15
Hello,
i have an application in delphi xe4. Its a firemonkey program for work on windows and osx. The program itself works fine, but now i want to send it to my customers as a link (for download).
For this, i have to sign the osx-app. Otherwise, the customers cannot open the app (i know, they can open it, if they disable the security mechanism).
When i use codesign on my app, i will get the following message:
sudo codesign -f -v --deep -s "Developer ID Application: xxxxx" "NfLeBookOSX.app"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: file not in an order that can be processed (local relocation entries out of place): /Users/saschatobler/RADPAServer/scratch-dir/Sascha Tobler-Sascha OSX2/NfLeBookOSX.app/Contents/MacOS/libdbexpsqlite40.dylib
NfLeBookOSX.app: the codesign_allocate helper tool cannot be found or used
In subcomponent: /Users/saschatobler/RADPAServer/scratch-dir/Sascha Tobler-Sascha OSX2/NfLeBookOSX.app/Contents/MacOS/libdbexpsqlite40.dylib
If i remove the libdbexpsqlite40.dylib, the codesign works fine, but now, i cannot use the program anymore, because i have not longer access to the database (of course not).
I dont have this problems with other dylibs - just with the sqlite dylib.
Do you have any suggestion what i can do?
Best regards
Sascha
i have an application in delphi xe4. Its a firemonkey program for work on windows and osx. The program itself works fine, but now i want to send it to my customers as a link (for download).
For this, i have to sign the osx-app. Otherwise, the customers cannot open the app (i know, they can open it, if they disable the security mechanism).
When i use codesign on my app, i will get the following message:
sudo codesign -f -v --deep -s "Developer ID Application: xxxxx" "NfLeBookOSX.app"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: file not in an order that can be processed (local relocation entries out of place): /Users/saschatobler/RADPAServer/scratch-dir/Sascha Tobler-Sascha OSX2/NfLeBookOSX.app/Contents/MacOS/libdbexpsqlite40.dylib
NfLeBookOSX.app: the codesign_allocate helper tool cannot be found or used
In subcomponent: /Users/saschatobler/RADPAServer/scratch-dir/Sascha Tobler-Sascha OSX2/NfLeBookOSX.app/Contents/MacOS/libdbexpsqlite40.dylib
If i remove the libdbexpsqlite40.dylib, the codesign works fine, but now, i cannot use the program anymore, because i have not longer access to the database (of course not).
I dont have this problems with other dylibs - just with the sqlite dylib.
Do you have any suggestion what i can do?
Best regards
Sascha