Skip to content

Conversation

@polac24
Copy link
Collaborator

@polac24 polac24 commented Jul 30, 2023

Instead of calling Xcodeproj's source_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

@polac24 polac24 marked this pull request as ready for review July 30, 2023 06:40
@polac24 polac24 merged commit 6a1335e into spotify:master Aug 1, 2023
@polac24 polac24 deleted the support- branch August 1, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enabling cache can insert a nil build phase in certain circumstances

2 participants