stsievert / swix

Swift Matrix Library
http://docs.stsievert.com/swix/
MIT License
593 stars 54 forks source link

Swift bridging header modification issue #36

Closed JimyBasi closed 7 years ago

JimyBasi commented 7 years ago

Hi I'm trying to install swix in my IOS app. To do that I follow the different instructions of the swix 0.30 documentation in the "How to creat a new iOS app that includes swix" paragraph.

For me all the different steps are ok until the Swift bridging header modification. As you can see in the attach image, i don't have the objective-c bridging header menu in my project setting.

Have you an idea of my problem?? (for information i used Xcode 8.2.1)

Best regards bridging header swift

stsievert commented 7 years ago

34 should fix this.

The below SO question has some tips on adding a bridging header. There's some field in the build settings, but the easiest way is to add a .m file yourself and click "yes" at the prompt.

https://stackoverflow.com/questions/24002369/how-to-call-objective-c-code-from-swift