0

I'm relatively new to Swift and totally unfamiliar with Objective-C.

Import CommonCrypto 

...does nothing. Is this implemented yet or do I have to do it in some old fashioned Objective-C header way?

I'm aware this question was asked a year ago during 6.0 beta, but this is about XCode 6.4. Not only that but if it's still in fact the same process, that process will have changed as the path has changed.

Nathan McKaskle
  • 2,926
  • 12
  • 55
  • 93
  • possible duplicate of [Importing CommonCrypto in a Swift framework](http://stackoverflow.com/questions/25248598/importing-commoncrypto-in-a-swift-framework) – Ryan Kreager Jul 17 '15 at 15:54
  • No it isn't. That was asked long ago during XCode 6 beta. – Nathan McKaskle Jul 17 '15 at 15:57
  • 1
    The process hasn't changed. – Rob Napier Jul 17 '15 at 16:01
  • Actually the process will have to have changed as the path indicated in that answer has surely also changed. It's no longer beta 5. – Nathan McKaskle Jul 17 '15 at 16:03
  • Are you talking about using CommonCrypto in an *app* or in a *framework*? For an app, it should still work by adding `#import ` to the bridging header file. – Martin R Jul 17 '15 at 16:15
  • I'm going to remove my answer below and re-write. Commenters are correct - my current answer isn't working. – Ryan Kreager Jul 17 '15 at 16:49
  • Yeah and I followed the instructions with the old method of using the map and header file, that didn't work either. They've obviously changed something but never documented it anywhere that I can find. – Nathan McKaskle Jul 17 '15 at 17:33

0 Answers0