[GH-ISSUE #20] No such module 'CommonCrypto' in String+OAuthSwift.swift when installed through CocoaPods #10

Closed
opened 2026-03-03 16:44:46 +03:00 by kerem · 8 comments
Owner

Originally created by @harlanhaskins on GitHub (Jan 20, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/20

screen shot 2015-01-20 at 10 44 02 am

Seems the CommonCrypto module.map is being ignored by CocoaPods.

Originally created by @harlanhaskins on GitHub (Jan 20, 2015). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/20 ![screen shot 2015-01-20 at 10 44 02 am](https://cloud.githubusercontent.com/assets/853032/5820199/49de49a8-a091-11e4-9b1b-1371f0dee589.png) Seems the CommonCrypto `module.map` is being ignored by CocoaPods.
kerem closed this issue 2026-03-03 16:44:46 +03:00
Author
Owner

@0111b commented on GitHub (Jan 21, 2015):

Its better to add relative path like so :

${SRCROOT}/CommonCrypto

<!-- gh-comment-id:70872368 --> @0111b commented on GitHub (Jan 21, 2015): Its better to add relative path like so : > ${SRCROOT}/CommonCrypto
Author
Owner

@alexdibattista commented on GitHub (Jan 21, 2015):

Agreed.
I deleted my earlier comment by accident. just adding it again here.

In Build Settings, Under Swift Compiler - Search Paths, add the CommonCrypto directory i.e ${SRCROOT}/CommonCrypto(as suggest by @0111b)

<!-- gh-comment-id:70872572 --> @alexdibattista commented on GitHub (Jan 21, 2015): Agreed. I deleted my earlier comment by accident. just adding it again here. In Build Settings, Under Swift Compiler - Search Paths, add the CommonCrypto directory i.e ${SRCROOT}/CommonCrypto(as suggest by @0111b)
Author
Owner

@harlanhaskins commented on GitHub (Jan 21, 2015):

Wondering if there's a better way to do that automatically using CocoaPods.

Should this be in the OAuthSwift Pod build settings or my own build settings? Neither work for me...

<!-- gh-comment-id:70879210 --> @harlanhaskins commented on GitHub (Jan 21, 2015): Wondering if there's a better way to do that automatically using CocoaPods. Should this be in the OAuthSwift Pod build settings or my own build settings? Neither work for me...
Author
Owner

@bizz84 commented on GitHub (Jan 27, 2015):

Same problem here, tried to add in build settings either to app target or OAuthSwift Pod target but the error persists

<!-- gh-comment-id:71661363 --> @bizz84 commented on GitHub (Jan 27, 2015): Same problem here, tried to add in build settings either to app target or OAuthSwift Pod target but the error persists
Author
Owner

@dja commented on GitHub (Jan 28, 2015):

+1 Having this problem too.

<!-- gh-comment-id:71784128 --> @dja commented on GitHub (Jan 28, 2015): +1 Having this problem too.
Author
Owner

@dongri commented on GitHub (Jan 28, 2015):

Hi @harlanhaskins @bizz84 @danieljacobarcher

I Removed CommonCrypto !!!!!
github.com/dongri/OAuthSwift@5d6f60d749
CommonCrypto setting no longer need of.
please see latest README if need...
latest version is 0.3.0

<!-- gh-comment-id:71857896 --> @dongri commented on GitHub (Jan 28, 2015): Hi @harlanhaskins @bizz84 @danieljacobarcher I Removed CommonCrypto !!!!! https://github.com/dongri/OAuthSwift/commit/5d6f60d749fe25312196c4aab7bd05973f666893 CommonCrypto setting no longer need of. please see latest README if need... latest version is 0.3.0
Author
Owner

@dja commented on GitHub (Jan 28, 2015):

Thank you!

<!-- gh-comment-id:71882462 --> @dja commented on GitHub (Jan 28, 2015): Thank you!
Author
Owner

@harlanhaskins commented on GitHub (Jan 28, 2015):

This is awesome! Thank you!

<!-- gh-comment-id:71922119 --> @harlanhaskins commented on GitHub (Jan 28, 2015): This is awesome! Thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#10
No description provided.