Skip to content

remove SUPPORTS_MACCATALYST from user_target_xcconfig#77

Merged
iAmMccc merged 1 commit into
iAmMccc:mainfrom
faimin:MACCATALYST
May 13, 2025
Merged

remove SUPPORTS_MACCATALYST from user_target_xcconfig#77
iAmMccc merged 1 commit into
iAmMccc:mainfrom
faimin:MACCATALYST

Conversation

@faimin
Copy link
Copy Markdown
Contributor

@faimin faimin commented May 12, 2025

user_target_xcconfig 中的设置会影响其他target。 举个例子:假如依赖SmartCodableSmartCodable_Example一开始并未开启 SUPPORTS_MACCATALYST设置,但SmartCode.podspec中的user_target_xcconfig添加此设置后会导致SmartCodable_Example设置中的SUPPORTS_MACCATALYST也被开启,从而对主target造成影响。

image

Cocoapods官方文档中也提到不建议使用 user_target_xcconfig

image

@iAmMccc iAmMccc merged commit 7c9fd56 into iAmMccc:main May 13, 2025
@iAmMccc
Copy link
Copy Markdown
Owner

iAmMccc commented May 13, 2025

感谢

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.

2 participants