Closed polac24 closed 11 months ago
Instead of calling Xcodeproj's source_build_phase, which creates a phase if it doesn't exist, try to find it manually.
Xcodeproj
source_build_phase
https://github.com/CocoaPods/Xcodeproj/blob/2ce68b60856c4680c2b3cd7aa5b221529120c7c4/lib/xcodeproj/project/object/native_target.rb#L615-L621
There will be no warnings, as having a "side" target that doesn't compile anything is completely legit and it is expected that XCRemoteCache just ignores it.
Fixes #217
Instead of calling
Xcodeproj
'ssource_build_phase
, which creates a phase if it doesn't exist, try to find it manually.https://github.com/CocoaPods/Xcodeproj/blob/2ce68b60856c4680c2b3cd7aa5b221529120c7c4/lib/xcodeproj/project/object/native_target.rb#L615-L621
There will be no warnings, as having a "side" target that doesn't compile anything is completely legit and it is expected that XCRemoteCache just ignores it.
Fixes #217