Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pod_target_xcconfig instead of xcconfig in the podspec #68

Closed
mkval opened this issue Sep 5, 2017 · 3 comments
Closed

Use pod_target_xcconfig instead of xcconfig in the podspec #68

mkval opened this issue Sep 5, 2017 · 3 comments

Comments

@mkval
Copy link

mkval commented Sep 5, 2017

Hi there,

First of all, thanks for this awesome library. :)

After adding it to my project via CocoaPods, I noticed some warnings for both Debug and Release configs:

[!] The `MyProject [Debug]` target overrides the `SWIFT_VERSION` build setting defined in `Pods/Target Support Files/Pods-MyProject/Pods-MyProject.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `MyProject [Release]` target overrides the `SWIFT_VERSION` build setting defined in `Pods/Target Support Files/Pods-MyProject/Pods-MyProject.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

Googling led me to CP's Github page that detailed the issue. The advice they gave was to file an issue with the Pod suggesting the usage of pod_target_xcconfig instead of xcconfig in the podspec.

Here's a detailed report made by one of CP's maintainers.

Thanks.

@weakfl
Copy link

weakfl commented Sep 27, 2017

+1

@melvitax
Copy link
Owner

Thanks for the heads up. Fixed here: fcdbd2f

@mkval
Copy link
Author

mkval commented Oct 16, 2017

Thanks @melvitax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants