cloudinary / cloudinary_ios

Cloudinary iOS SDK
MIT License
165 stars 106 forks source link

No Such Module Crypto #103

Closed MandeepSingh1 closed 6 years ago

MandeepSingh1 commented 7 years ago

screen shot 2017-09-13 at 4 56 52 pm

screen shot 2017-09-13 at 4 07 58 pm

Worst SDk i ever use, Worst Support System of SDK, i am using the Cloudinary SDK, everytime am try to run the code this 2 errors come, i have remove the pod file , remove my workspace , remove pods. Then start it from the new still overtime am getting this error. Even i contact the cloudinary, still they are not providing me the proper solution. Now am stuck in the end of my project. Everything is working fine, except Cloudinary. If someone can help me please i need to get out from this issue.

Pod file :- pod 'Cloudinary', '~> 2.0'

AndrewZhatkin commented 7 years ago

@MandeepSingh1 Rename your "Xcode 8.3.1.app" to "Xcode.app" or update path for CommonCrypto.h in "/Pods/Cloudinary/Cloudinary/Frameworks/CLDCrypto/iphoneos/CLDCrypto.framework/module.map". It helps me.

MandeepSingh1 commented 7 years ago

@AndrewZhatkin hello thanx for your answer, but in this there is no CommonCrypto.h file in Cloudinary. Where is that file can you tell me. Because am trying to resolve this error from last 2 weeks

AndrewZhatkin commented 7 years ago

@MandeepSingh1 Path to CommonCrypto.h is used in "{YOUR_PROJECT_PATH}/Pods/Cloudinary/Cloudinary/Frameworks/CLDCrypto/iphoneos(OR iphonesimulator)/CLDCrypto.framework/module.map"

MandeepSingh1 commented 7 years ago

am not getting your point , here is the code can you tell me how to do it module CLDCrypto [system] { header "/Users/osvinuser/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/usr/include/CommonCrypto/CommonCrypto.h" header "/Users/osvinuser/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/usr/include/CommonCrypto/CommonRandom.h" export * }

AndrewZhatkin commented 7 years ago

@MandeepSingh1 Change ".../Xcode.app/..." to ".../Xcode 8.3.1.app/..."

MandeepSingh1 commented 7 years ago

Still am getting the same error

MandeepSingh1 commented 7 years ago

Actually i uploaded the wrong image, i updated my question @AndrewZhatkin

AndrewZhatkin commented 7 years ago

@MandeepSingh1 I think you need to review this discussion https://github.com/cloudinary/cloudinary_ios/issues/75

MandeepSingh1 commented 7 years ago

I even try this also, now my Xcode position is /Applications/Xcode.app/Contents/Developer still am getting error

AndrewZhatkin commented 7 years ago

Now try to remove Cloudinary from Podfile and install again.

kylehorn commented 7 years ago

I'm getting the same issue on Xcode 9. This has been an issue for a while now.

MandeepSingh1 commented 7 years ago

@kylehorn, can you show me what's your issue my issue has been resolved few minutes ago. May be I can help you

@Andrew thank you so much for your help, you helped me lot thanks for your precious time

kylehorn commented 7 years ago

@MandeepSingh1 It's the same issue you reported above in the module map file. I've tried removing and reinstalling cloudinary in the podfile with no luck.

kylehorn commented 7 years ago

@MandeepSingh1 I fixed it. Updated the path for Xcode

strausr commented 6 years ago

Hey, guys. It looks like you managed to resolve this issue. I’m safely closing this thread now but feel free to re-open it or open a new thread if you still need help