Parent directory chunks in host workspace's project paths result in project duplicates after pod install #8481
Labels
d1:easy
An easy ticket that is a good start for first-time contributors
s7:workaround available
A workaround for the issue is available
t2:defect
These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
TL&DR: If the predefined workspace contains relative Projects' paths with parent directory chunks (i.e.
/..
) thenpod install
may reassemble the workspace with duplicated projects.See also: #2413
Report
What did you do?
Run
pod install
What did you expect to happen?
All dependencies installed. The old workspace structure preserved.
What happened instead?
Before
pod install
Workspace contains subprojects: App, FirstLibrary, SecondLibrary, ThirdLibrary.
After
pod install
Workspace contains subprojects: App, FirstLibrary, SecondLibrary, ThirdLibrary, Pods, FirstLibrary (duplicate).
CocoaPods Environment
(For example project)
Stack
Installation Source
Plugins
Podfile
Project that demonstrates the issue
CocoapodsDuplicatedProjectDemo.zip
Please see the structure of
contents.xcworkspacedata
in the project - FirstLibrary project reference is the following:"group:OMGNotExistingDirectory/../FirstLibrary/FirstLibrary.xcodeproj"
The text was updated successfully, but these errors were encountered: