複数人で、CocoaPodsを使って開発をしています。
UnitTestのときにPodsのConfigurations Fileを、 debugとunittestで共有したいのです。
(画像のような状態。Pods-app_Debug.debug
を共有している)
手作業でこれを設定すればテスト実行に問題はないのですが、pod install
するたびに、app_UnitTestsの設定値がNone
になってしまいます。
pod install
しても値が変わらないか、app_Debugと同じ値を使うようにしたいです。
なにか、うまい方法はないでしょうか。
Podfileは以下のようになっています。
workspace "app" use_frameworks! def release_and_debug_pods pod 'Alamofire', '~> 4.0' # 他30くらい end target :'app_Release' do platform :ios, "9.0" release_and_debug_pods end target :'app_UnitTests' do platform :ios, "9.0" release_and_debug_pods end target :'app_Debug' do # ここで何かすれば良いのかと思うけど、何すれば良いのか分かりません… end
あなたの回答
tips
プレビュー