问题
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.
- Follow the steps provided by the Crashlytics "installer"
- Once you get the error about sqlcipher.framework
- Open Build Phases > Link Binary With Libraries
- Find sqlcipher.framework in the list and drag it to the top
- Press CMD+B again
Should pass this time.
来源:https://stackoverflow.com/questions/29420614/sqlcipher-framework-not-found-when-integrating-crashlytics-in-a-worklight-applic