You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Script builds OpenSSL, nghttp2 and cURL/libcurl for MacOS (x86_64, arm64), Mac Catalyst (x86_64, arm64), iOS (armv7, armv7s, arm64 and arm64e), iOS Simulator (x86_64, arm64), tvOS (arm64) and tvOS Simulator (x86_64). It includes patching for tvOS to not use fork() and adds HTTP2 support via nghttp2.
6
+
This Script builds OpenSSL, nghttp2 and cURL/libcurl for MacOS (x86_64, arm64), Mac Catalyst (x86_64, arm64), iOS (arm64 and arm64e), iOS Simulator (x86_64, arm64), tvOS (arm64) and tvOS Simulator (x86_64). It includes patching for tvOS to not use fork() and adds HTTP2 support via nghttp2.
7
7
8
8
## News
9
9
@@ -103,7 +103,7 @@ The build script requires:
103
103
### OpenSSL
104
104
The `openssl-build.sh` script creates separate bitcode enabled target libraries for:
105
105
* MacOS - OS X (x86-64, arm64)
106
-
* iOS - iPhone (armv7, armv7s, arm64 and arm64e) and iPhoneSimulator (i386, x86-64, arm64)
106
+
* iOS - iPhone (arm64 and arm64e) and iPhoneSimulator (x86_64, arm64)
107
107
* tvOS - AppleTVOS (arm64) and AppleTVSimulator (x86-64)
108
108
109
109
By default, the OpenSSL source disables ENGINE support for iOS builds. To force this active use `build.sh -e`
@@ -119,7 +119,7 @@ NOTE: This script allows building the OpenSSL 3.0.x and 1.1.1 series libraries.
119
119
### HTTP2 / nghttp2
120
120
The `nghttp2-build.sh` script builds the nghttp2 libraries used by libcurl for the HTTP2 protocol.
121
121
* MacOS - OS X (x86-64, arm64)
122
-
* iOS - iPhone (armv7, armv7s, arm64 and arm64e) and iPhoneSimulator (i386, x86-64, arm64)
122
+
* iOS - iPhone (arm64 and arm64e) and iPhoneSimulator (x86_64, arm64)
123
123
* tvOS - AppleTVOS (arm64) and AppleTVSimulator (x86-64)
124
124
125
125
Edit `build.sh` to change the default version of nghttp2 that will be downloaded and built or specify the version on the command line.
@@ -143,7 +143,7 @@ DISABLE HTTP2: The nghttp2 build can be disabled by using:
143
143
### cURL / libcurl
144
144
The `libcurl-build.sh` script create separate bitcode enabled targets libraries for:
145
145
* MacOS - OS X (x86-64, arm64)
146
-
* iOS - iPhone (armv7, armv7s, arm64 and arm64e) and iPhoneSimulator (i386, x86-64, arm64)
146
+
* iOS - iPhone (arm64 and arm64e) and iPhoneSimulator (x86_64, arm64)
147
147
* tvOS - AppleTVOS (arm64) and AppleTVSimulator (x86-64)
148
148
149
149
The curl build uses `--with-ssl` pointing to the above OpenSSL builds and `--with-nghttp2` pointing to the above nghttp2 builds..
@@ -154,7 +154,7 @@ Edit `build.sh` to change the version of cURL that will be downloaded and built
154
154
Include the relevant library into your project. Rename the appropriate file to libcurl.a:
155
155
156
156
|____lib
157
-
|____libcurl_iOS.a <-- Contains iOS (armv7, armv7s, arm64 and arm64e) libraries
157
+
|____libcurl_iOS.a <-- Contains iOS (arm64 and arm64e) libraries
* openssl/openssl-ios-x86_64-maccatalyst.a is architecture: x86_64
299
299
300
300
* XCFrameworks
301
301
302
302
|__ libcrypto.xcframework
303
-
│ |__ ios-arm64_arm64e_armv7_armv7s
304
-
│ |__ ios-arm64_i386_x86_64-simulator
303
+
│ |__ ios-arm64_arm64e
304
+
│ |__ ios-x86_64_arm64-simulator
305
305
│ |__ tvos-arm64
306
306
│ |__ tvos-arm64_x86_64-simulator
307
307
|
308
308
|__ libcurl.xcframework
309
-
│ |__ ios-arm64_arm64e_armv7_armv7s
310
-
│ |__ ios-arm64_i386_x86_64-simulator
309
+
│ |__ ios-arm64_arm64e
310
+
│ |__ ios-x86_64_arm64-simulator
311
311
│ |__ tvos-arm64
312
312
│ |__ tvos-arm64_x86_64-simulator
313
313
|
314
314
|__ libnghttp2.xcframework
315
-
│ |__ ios-arm64_arm64e_armv7_armv7s
316
-
│ |__ ios-arm64_i386_x86_64-simulator
315
+
│ |__ ios-arm64_arm64e
316
+
│ |__ ios-x86_64_arm64-simulator
317
317
│ |__ tvos-arm64
318
318
│ |__ tvos-arm64_x86_64-simulator
319
319
|
320
320
|__ libssl.xcframework
321
-
|__ ios-arm64_arm64e_armv7_armv7s
322
-
|__ ios-arm64_i386_x86_64-simulator
321
+
|__ ios-arm64_arm64e
322
+
|__ ios-x86_64_arm64-simulator
323
323
|__ tvos-arm64
324
324
|__ tvos-arm64_x86_64-simulator
325
325
@@ -353,6 +353,13 @@ The `build.sh` script will create an ./archive folder and store all the *.a libr
353
353
354
354
Previous builds can be downloaded form the Github releases for this project: https://github.com/jasonacox/Build-OpenSSL-cURL/releases
355
355
356
+
## i386 and armv7 Architectures
357
+
358
+
As of build 1.0.2, the build script no longer supports i386 and armv7/armv7s targets. New Xcode installations do not have the libraries to support these platform so the build script would fail.
359
+
360
+
* Apple officially stopped supporting the i386 architecture for new development in Xcode 10 (released in 2018), marking the end of 32-bit Intel support for both macOS and iOS simulators.
361
+
* Apple officially stopped supporting the creation of binaries for armv7/armv7s architectures with the release of Xcode 14 in June 2022.
362
+
356
363
## License
357
364
358
365
The MIT License is used for this project. See LICENSE file.
Copy file name to clipboardExpand all lines: RELEASE.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# RELEASE NOTES
2
2
3
+
## 1.0.2 - Removal of armv7
4
+
5
+
* Removal of armv7/armv7s architecture support: Apple officially stopped supporting the creation of binaries for armv7/armv7s architectures with the release of Xcode 14 in June 2022. This means that new installations of Xcode will not be able to compile armv7 targets, which will break the build script.
6
+
* Removal of i386 architecture support: Apple officially stopped supporting the i386 architecture for new development in Xcode 10 (released in 2018), marking the end of 32-bit Intel support for both macOS and iOS simulators.
7
+
3
8
## 1.0.1 - Catalyst Fix
4
9
5
10
* Fix build issue where bitcode compile was happening for Catalyst target.
0 commit comments