Mac deployment tool requires three dylib files to be saved under /usr folder The link below explains it under section named "Using QT's Mac Deployment Tool".https://developers.arcgis.com/qt/latest/cpp/guide/deploy-your-app.htm
I tried manually copying libEsriRuntimeQt.dylib under that folder because it was not copied and came across the following issue, that folder does not allow me to modify it.https://apple.stackexchange.com/questions/237778/cant-write-to-usr-even-with-sudoDoes anyone have a solution for this? Long story short, I think my final .app file would work fine if I had a way to just put that dylib file into it.Best,S
Here's some more content on my issue. I ran the following command from my release folder:$HOME/Qt/5.12.2/clang_64/bin/macdeployqt QGroundControl.app -verbose=2
I can see the following error on in the output. ERROR: no file at "usr/lib/libEsriCommonQt.dylib"I think this error is a result of linking operation failing due to write access limitation of the System Integrity whatever ...Best,S
Hi Selim,
If you try
$HOME/Qt/5.12.2/clang_64/bin/macdeployqt QGroundControl.app -verbose=2 -libpath=$HOME/ArcGIS/<version>/sdk/macOS/x64/lib
Does that work?
That didn't work but after searching some more online I managed to get some builds working using following two commands:otool -L QGroundControl.app/Contents/MacOS/QGroundControl
install_name_tool -change libEsriCommonQt.dylib @rpath/libEsriCommonQt.dylib ./QGroundControl.app/Contents/MacOS/QGroundControlThe issue is with mapping the dylib into the executable one way or the other.By the way, thanks for rapid responses. I really appreciate the developer community here at Esri!S
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.