Worklight - XCode 5 compilation issue

穿精又带淫゛_ 提交于 2019-12-11 19:46:39

问题


I'm using Worklight Studio 6.0 to develop an iPad app. After i run the Build for Remote Server build, i copied the zip file generated in the iPad environment and copied it over to a Macbook.

I unzip and opened the project via XCode 5, and build it, it gave me the error Apple Mach-O Linker . I also notice that under the WorklightSDK folder there's a file libWorklightStaticLibProject.a` is marked in red color, which i suspect means it failed to build the static library.

Any way to resolve this issue?

Error log:

ld: library not found for -lWorklightStaticLibProject
clang: error: linker command failed with exit code 1 (user -v to see invocation)

回答1:


Managed to get things done by upgrading my Worklight Studio to version 6.1. Not sure whether 6.0 can support XCode 5.0 or not, but here are the links to the info center page that points to the XCode versioning that i referred:

Worklight 6.0: http://pic.dhe.ibm.com/infocenter/wrklight/v6r0m0/index.jsp?topic=%2Fcom.ibm.help.doc%2Fwl_home.html

Worklight 6.1: https://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.help.doc%2Fwl_home.html



来源:https://stackoverflow.com/questions/22401671/worklight-xcode-5-compilation-issue

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