[QBS] Could not run compiled application on MacOs

Андрей Семененко admin at geo-nadir.ru
Fri Jul 3 10:04:02 CEST 2015


Hello.

My application is not run after upgrade XCode Command Line Tools to latest version. There are three binaries in my application: application and two dynamic libraries.
Application structures is changed. Before upgrade my dynamic libraries are placed directly at Contents/Frameworks directory. But after upgrade every library is at separate __lbrary__.framework directory. Thus a have an error like this:  
Starting /Users/semenenko/build-limon-Desktop_Qt_5_5_0_clang_64bit-Debug/qtc_Desktop__e049b762-debug/install-root/LiMon...
dyld: Library not loaded: @executable_path/../Frameworks/LiMonWidgets.framework/Versions/A/LiMonWidgets
Referenced from: /Users/semenenko/build-limon-Desktop_Qt_5_5_0_clang_64bit-Debug/qtc_Desktop__e049b762-debug/install-root/LiMon
Reason: image not found
The program has unexpectedly finished.
/Users/semenenko/build-limon-Desktop_Qt_5_5_0_clang_64bit-Debug/qtc_Desktop__e049b762-debug/install-root/LiMon crashed

I look like dynamic library now building as not library but framework.
How to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150703/0128495a/attachment.html>


More information about the Qbs mailing list