Kiwi and CocoaPods with a static shared library

后端 未结 4 1492
轮回少年
轮回少年 2021-01-20 15:25

I have a workspace with 3 projects:

  • MyApp
  • Common
  • Pods

Common is a common library that MyApp depends on. I\'d like to setup Coc

4条回答
  •  梦毁少年i
    2021-01-20 15:55

    Posted as an edit by anonymous user. Here's his answer:


    I have forked the repository and made few changes for new cocoapods versions to make it still working.

    platform :ios, '8.0'
    
    workspace 'MyApp.xcworkspace'
    
    project 'MyApp'
    
    target :MyApp do
        pod 'CupertinoYankee', '~> 1.0'
    end
    
    target :MyAppTests do
        pod 'Kiwi/XCTest'
    end
    
    target :Common do
        project 'Common/Common'
        pod 'CupertinoYankee', '~> 1.0'
    end
    
    target :CommonTests do
        project 'Common/Common'
        pod 'Kiwi/XCTest'
    end
    

    https://github.com/chrishunterkiller/cocoapods_kiwi_shared_library

提交回复
热议问题