CocoaPods / CocoaPods/Xcodeproj
A bug occurred on the instance method "set_path" of PBXFileReference
- Dominant language
- Ruby
- Stars
- 2.4k
- Forks
- 488
- PR merge metrics
- No merged PRs in 30d
Description
I used the instance method `"set_path"` of PBXFileReference according to [API reference](https://www.rubydoc.info/gems/xcodeproj/Xcodeproj/Project/Object/PBXFileReference#set_path-instance_method):

the `testing code` shown as belows:

it did change the path, but at the same time, **the `"name"` attribute was also modified** when project was opened in Xcode:

**Is there an instance method of PBXFileReference probably called `"set_name"` in order to change back the file name?**
the expected name is: `MTTTest.podspec`, not `MTTTest/MTTTest.podspec`, although the `path` attribute is satisfied after calling `"set_path"` method.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.