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

Integrating xcconfig files into a user's project that has no base configurations yet can fail. #2752

Closed
alloy opened this issue Oct 29, 2014 · 1 comment
Labels
d2:moderate A moderately-difficult ticket that may require a bit of knowledge about the codebase s3:detailed Issues with in-depth explanations and examples that make it easier to troubleshoot t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!

Comments

@alloy
Copy link
Member

alloy commented Oct 29, 2014

When using link_with to link into a second target and that target does not have a base configuration yet, this code will raise a warning.

I have a local fix for this, just need to look at the tests first and if I’m overlooking anything else.


This can be seen in this code+branch: https://bitbucket.org/alloy020/gba4ios/branch/issue%2F7. Remove e.g. the Pods.debug.xcconfig from the GBA4iOS-Simulator target:

screen shot 2014-10-29 at 14 17 18

And run pod install:

[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `GBA4iOS-Simulator` to `Pods/Target Support Files/Pods/Pods.debug.xcconfig` or include the `Pods/Target Support Files/Pods/Pods.debug.xcconfig` in your build configuration.
@alloy alloy added t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome! s3:detailed Issues with in-depth explanations and examples that make it easier to troubleshoot d2:moderate A moderately-difficult ticket that may require a bit of knowledge about the codebase labels Oct 29, 2014
@alloy alloy closed this as completed in 7ae3875 Oct 29, 2014
@ianfmc ianfmc mentioned this issue Feb 17, 2015
@shalomfriss
Copy link

worked for me, I have a lot of configurations, I set all of them to none, ran pod install, warnings are gone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d2:moderate A moderately-difficult ticket that may require a bit of knowledge about the codebase s3:detailed Issues with in-depth explanations and examples that make it easier to troubleshoot t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Projects
None yet
Development

No branches or pull requests

2 participants