sqlcipher framework not found when integrating Crashlytics in a Worklight application

五迷三道 提交于 2019-12-10 11:06:43

问题


I tried to integrate Crashlytics for iOS into an IBM Worklight 6.1 project, but I have got an error related to sqlcipher.framework.

Does this means that Crashlytics and Worklight are not compatible?

For info, you can know more about Crashlytics at: https://get.fabric.io/crashlytics

The error that I am getting is:

ld: warning: directory not found for option '-F"/Users/myUsername/MyProjectPath/ProjectName/apps/AppName/iphone/native/Frameworks"'
ld: framework not found sqlcipher
clang: error: linker command failed with exit code 1 (use -v to see invocation)

回答1:


I got it to work in a Hyrid app.

  1. Follow the steps provided by the Crashlytics "installer"
  2. Once you get the error about sqlcipher.framework
  3. Open Build Phases > Link Binary With Libraries
  4. Find sqlcipher.framework in the list and drag it to the top
  5. Press CMD+B again

Should pass this time.



来源:https://stackoverflow.com/questions/29420614/sqlcipher-framework-not-found-when-integrating-crashlytics-in-a-worklight-applic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!