Closed VNKorchagin closed 5 years ago
I make this changes
but it's doesn't work
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:
pod deintegrate
pod clean
pod install
But that didn't fix the problem. I can't understand why the project is successfully building on a real device, but not building on the simulator.
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. I will do additional research to identify the causes of the error.
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.
Have you found a solution?
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. If I need to run the app on the simulator, then I just change pod for OpenSSL (as a temporary solution).
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:
pod 'OpenSSL-Universal', :git => 'https://github.com/OrfeasZ/OpenSSL.git'
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 build.sh
in the main project directory.
@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
sudo gem install cocoapods
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?