Open CrazyFanFan opened 4 years ago
More details, please
+
,xunique Name.xcodeproj
on your terminal
Here's a Demo
xUniqueDemo.zipI can assure. xUnique breaks SwiftPM related nodes like the following:
/* Begin XCRemoteSwiftPackageReference section */
D6B1CDCF2476BE73007A80F8 /* XCRemoteSwiftPackageReference "MBProgressHUD" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/jdg/MBProgressHUD";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 1.2.0;
};
};
/* End XCRemoteSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */
D6B1CDD02476BE73007A80F8 /* MBProgressHUD */ = {
isa = XCSwiftPackageProductDependency;
package = D6B1CDCF2476BE73007A80F8 /* XCRemoteSwiftPackageReference "MBProgressHUD" */;
productName = MBProgressHUD;
};
/* End XCSwiftPackageProductDependency section */
And removes all the lines related to that dependency you try to use with SwiftPM.
Here is a the output:
Uniquify...
Uniquify done
Following lines were deleted because of invalid format or no longer being used:
D6B1CDD12476BE73007A80F8 /* MBProgressHUD in Frameworks */ = {isa = PBXBuildFile; productRef = D6B1CDD02476BE73007A80F8 /* MBProgressHUD */; };
D6B1CDD12476BE73007A80F8 /* MBProgressHUD in Frameworks */,
D6B1CDD02476BE73007A80F8 /* MBProgressHUD */,
D6B1CDCF2476BE73007A80F8 /* XCRemoteSwiftPackageReference "MBProgressHUD" */,
D6B1CDCF2476BE73007A80F8 /* XCRemoteSwiftPackageReference "MBProgressHUD" */ = {
D6B1CDD02476BE73007A80F8 /* MBProgressHUD */ = {
package = D6B1CDCF2476BE73007A80F8 /* XCRemoteSwiftPackageReference "MBProgressHUD" */;
Sort...
Sort done
File 'project.pbxproj' was modified, please add it and then commit.