googleads / googleads-consent-sdk-ios

Consent SDK
https://developers.google.com/admob/ios/eu-consent
Apache License 2.0
31 stars 47 forks source link

Xcode 10.1 and pod sport #31

Open bslguy opened 5 years ago

bslguy commented 5 years ago

Hi,

I'm using Xcode 10.1, and added 'PersonalizedAdConsent' to my Podfile.

I have my platform set to 12.1, since it'll be required as of March 2019.

I'm getting two warnings and one error:

Warnings:

The iOS Simulator deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'PersonalizedAdConsent')

The iOS Simulator deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'PersonalizedAdConsent-PersonalizedAdConsent')

file not found error when I try and import the include file:

import <PersonalizedAdConsent/PersonalizedAdConsent.h>

Now, eventually, Xcode gets around to giving me a warning to "update to recommended settings for the Pods.xcodeproj, saying

Target 'PersonalizedAdConsent' - Update iOS Deployment Target An iOS Deployment Target earlier than 8.0 is not supported by this version of Xcode. This will update the value for Target 'PersonalizedAdConsent' to '8.0'

and

Target 'PersonalizedAdConsent-PersonalizedAdConsent' - Update iOS Deployment Target An iOS Deployment Target earlier than 8.0 is not supported by this version of Xcode. This will update the value for Target 'PersonalizedAdConsent-PersonalizedAdConsent' to '8.0'

if I click "Perform Changes", clean the build folder, and then try to recompile, the warnings go away, but it still can't find the file to import.