-
Notifications
You must be signed in to change notification settings - Fork 2.6k
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Delete old link target when upgrading from 0.39 to 1.0 #5208
Comments
Can you try running |
If not, we'd need to be able to investigate the project from before you upgraded to 1.0 to try and debug. Thanks! |
Turns out However, my
So I specified the path of Still, I find the need of |
Right, which is why I'm also asking for the project before you upgraded so we can actually see why automatic deintegration didn't happen. |
This is a private project I've been working on with my friend. I'll come back later after I make contact with him. |
OK. This is the project we've been working on. The iOS project is in |
Ah, so it turns out this is intentional: https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/installer.rb#L496. It would automatically de-integrate if your xcodeproj was in the root project directory, if not you do need to manually run |
Is this mentioned anywhere in the doc? If not I highly recommend adding this instruction. Or we could just enhance this behaviour by more places other than root directory. |
We considered glowing in other places, but concluded it would lead to too many false-positives. |
Report
What did you do?
I upgraded my CocoaPods from 0.39 to 1.0 beta8. I didn't have any target setting in my old Podfile. I add a new target surrounding all my pods in order to follow the new target requirement.
What did you expected to happen?
Everything should just works.
What happened instead?
The compiling part was OK. But the linking part was not. After
pod install
I now have two libraries inLink Binary With Libraries
:libPods.a
libPods-MyTarget.a
I had to manually delete the old
libPods.a
to link those pods successfully.Podfile
Not really needed in this issue.
The text was updated successfully, but these errors were encountered: