The Xcode 16.3 project structure changes the shellScript of a build phase to an Array instead of string. Sample diff
- shellScript = "sh ../../scripts/swiftlint.sh\n";
+ shellScript = (
+ "sh ../../scripts/swiftlint.sh",
+ "",
+ );
This results in the error: [Xcodeproj] Type checking error: got Array for attribute: attribute 'shellScript' (type: simple, classes: [String], owner class : PBXShellScriptBuildPhase
I haven't found any project-specific conditionals for declarations so I'm unsure what's the best (backwards compatible) way to solve this but the relevant line is here.
Can someone point me in the right direction how I could fix this then I'd open a PR.
The Xcode 16.3 project structure changes the shellScript of a build phase to an Array instead of string. Sample diff
This results in the error: [Xcodeproj] Type checking error: got
Arrayfor attribute: attribute 'shellScript' (type:simple, classes:[String], owner class :PBXShellScriptBuildPhaseI haven't found any project-specific conditionals for declarations so I'm unsure what's the best (backwards compatible) way to solve this but the relevant line is here.
Can someone point me in the right direction how I could fix this then I'd open a PR.