I\'m getting this warning:
Class X is implemented in both and one of the two will be used, which one is undefined
You can create a Podspec for your MyFramework
with CoolPod
as a dependency.
Your MyFramework.podspec will look something like:
Pod::Spec.new do |spec|
spec.name = 'TestFW'
spec.version = '1.0.0'
spec.license = { :type => 'BSD' }
spec.homepage = 'https://github.com/user/TestFW'
spec.authors = { 'Auther Name' => 'author@gmail.com' }
spec.summary = 'Testing FW Pod with Test App'
spec.source = { :git => 'https://github.com/user/TestFW.git' }
spec.module_name = 'TestFW'
spec.ios.source_files = 'TestFW/*.swift'
spec.dependency 'CoolPod'
end
And your MyApplication
's podfile will look something like this:
target 'TestApp' do
use_frameworks!
pod 'CoolPod'
pod 'TestFW'
end