Merge pull request #33 from ilkerc/master

Fix catalyst symlinks
This commit is contained in:
Davide De Rosa 2020-12-09 19:25:40 +01:00 committed by GitHub
commit 769f441716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
openssl_version = "1.1.1h" openssl_version = "1.1.1h"
openssl_targets = "ios-sim-cross-x86_64 ios-sim-cross-arm64 ios64-cross-arm64 ios64-cross-arm64e macos64-x86_64 macos64-arm64 mac-catalyst-x86_64 mac-catalyst-arm64" openssl_targets = "ios-sim-cross-x86_64 ios-sim-cross-arm64 ios64-cross-arm64 ios64-cross-arm64e macos64-x86_64 macos64-arm64 mac-catalyst-x86_64 mac-catalyst-arm64"
script_version = "9" script_version = "10"
s.name = "OpenSSL-Apple" s.name = "OpenSSL-Apple"
s.version = "#{openssl_version}.#{script_version}" s.version = "#{openssl_version}.#{script_version}"

View File

@ -239,9 +239,9 @@ else
done done
fi fi
# macOS symlinks # macOS and Catalyst symlinks
for SYS in ${ALL_SYSTEMS[@]}; do for SYS in ${ALL_SYSTEMS[@]}; do
if [[ $SYS == "MacOSX" ]]; then if [[ $SYS == "MacOSX" || $SYS == "Catalyst" ]]; then
SYSDIR="$FWROOT/$SYS" SYSDIR="$FWROOT/$SYS"
FWDIR="$SYSDIR/$FWNAME.framework" FWDIR="$SYSDIR/$FWNAME.framework"
if [[ ! -e "$FWDIR" ]]; then if [[ ! -e "$FWDIR" ]]; then