0

Using Xcode 9.1 I am trying to create to start level simple framework in swift and use the same in objective c or swift proj. But I am getting a compilation while using it in app. Tried several tutorials and followed same steps as in https://www.youtube.com/watch?v=kSwbun3UV6U.. But no result.Defines Module is enabled. enter image description here

enter image description here

2 Answers2

0

Check that you've followed the steps listed here: Embedding a Framework in iOS, macOS, watchOS, and tvOS Apps

It should be very straightforward. If all else fails, remove the framework from your project and follow the steps again.

Guy Kogus
  • 7,251
  • 1
  • 27
  • 32
0

Try this remove framework Quit Xcode and re open your project add framework then Clean and Build. or Clean folder and Build. Quit project again and re-open it and Build

Also you should build framework for both iOS device and simulator architecture there is a run script to achieve this, Run Script, and check out how to run this script in this answer

Fahadsk
  • 1,099
  • 10
  • 24