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
Wrong LIBRARY_SEARCH_PATHS after updating pods #1321
Comments
Updated ViewDeck podspec to 2.2.3.
Is this issue still relevant? |
Yes, I've updated CocoaPods and after updating pods in the project still having same issue. |
So for other reasons we are not using the includes anymore: How the paths in the
|
Here is the content of
Path is the same. |
It looks like your target is defining the |
Removing this setting or changing it to I don't understand, why adding |
Also setting |
I strongly doubt it because we don't touch the settings of the user target. That is what the xcconfig is for.
Try clearing the setting in your target and then copy and paste the contents of the |
@irrationalfab Would it be possible (with a small CocoaPods design change) to prevent changes to so many files when you add or remove a pod? As described in this issue: adding a pod causes all the xcconfigs to change their HEADER_SEARCH_PATHs, quite distracting in a code diff. I understand the need for flexibility, can't we reduce the number of files and duplicate definitions a bit? For example: I have one target with the TestFlight pod and one without. All the xcconfigs are exactly the same for the second target. Would it be possible to say: heck just use the same xcconfig unless I have defined a xcconfig (overwrite) for that target-pod? |
Perhaps we could set a recursive HEADER_SEARCH_PATH and use symbolic folder links? Something like: HEADER_SEARCH_PATH="$PODS_ROOT/$TARGET/HEADERS/**" Target A: Target B |
I am also having trouble getting my project to build which uses the Card.io podspec (linker errors). Any ideas? |
I am a complete newb when it comes to iOS development, but I managed to get my project to build by changing the architectures I was building against, for both the Pods library as well as my main project. That was a while ago though so I can't remember which I ended up removing. I recommend playing around with those values in your build settings. |
@jonsterling I've updated Now I'm having issue with categories in pods, so this issue with UPD: I've deleted all Pods and This is how variables in the project look (in XCode for my target, I've checked
And I still having this issue. Once again adding UPD2:
@irrationalfab I did it. Required setting is:
|
@derpoliuk thanks for the investigation. The issue is related to the podspec of CardIO which is including a vendored library improperly. It should use the vendored_libraries DSL attribute. To those interested I would suggest to contact the original author of the podspec or submit a pull request. A similar discussion can be found here: CocoaPods/Specs#5637. @Zyphrax
Yes, we plan to do it with the introduction of the headers quirks mode (#1626). |
@irrationalfab Sounds great! Let me know if I can test something for you. |
@irrationalfab Thank you. |
Closing this until further information that would confirm a bug is reported. |
I had Podfile in my project with
CardIO
pod. I've added new pod to the file and runpod install
, what caused updating of all pods in the project. After updating I got the error while building my project:After comparing current version of project with previous one I've figured out that Library Search Paths are set, but project somehow can't find this path (this path is not shown in Build Settings):
Then I've compared new and old version of
Pods.xconfig
:Old version:
New version:
Adding `#include "Pods-CardIO.xcconfig"`` line resolved this problem, but this will fix it only until next install/update.
The text was updated successfully, but these errors were encountered: