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
Building Error #51
Comments
The reason is you just updated Xcode and your iOS SDK: the error comes from this Just replace This is temporary solution, but it worked for me ;) @iosdevzone this should be a rather quick update, right? Can we hope a fix soon? |
These lines in |
Yes I know @CBeloch.. It's working fine on the Xcode side. But building it via Fastlane generates this error (using My target and project are set to the latest sdk (10.1). I also clean pod cache and derived data before build. |
Well well well, I deleted the IDZCommonCrypto pod, then reinstall it, and... it works! |
it works~!! thank u~ |
And.... Same error again after the last Xcode update. (sdk 10.1 instead of 10.2 in the module.map path). I tried:
None of these solutions worked. The only temporary working solution so far is a manual modification of the module.map file path. All module.map files paths of my other pods are good. What am I missing? |
The How it is produced depends on whether your are using Cocoapods or the Xcode workspace. In the Cocoapods case a When you upgrade Xcode you must do the following: If you are constantly running into the problem of SDK mismatches, you are failing to one of the above steps. Hope this explanation helps you make your Xcode upgrades smoother. |
The map generated in the build process has a problem when your path contains spaces. |
Thanks a lot for the help guys. @iosdevzone I performed your recommended steps:
This is my one and only instance of Xcode.app
Unfortunately, I still got the same error :( Here is my generated module.map content:
Am I the only one facing this issue? |
This very strange. Use the command |
Here's the result: It doesn't make sense for me, and after having checked every configuration parameter, file, resource, etc, I'm running out of solution. |
There's only a few possibilities left: |
Thanks a lot for your help, I'll check your example and your suggestions. I'll let you know if (I hope) find the problem. |
You're welcome! I hope you get to bottom of it. Let me know if you need any more help. |
I tried your Test project -> same path error Terminal:
I'm desperate... |
Since I was not able to find the source of this error (I even completely reinstalled Xcode), I decided to remove your lib and make the encryption layer by myself. |
I'm really sorry we couldn't get to the bottom of this. Remember you can always use the project directly (without CocoaPods) this will make it easier to see build logs. However you decide to proceed the best of luck with your project and thanks for all the time you spent trying to get to the bottom of the issue. Happy New Year! |
Thank you @iosdevzone and Happy New Year! |
When I update XCode 8.1 and re-build my project I get errors:
Header '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk/usr/include/CommonCrypto//CommonCrypto.h' not found
AND
Could not build Objective-C module 'CommonCrypto'
thank you for help
The text was updated successfully, but these errors were encountered: