-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Error "unknown type name 'BN_ULONG'" while building project on simulator #72
Comments
you shouldn't need to change anything. Cocoapods should do all the changes. Maybe something with Pods integration is not right in the project? |
I tried:
But that didn't fix the problem. What do these mistakes mean? If I understand correctly: my project does not see the constant BN_ULONG |
It can't find the path to headers, this is managed by Pods scheme config. Are you sure you didn't override this setting somewhere? Are you able to reproduce the issue with the just created new project? |
I can't reproduce this error on new project. |
Have you found a solution @VNKorchagin? I'm having the same issue but only when building for the simulator of 32-bit devices. For 64-bit it builds successfully. |
No, I did not find any solution to this problem. I suspect that I need to make some changes to the project settings, but I don’t know which ones. |
Just chiming in. The issue seems to be actual for Carthage projects as well. Build fails with the same errors when compiling code using OpenSSL, but the OpenSSL project itself seems to build successfully. |
I encountered this problem as well. It looks like this project doesn't include a configuration for the 32-bit version of the simulator. I've forked it and added support for the 32-bit iOS simulator in this repo (and also updated to OpenSSL 1.0.2t). You can use directly with CocoaPods like this:
If you want to build it yourself, simply clone it, ensure you have XCode and Carthage installed (regardless of whether you're planning on using it or not), and run @krzyzanowskim I can send a PR your way if this is something you're interested in merging into this repo. |
rename Podfile.Lock --> pod 'OpenSSL-Universal', '~>1.0.2.20' paste this in Podfile --> open terminal --> cd ios --> pod install |
For me, the issue was related to older Cocoapods version, updating my cocoapods fixed it |
When i try to build project in XCode (Version 10.2.1) on simulator i get the error:
The project is compile successfully on a real device.
I suspect that needs to make changes to "Build Settings". How I can fix this error?
The text was updated successfully, but these errors were encountered: