jeudi 13 août 2015

Bridging Objective-C into Swift Project

I'm trying to put a bridging header file into my Swift project so I can use the Venmo SDK. I've placed the header file where I believe it should go and have added it to the Swift Complier - Code Generation section under build settings.

The bridging header is titled BridgingHeader.h and is directly under the project subsection (would post photo but I don't have enough reputation). It's in the same location as this link: http://ift.tt/1L9KeJV

Under the swift compiler - code generation my path to the bridging header is BridgingHeader.h. Initially I tried to reference the file from the root directory but I still had an error saying error: bridging header '/Users/j9/Desktop/uSell-swift/BridgingHeader.h' does not exist



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire