I try to integrate Cocos Creator with Facebook audience network, by default Cocos Creator generate Podfile for platform ios 8.0 and FBAudienceNetwork v4.99.3, but this lib is out of date so I want to update it to v5.x.
I change Podfile to ios 9.0 as below then execute ‘pod update’ command.
platform :ios, '9.0'
The lib was updated but cocos creator can not build with new lib.
This is the error when I built by xCode,
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_FBSDKBasicUtility", referenced from: objc-class-ref in hello_world-mobile_lto.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help me to fix it.