# Uncomment the next line to define a global platform for your project
# platform :ios, '13.0'
targetsArray = [‘TestDEV', 'TestProd']
targetsArray.each do |t|
target t do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
inhibit_all_warnings!
# Pods for Test
pod 'Moya', '~> 14.0'
end
end
target 'TestTests' do
inherit! :search_paths
# Pods for testing
end
target 'TestUITests' do
# Pods for testing
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
Xcode 多个target Podfile 写法
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- 1、Defining an abstract target 2、Defining an abstract_targ...
- 一个项目中多个target,使用pod管理时,出了问题,最后解决:主要是Podfile的写法 第一种写法: pla...
- 其他可参考:猿题库iOS客户端的技术细节(一):使用多target来构建大量相似App 问题:当两个app差异很小...
- `# Podfile platform :ios,'8.0' source 'https://github.com...