在CocoaPod post_install上获取App-Target(s)或Appname

时间:2018-05-29 12:22:18

标签: ios ruby cocoapods post-install

有没有办法在post_install cocoa-pods脚本中访问应用目标名称(而不是pods目标名称)?

platform :ios, '9.0'

target 'MyProject' do
  pod '...'
end

post_install do |installer|
  # i need my application target 'MyProject' here
end

0 个答案:

没有答案