-6

I'm building a hybrid framework with swift and objective-C. The framework was built with xcode and swift4.2. Now when I try to import it to xcode 9 I encounter an error "Module compiled with Swift 4.2 cannot be imported in Swift 4.1.2". Is there any way to over come this?

My director structure looks like this.

enter image description here

I'm planning to ship this pod via cocoapods.

Naresh
  • 16,698
  • 6
  • 112
  • 113
Raj
  • 427
  • 2
  • 9

1 Answers1

2

Is there any way to over come this?

No. If you wanted to be able to use the framework in Xcode 9, you shouldn't have built it in Xcode 10.

matt
  • 515,959
  • 87
  • 875
  • 1,141