Facebook module is no longer 64 bit in appcelerator 5.2GA

吃可爱长大的小学妹 提交于 2019-12-04 02:04:00

问题


The Facebook module has stopped working. I am working on a tituanium app in appcelerator.

When I try to build my app, I get the following error:

[INFO] : Invoking xcodebuild
[ERROR] : * BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/Intermediates/Game.build/Debug-iphoneos/Game.build/Objects-normal/armv7/Game normal armv7
[ERROR] : Ld build/Intermediates/Game.build/Debug-iphoneos/Game.build/Objects-normal/arm64/Game normal arm64
[ERROR] : (2 failures)

I managed the to isolate the problem with the Facebook module, it is no longer 64 bit. How can I resolve this? This was working fine before the latest update.


回答1:


The new version of ti.facebook iOS was released just today and can be downloaded here: https://github.com/appcelerator-modules/ti.facebook/releases/tag/ios-5.1.0

The error was not related to the arch's, but to the UIApplicationOpenURLOptionsAnnotationKey constant that was only iOS 9 and so not working with Xcode < 7. That is now fixed as well. Thanks!




回答2:


If needed, you can download previous version of Facebook module here : https://github.com/appcelerator-modules/ti.facebook/releases




回答3:


I have the same error and tho is the log of the build where the error is evident...

anD I also tried version 5.0.0 of the pluGin agaIn whit no luck

[TRACE] Undefined symbols for architecture x86_64: [TRACE] "_UIApplicationOpenURLOptionsAnnotationKey", referenced from: [TRACE] -[FacebookModule handleRelaunch] in libfacebook.a(FacebookModule.o) [TRACE] ld: symbol(s) not found for architecture x86_64 [TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] ** BUILD FAILED **

please dOnT erase this responSe



来源:https://stackoverflow.com/questions/35866021/facebook-module-is-no-longer-64-bit-in-appcelerator-5-2ga

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