IBM Worklight 6.1.01 Objective C库是否支持iOS 7 armv7s架构? [英] Do IBM Worklight 6.1.01 Objective C libraries support iOS 7 armv7s architecture?

查看:132
本文介绍了IBM Worklight 6.1.01 Objective C库是否支持iOS 7 armv7s架构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Objective C代码中的Worklight 6.1.0.1 Objective C库来调用Worklight适配器。

I am trying to use the Worklight 6.1.0.1 Objective C libraries from Objective C code to call the Worklight adapter.

当我在我的代码中引用库并将libWorklightStaticLibProject.a添加到我的项目并编译我的iOS 7.1 iPhone5手机(armv7s架构)时,我继续遇到编译错误。

I continue to get compile errors when I reference the libraries in my code and add libWorklightStaticLibProject.a to my project and compile for my iOS 7.1 iPhone5 phone (armv7s architecture).

编译器错误是:
ld:文件是通用的(2个切片)但不包含(n)armv7s切片:/ Users / uname / dev /acct/cordova/platforms/ios/WorklightSDK/libWorklightStaticLibProject.a文件'/Users/uname/dev/acct/cordova/platforms/ios/WorklightSDK/libWorklightStaticLibProject.a'用于体系结构armv7s
clang:error:linker命令退出代码1失败(使用-v查看调用)

The compiler error is: ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/uname/dev/acct/cordova/platforms/ios/WorklightSDK/libWorklightStaticLibProject.a file '/Users/uname/dev/acct/cordova/platforms/ios/WorklightSDK/libWorklightStaticLibProject.a' for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)

我已将.a文件包含在我的库列表中。我的部署目标操作系统是iOS 5.1.1。 Build Active Architecture(用于调试)设置为YES。有效的架构是arm64,armv7和armv7s。

I have included the .a file in my list of libraries. My deployment target OS is iOS 5.1.1. Build Active Architecture (for debug) is set to YES. Valid architectures are arm64, armv7, and armv7s.

如果删除armv7s,我无法构建当前架构(armv7s)。如果我为armv7s构建,我会收到警告:Worklight库不包含armv7s体系结构的片段。

If I remove armv7s I cannot build for the current architecture (armv7s). If I build for armv7s I get this warning that the Worklight libraries do not contain a slice for the armv7s architecture.

推荐答案

armv7s IBM Worklight目前不支持体系结构。

这适用于Worklight 6.1.0.x之前的所有Worklight版本。

The armv7s architecture is not supported by IBM Worklight at this time.
This is true to all Worklight versions up to Worklight 6.1.0.x.

您可以看一下使用iPhone / iPad环境的新应用程序的Xcode项目架构配置,以获得正确且可正常运行的架构配置。

You can take a look at the Xcode project architecture configuration of a new app with the iPhone/iPad environment for a correct and working architecture configuration.

这篇关于IBM Worklight 6.1.01 Objective C库是否支持iOS 7 armv7s架构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆