americanexpress / xcprojectlint

A security blanket for Xcode project files
Apache License 2.0
504 stars 18 forks source link

xcode + spm dependency results in a warning #33

Closed cobbal closed 4 years ago

cobbal commented 4 years ago

Warning text is produced by the linter when spm packages are added to xcode (11.4.1)

We didnt find an expected key (fileRef) in BuildFile...

Some relevant snippets from the project file:

...
5B80945D24A8786E001871DB /* ReactiveSwift in Frameworks */ = {isa = PBXBuildFile; productRef = E8F2A96224A2764300DB7C18 /* ReactiveSwift */; };
...
2C96482A211E2F1A002C3255 /* Frameworks */ = {
    isa = PBXFrameworksBuildPhase;
    files = (
        5B80945D24A8786E001871DB /* ReactiveSwift in Frameworks */,
    );
};
...
E8F2A96224A2764300DB7C18 /* ReactiveSwift */ = {
    isa = XCSwiftPackageProductDependency;
    package = E8F2A96124A2764300DB7C18 /* XCRemoteSwiftPackageReference "ReactiveSwift" */;
    productName = ReactiveSwift;
};
...