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
Carthage Build fails for IDZSwiftCommonCrypto #24
Comments
Hi priyapy, What version of Xcode, OS X and Carthage are you using? |
I am using xcode 7.3.1 . |
I am having difficulty reproducing the problem. I wonder if the presence of the path element " - iOS" in your paths is to blame? Paths containing spaces or '-' characters confuse some command line tools. |
Sure i ll try this |
Thank you for the prompt response. It worked well. |
But getting error as Missing required module 'Common Crypto' when using in another device |
Hi there, sorry you're still having trouble. I am not sure I understand what you mean by "when using in another device" can you explain a little more please? For example, were you attempting to compile or attempting to run when you saw this message? Also please copy & paste or attach original log file or error messages... It seems a little strange that there is a space in 'Common Crypto' in your message, unless it is a typo. Hopefully I can get you up and running soon. Thanks for your patience, |
I am using this particular idzswiftcommoncrypt in a dynamic framework. While i am referring that framework from an external project i am getting error "missing required module 'CommonCrypto'". Why is it like that. |
Hi, |
Can u clarify one thing? Y do we need to create a fake module map for common crypto while installing it manually |
Apple does not provide a module map for CommonCrypto because there is no CommonCrypto.framework. The routines are part of the System framework. The fake module map serves to make the routines visible to Swift. It should only be needed during the compilation of IDZSwiftCommonCrypto. After that the linker will just resolve the CommonCrypto routines to the ones in System. Somehow your project seems to think it needs CommonCrypto; not sure why. |
HI there, without a project to reproduce it I really can't help you any further. Closing this issue for the moment. If you can provide an example project I will reopen it. |
Carthage is not getting build for IDZSwiftCommonCrypto. Following is the error i am getting.
The following build commands failed:
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Utilities.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Status.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Crypto.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Cryptor.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/StreamCryptor.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Updateable.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Random.swift
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(9 failures)
/Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift:10:8: error: no such module 'CommonCrypto'
/Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift:10:8: error: no such module 'CommonCrypto'
/Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift:10:8: error: no such module 'CommonCrypto'
/Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift:10:8: error: no such module 'CommonCrypto'
/Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift:10:8: error: no such module 'CommonCrypto'
/Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift:10:8: error: no such module 'CommonCrypto'
/Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift:10:8: error: no such module 'CommonCrypto'
/Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift:10:8: error: no such module 'CommonCrypto'
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto.xcworkspace -scheme IDZSwiftCommonCrypto (Release) -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Utilities.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/KeyDerivation.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Status.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Crypto.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Cryptor.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/StreamCryptor.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Updateable.swift
CompileSwift normal arm64 /Users/MyComputer/Documents/ - iOS/10 May/XXXXX/Carthage/Checkouts/IDZSwiftCommonCrypto/IDZSwiftCommonCrypto/Random.swift
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(9 failures)
Some body please help me
The text was updated successfully, but these errors were encountered: