Closed jsorge closed 10 months ago
@jsorge can you have both path
and relativePath
? Why is the first one replaced?
@jsorge can you have both
path
andrelativePath
? Why is the first one replaced?
I replaced it because I didn’t see path
as a thing that could be parsed from the project file. Happy to add it back if it could be there.
Wonder if an Xcode version upgrade replaced it or added it...................also wonder if there is harm in keeping both
Added it back @dnkoutso
Fixed in the last release, works now. Thanks!
PR #911 added support for local packages but did not add support for the
relativePath
property inside of the local package definition. Here's a sample from my pbxproj file:When I try to use the new local package model I got the following error:
[!] Xcodeproj doesn't know about the following attributes {"relativePath"=>"../../Packages/SharedResources"} for the 'XCLocalSwiftPackageReference' isa.
and I believe that was because the class was looking forpath
(which doesn't exist) and notrelativePath
which does.This PR fixes that problem for local packages.