Open ghost opened 6 years ago
I have already added the library in linked framework and libraries. Also copy those command line in run script. However, the error
ld: library not found for -lqrencode.3 clang: error: linker command failed with exit code 1 (use -v to see invocation)
still here.
Hello, I am quite new to the xcode project. Is it the follow command a relative path? Should I change it before running the command and where to I find the configuration. It seem the config is a bit different now since Xcode updated many times.
cp -f ../../../addons/ofxQRCodeGenerator/lib/osx/libqrencode.3.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/libqrencode.3.dylib"; install_name_tool -change /usr/local/lib/libqrencode.3.dylib @executable_path/libqrencode.3.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME";