Software Archive
Read-only legacy content
17061 Discussions

Facebook Audience Network plugin

Frosty_Elk
Beginner
410 Views

I'm using the plugin "cordova-plugin-facebookads" for FB Ads but got in to some problems with the iOS build.

Setup is XDK v2727 using CLI 5.1.1 for iOS build. The only plugin is "cordova-plugin-facebookads" and the automatic dependencies.

Part of the build log looks like this:
In file included from HelloFrosty/Plugins/cordova-facebook-audnet-sdk/FBAudienceNetwork.framework/Headers/FBAudienceNetwork.h:21:

HelloFrosty/Plugins/cordova-facebook-audnet-sdk/FBAudienceNetwork.framework/Headers/FBAdChoicesView.h:40:39: error: unknown property attribute 'nullable'
@property (nonatomic, weak, readonly, nullable) UILabel *label;
                                      ^
HelloFrosty/Plugins/cordova-facebook-audnet-sdk/FBAudienceNetwork.framework/Headers/FBAdChoicesView.h:62:4: error: expected a type


ERROR building one of the platforms: Error: .../HelloFrosty/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project

I did the same build locally on a Mac with CLI 5.1.1 and Xcode 7.1.1 and it builds and runs ok so my guess is that the XDK is using an old Xcode version?

Any ideas?

 

 

 

0 Kudos
1 Reply
John_H_Intel2
Employee
410 Views

Correct. Currently the XDK builds with a version of xCode 6. I can not provide a date when it will be updated to xCode 7.

0 Kudos
Reply