简体   繁体   English

Worklight 6.0.0.1 iOS Native Library仅适用于ARMv7而不适用于ARMv7和ARM64?

[英]Worklight 6.0.0.1 iOS Native Library only for ARMv7 and not for ARMv7s and ARM64?

When we build for iOS devices we seem to be limited to armv7 architecture because the sqlcipher.framework (included with worklight) isn't built for more modern architectures (armv7s, arm64) 当我们为iOS设备构建时,我们似乎仅限于armv7架构,因为sqlcipher.framework(包含在worklight中)不是为更现代的架构而构建的(armv7s,arm64)

We have to manually change the target architecture in XCode5 to enable the project to build with the worklight library. 我们必须在XCode5中手动更改目标体系结构,以便使用worklight库构建项目。 With the default settings there are "slices missing" and the build fails 使用默认设置时,“片段丢失”并且构建失败

Is that known and is there a plan to provide the iOS Worklight library for the modern processor architectures? 这是否已知,是否有计划为现代处理器架构提供iOS Worklight库?

That's a true statement, the library currently only supports armv7. 这是一个真实的陈述,图书馆目前只支持armv7。 All Worklight-supported Apple devices are covered under that architecture. 所有受Worklight支持的Apple设备都包含在该体系结构中。

You can write a feature request here . 您可以在此处撰写功能请求。 I am unable to comment on future plans. 我无法对未来的计划发表评论。

You could try to re-compile sqlcipher , it's open source. 您可以尝试重新编译sqlcipher ,它是开源的。 Please share the outcome for future readers. 请分享未来读者的结果。

Edit - January 30, 2014: The following workaround is not officially supported . 编辑 - 2014年1月30日:以下解决方法未得到官方支持 You can use the script here to create an ARMv7s slice for SQLCipher and the other ARM7-only libraries your project depends on (eg libWorklightStaticLibProjectNative.a). 您可以使用此处的脚本为SQLCipher和项目所依赖的其他仅ARM7库(例如libWorklightStaticLibProjectNative.a)创建ARMv7s片。 Everything in your project needs to have an ARMv7s slice in order for the linker to generate the binary of your app. 项目中的所有内容都需要具有ARMv7s片段,以便链接器生成应用程序的二进制文件。 However, it's also worth mentioning that you will probably not see big changes in performance unless you make heavy use of floating point math, read more here . 但是,值得一提的是,除非你大量使用浮点数学,否则你可能不会看到性能上的重大变化,请在此处阅读更多内容。

Indeed to confirm (I'd add this as a comment, but the SO rep isn't there for me), we had to remove the arm7s and arm64 from "Valid Architectrues". 确实要确认(我将其添加为评论,但SO代表不适合我),我们不得不从“有效的Architectrues”中删除arm7s和arm64。

in addition set the iOS Deployment Target to 6.0 (in my case would get link errors from the WL library when set to 7.0, though my colleague got it to build in 7.0, but the lib would crash, then working in 7.1. However in 7.1 running with arm7 caused the app to run really slow (note we weren't using any WL classes yet, just adding the library). Removing the WL lib and compiling for arm64 and everything was smooth again. 另外将iOS部署目标设置为6.0(在我的情况下,当设置为7.0时,会从WL库中获取链接错误,尽管我的同事让它在7.0中构建,但是lib会崩溃,然后在7.1中工作。但是在7.1中使用arm7运行导致应用程序运行速度非常慢(注意我们还没有使用任何WL类,只需添加库)。删除WL库并编译arm64,一切都很顺利。

In our case we're on 6.1.0.1 在我们的例子中,我们在6.1.0.1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 arm64 armv7 armv7s架构设置 - arm64 armv7 armv7s Architectures settings 在Armv7,Arv7和arm64中使用Linphone - Use Linphone in Armv7s, Armv7 and arm64 具有i386 x86_64 armv7 armv7s arm64的通用IOS静态库 - universal IOS static library with i386 x86_64 armv7 armv7s arm64 适用于armv7,armv7s和arm64的iOS开源构建 - iOS open source build for armv7 , armv7s ,arm64 为armv7,armv7s,arm64,i386和通用构建ffmpeg iOS库 - Building ffmpeg iOS libraries for armv7, armv7s, arm64, i386 and universal 适用于iOS的leptonica 1.69交叉编译(armv7,armv7s和arm64) - leptonica 1.69 crosscompile for iOS (armv7, armv7s and arm64) armv7,armv7s和arm64的ipa存档版本无法安装到iOS 5.1.1设备 - ipa archive build for armv7, armv7s and arm64 cannot be installed to iOS 5.1.1 devices 如果仅针对armv7和armv7s编译应用程序,则在arm64设备上运行时会使用什么大小的数据类型? - If app is compiled only for armv7 and armv7s, what size data types does it use when running on an arm64 device? 构建多个体系结构的框架(arm64,armv7,armv7s) - Build framework for multiple architectures (arm64, armv7, armv7s) 警告:架构的armv7 armv7s'不包含所有必需的架构'arm64' - Warning: architectures 'armv7 armv7s' didn't contain all required architectures 'arm64'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM