Open BartoszCichecki opened 2 months ago
This should be handled 🤔 Can you post the config for this package from Project.xcodeproj/project.xcodeproj
What version of Xcode is being used? This plugin thinks the dependency was configured to be an "up to next major" package version and not commit pinned
Hmmm you are right, it is configured "upToNextMajor"... Apologies! Not sure what is going on here then. Xcode is 15.3 (latest).
41321DAA28FED725007FBACA /* XCRemoteSwiftPackageReference "OHHTTPStubs" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/AliSoftware/OHHTTPStubs";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 9.1.0;
};
};
No apologies needed! I don't know of any spec for these things so reverse engineering Xcode's behavior(s) is the best I can do and these reports really help. I'll have something out tomorrow or Thurs to handle this scenario. Thinking I might treat this as a branch dependency or otherwise try to reverse-resolve the commit hash.
Hey @hbmartin, any news?
Due to legacy reasons, some of our dependencies target specific commit hash instead of version number:
This results in an error like this being thrown:
Not sure what is the best approach to this, maybe ignore these?