ios - FBAudienceNetwork v4.1.0 Build Error -
i tried include fbaudiencenetwork.framework
because want display banner/interstitial ad unit in app. app gave me several errors.
error
undefined symbols architecture armv7:
"_objc_class_$_cicontext", referenced from:
objc-class-ref in fbaudiencenetwork(fbadutility.o)
"_objc_class_$_cifilter", referenced from:
objc-class-ref in fbaudiencenetwork(fbadblurredimageview.o)
objc-class-ref in fbaudiencenetwork(fbadutility.o)
"_kciinputimagekey", referenced from:
___65-[fbadblurredimageview sliceimage:withaspectratioinfo:withblock:]
_block_invoke42 in fbaudiencenetwork(fbadblurredimageview.o)
+[fbadutility(fbadviewutility) blurimage:withradius:]
in fbaudiencenetwork(fbadutility.o)
"_objc_class_$_eaglcontext", referenced from:
objc-class-ref in fbaudiencenetwork(fbadutility.o)
"_kcicontextworkingcolorspace", referenced from:
+[fbadutility(fbadviewutility) blurimage:withradius:]
in fbaudiencenetwork(fbadutility.o)
"_kciinputscalekey", referenced from:
___65-[fbadblurredimageview sliceimage:withaspectratioinfo:withblock:]
_block_invoke42 in fbaudiencenetwork(fbadblurredimageview.o)
"_objc_class_$_ciimage", referenced from:
objc-class-ref in fbaudiencenetwork(fbadblurredimageview.o)
objc-class-ref in fbaudiencenetwork(fbadutility.o)
ld: symbol(s) not found architecture armv7
clang: error: linker command failed exit code 1 (use -v see invocation)
framework
- mediaplayer - coremedia - systemconfiguration - coretelephony - avfoundation - storekit - coremotion - adsupport - foundation - coregraphics - uikit - libc++.dylib - libz.dylib
setting
architecture : $(archs_standard_including_64_bit) deployment target : 7.0 fbaudiencenetwork version : v4.1.0
additionally, need include bolts.framework using audience network?
after including it, errors gone.
wonder if bolts.framework needed.
(when use fbaudiencenetwork
v3.23, these error not occurred)
i found out solution.
i changed project setting.
apple llvm 6.0 - language - modules : enable modules (c , objective-c) => yes
hope helpful developers use facebook's audience network.
Comments
Post a Comment