question

pixelelement avatar image
pixelelement asked

Amazon Mobile Ads Unity plugin not working (IOS)

I imported the Amazon Mobile Ads plugin for Unity ( https://developer.amazon.com/public/resources/development-tools/sdk ) to my Unity IOS project, but when I try to build the Xcode project (generated by Unity) I get this error: [b]/pathToMyXcodeProject/Libraries/Plugins/iOS/AMAZONAmazonMobileAdsImpl.h:25:9: 'AmazonAd/AmazonAdRegistration.h' file not found[/b] Looking at Plugins/iOS/AMAZONAmazonMobileAdsImpl.h file there are these imports: #import #import #import #import #import but these .h files are missing from the Mobile Ads plugin for Unity. Is this a bug in the Mobile Ads plugin for Unity? or am I missing something? I'll appreciate any help, thanks.
mobile ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justin avatar image
justin answered
Hi pixelelement, You'll need to add the AmazonAd.framework to your xcode project in order to solve this: Apps-SDK/iOS/Ads/AmazonAd.framework Thanks!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

pixelelement avatar image
pixelelement answered
> Hi pixelelement, > You'll need to add the AmazonAd.framework to your > xcode project in order to solve this: > Apps-SDK/iOS/Ads/AmazonAd.framework > > Thanks! The Amazon Mobile Ads Unity plugin is now working. I imported the [b]AmazonAd.framework[/b] to the Xcode project and also had to import these additional frameworks: http://i.imgur.com/aDcVq03.png Thanks!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.