XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

How to separate build settings and sources by platform type?

Open Seonny opened this issue 3 years ago • 1 comments

I'd like to make multiplatform target for iOS and watchOS like "platform: [iOS, watchOS]" watchOS has different sources and settings from iOS's. How can I handle this ? I'm using 2.25.0 XcodeGen

Seonny avatar Jan 05 '22 05:01 Seonny

Same question.

Made workaround for now:

settings:
  FRAMEWORK_SEARCH_PATHS: <this_is_base_settings>
  HEADER_SEARCH_PATHS: <this_is_base_settings>
  FRAMEWORK_SEARCH_PATHS[sdk=macosx*]: <this_is_macOS_settings>
  HEADER_SEARCH_PATHS[sdk=macosx*]: <this_is_macOS_settings>

anivaros avatar Feb 10 '22 13:02 anivaros