Facebook module is no longer 64 bit in appcelerato

2020-03-31 03:14发布

问题:

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