Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems compiling BlueCryptor with CommonCrypto #1

Closed
irar2 opened this issue May 16, 2016 · 2 comments
Closed

Problems compiling BlueCryptor with CommonCrypto #1

irar2 opened this issue May 16, 2016 · 2 comments

Comments

@irar2
Copy link

irar2 commented May 16, 2016

When I try to swift build BlueCryptor on OSX, I get:

BlueCryptor/Packages/CommonCrypto-0.1.0/module.modulemap:18:12: error: header '/usr/include/CommonCrypto/CommonCrypto.h' not found
header "/usr/include/CommonCrypto/CommonCrypto.h"
^
BlueCryptor/Sources/Digest.swift:21:9: error: could not build Objective-C module 'CommonCrypto'
import CommonCrypto
^
...

BlueCryptor builds fine on Linux.

@billabt
Copy link
Collaborator

billabt commented May 16, 2016

On OS X, you need to install Xcode Command Line Tools. The instructions are located here -> https://developer.apple.com/library/ios/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-WHAT_IS_THE_COMMAND_LINE_TOOLS_PACKAGE_

Alternatively, you can just type the following from the command line xcode-select --install

I'll update the README.md to reflect this.

@billabt
Copy link
Collaborator

billabt commented May 16, 2016

Fixed in 0.1.8 of BlueCryptor.

@billabt billabt closed this as completed May 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants