0
  • Both of them are Cocoapods private pods
  • I need to use them as Development Pods
Artem Deviatov
  • 970
  • 12
  • 20

1 Answers1

0

.podspec:

Pod::Spec.new do |spec|
  spec.name = 'MyMainPod'
  spec.dependency 'MyObjCSubPod'
  ...
end

Podfile:

pod 'MyMainPod', :path => 'private-pods/my-main-pod/'
pod 'MyObjCSubPod', :path => 'private-pods/my-main-pod/my-objc-subpod'

SomeFile.swift:

import MyObjCSubPod

No additional bridging headers required.

Artem Deviatov
  • 970
  • 12
  • 20
  • but what if i want Import Swift pod as a dependency into Objective-C pod? whats the procedure and steps kindly help me out – Jon Striker Dec 19 '19 at 07:17