sinofool / build-openssl-ios

Build openssl for iOS development, include armv7 armv7s arm64 i386 and x86_64 support.
http://sinofool.net/blog/archives/172
MIT License
124 stars 57 forks source link

Won't work on UIKitForMac #13

Open chrisvanbuskirk opened 5 years ago

chrisvanbuskirk commented 5 years ago

Looks like the frameworks won't compile for UIKitForMac. I believe they are gonna have to be packed into the new XCFramework format. This is in regards to bring iPad apps to the mac.

XCFrameworks make it possible to bundle a binary framework or library for multiple platforms —including iOS devices, iOS simulators, and UIKit for Mac — into a single distributable .xcframework bundle that your developers can use within their own applications. An .xcframework bundle can be added to an Xcode target’s Link Libraries phase and Xcode uses the right platform’s version of the included framework or library at build time. Creation of XCFrameworks is supported from the command line using xcodebuild -create-xcframework. Frameworks or libraries bundled in an XCFramework should be built with the Build Libraries for Distribution build setting set to YES. (49948269

)https://developer.apple.com/documentation/xcode_release_notes/xcode_11_beta_release_notes

chrisvanbuskirk commented 5 years ago

You probably want to drop the lipo hack for the XCFramework.