trinhngocthuyen / cocoapods-spm

A CocoaPods plugin to add SPM dependencies to CocoaPods-based projects
MIT License
44 stars 7 forks source link

FIX: Settings update went wrong in some edge cases #37

Closed trinhngocthuyen closed 7 months ago

trinhngocthuyen commented 7 months ago

Settings update went wrong in some edge cases. Related issue: https://github.com/trinhngocthuyen/cocoapods-spm/issues/36

Updating xcconfig settings in the pre_integrate phase seems not reliable. Some irrelevant settings (such as HEADER_SEARCH_PATHS) may be messed up later.

Solution: Update the xcconfig in the post_integrate phase instead.