Closed zdavatz closed 5 years ago
building from Xcode with target miele-lxiv
"scheme", not "target"
You need to build "miele-lxiv" scheme, "Development" configuration
is this good or bad?
dyld: Library not loaded: /Users/zdavatz/software/miele-lxiv/install/miele-20190321_2029/jpeg-9b/lib/libjpeg.9.dylib
Referenced from: /Users/zdavatz/software/miele-lxiv/source/miele-20190321_2029/miele-7.1.38/build/Development/miele-lxiv.app/Contents/MacOS/miele-lxiv
Reason: no suitable image found. Did find:
/Users/zdavatz/software/miele-lxiv/install/miele-20190321_2029/jpeg-9b/lib/libjpeg.9.dylib: code signature in (/Users/zdavatz/software/miele-lxiv/install/miele-20190321_2029/jpeg-9b/lib/libjpeg.9.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/Users/zdavatz/software/miele-lxiv/install/miele-20190321_2029/jpeg-9b/lib/libjpeg.9.dylib: code signature in (/Users/zdavatz/software/miele-lxiv/install/miele-20190321_2029/jpeg-9b/lib/libjpeg.9.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
(lldb)
To avoid this type of error you are encouraged to build and run a configuration that doesn't require signing
Building from commandline works if you start the deployment version.
built with: xcodebuild -configuration Development -target miele-lxiv