Worklight - XCode 5 compilation issue

2019-09-01 09:29发布

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条回答
叛逆
2楼-- · 2019-09-01 09:54

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

查看更多
登录 后发表回答