iOS Archive

OpenSSL 1.1.0b build fails for iOS Simulator when using Xcode 7.0.1

I’m building OpenSSL version 1.1.0b to static library for i386 platform for iOS Simulator. When trying to build getting this error in console: ld: building for OSX, but linking against dylib built for iOS, file '/Applicatio ns/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDK s/iPhoneSimulator.sdk/usr/lib/libSystem.dylib' for architecture …