podTemplate/example/Podfile in cocoapods-ykutility-3.0.0 vs podTemplate/example/Podfile in cocoapods-ykutility-3.0.1

- old
+ new

@@ -31,18 +31,26 @@ # Pods for YKRPC_POD_NAME_Example pod_develop end +def pod_string_item_appen(item_str, append_str) + item_str = item_str.blank? ? "" : item_str + item_str << append_str + return item_str +end # cocoapods pod install hook post_install do |installer| # 添加创建时候类前缀 installer.pods_project.root_object.attributes["CLASSPREFIX"] = "YKRPC_CLASS_PREFIX" # 添加 class prefix # project编辑配置 installer.pods_project.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0' config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO' + # xcode15 支持 c++旧版链接器 + # items_append = "$(inherited) -ld64 -ld_classic" + # config.build_settings['OTHER_LDFLAGS'] = pod_string_item_appen(config.build_settings['OTHER_LDFLAGS'], items_append) end # 单个target编辑配置 installer.pods_project.targets.each do |target| target.build_configurations.each do |config|