spotify / XCRemoteCache

Other
830 stars 53 forks source link

Deintegrate XCRemoteCache from all projects on errors #66

Closed vasvf closed 2 years ago

vasvf commented 2 years ago

Another cocoapods plugin modification to keep project compilable when we occur errors.

Otherwise xccc file is removed before integration, it is written to all projects' targets, then xcprepare can throw an error. Main project will be rolled back, but all other projects won't, leaving them in uncompilable state

This modification fixes it

vasvf commented 2 years ago

Pushed additional commit for removing redundant space before CFLAGS. After opening project settings with XCode, it eventually gets deleted. So deintegrating from project does not always work. And sometimes re-integrating causes double flags - first with space, second without space.

polac24 commented 2 years ago

Thanks!