A bug occurred on the instance method "set_path" of PBXFileReference
lgyhero opened this issue · comments
LKD.Ciro commented
I used the instance method "set_path"
of PBXFileReference according to API reference:
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.