mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
firebase13: bump minimum macOS to 11.0 and watchOS to 8.0 (#16551)
This commit is contained in:
1 parent
a4e4343e73
commit
4076d94ac5
35 files changed
+92
-95
No files matched your search
@@ -258,6 +258,8 @@ static bool FIRCLSBinaryImageMachOSliceInitSectionByName(FIRCLSMachOSliceRef sli
|
||||
|
||||
memset(section, 0, sizeof(FIRCLSMachOSection));
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
if (FIRCLSMachOSliceIs64Bit(slice)) {
|
||||
const struct section_64* sect =
|
||||
getsectbynamefromheader_64(slice->startAddress, segName, sectionName);
|
||||
@@ -278,6 +280,7 @@ static bool FIRCLSBinaryImageMachOSliceInitSectionByName(FIRCLSMachOSliceRef sli
|
||||
section->size = sect->size;
|
||||
section->offset = sect->offset;
|
||||
}
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -273,6 +273,8 @@ struct FIRCLSMachOSlice FIRCLSMachOSliceGetCurrent(void) {
|
||||
Dl_info dlinfo;
|
||||
|
||||
#if !CLS_TARGET_OS_VISION
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
const NXArchInfo* archInfo;
|
||||
archInfo = NXGetLocalArchInfo();
|
||||
|
||||
@@ -280,6 +282,7 @@ struct FIRCLSMachOSlice FIRCLSMachOSliceGetCurrent(void) {
|
||||
slice.cputype = archInfo->cputype;
|
||||
slice.cpusubtype = archInfo->cpusubtype;
|
||||
}
|
||||
#pragma clang diagnostic pop
|
||||
#else
|
||||
cpu_type_t cputype;
|
||||
cpu_subtype_t cpusubtype;
|
||||
@@ -348,6 +351,8 @@ const char* FIRCLSMachOSliceGetArchitectureName(FIRCLSMachOSliceRef slice) {
|
||||
}
|
||||
|
||||
#if !CLS_TARGET_OS_VISION
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
const NXArchInfo* archInfo;
|
||||
|
||||
archInfo = NXGetArchInfoFromCpuType(slice->cputype, slice->cpusubtype);
|
||||
@@ -356,6 +361,7 @@ const char* FIRCLSMachOSliceGetArchitectureName(FIRCLSMachOSliceRef slice) {
|
||||
}
|
||||
|
||||
return archInfo->name;
|
||||
#pragma clang diagnostic pop
|
||||
#else
|
||||
const char* archname = macho_arch_name_for_mach_header(slice->startAddress);
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source 'https://cdn.cocoapods.org/'
|
||||
use_frameworks!
|
||||
|
||||
target 'SampleWatchAppWatchKitExtension' do
|
||||
platform :watchos, '7.0'
|
||||
platform :watchos, '8.0'
|
||||
|
||||
pod 'FirebaseCore', :path => '../../'
|
||||
pod 'FirebaseCoreInternal', :path => '../../'
|
||||
@@ -30,6 +30,6 @@ target 'SampleWatchAppWatchKitExtension' do
|
||||
end
|
||||
|
||||
target 'ServiceExtension' do
|
||||
platform :watchos, '7.0'
|
||||
platform :watchos, '8.0'
|
||||
pod 'FirebaseMessaging', :path => '../../'
|
||||
end
|
||||
@@ -627,7 +627,7 @@
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 4;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 7.0;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 8.0;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
@@ -653,7 +653,7 @@
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 4;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 7.0;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 8.0;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
@@ -674,7 +674,7 @@
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 4;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 7.0;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 8.0;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
@@ -695,7 +695,7 @@
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 4;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 7.0;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 8.0;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
@@ -750,7 +750,7 @@
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 4;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 7.0;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 8.0;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
@@ -775,7 +775,7 @@
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 4;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 7.0;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 8.0;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
||||
+10
-10
@@ -58,7 +58,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
s.subspec 'Analytics' do |ss|
|
||||
@@ -75,7 +75,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
s.subspec 'AppDistribution' do |ss|
|
||||
@@ -90,7 +90,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
s.subspec 'Auth' do |ss|
|
||||
@@ -100,7 +100,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
s.subspec 'Crashlytics' do |ss|
|
||||
@@ -110,7 +110,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
s.subspec 'Database' do |ss|
|
||||
@@ -120,7 +120,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
s.subspec 'Firestore' do |ss|
|
||||
@@ -138,7 +138,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
s.subspec 'InAppMessaging' do |ss|
|
||||
@@ -161,7 +161,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
s.subspec 'Performance' do |ss|
|
||||
@@ -179,7 +179,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
s.subspec 'Storage' do |ss|
|
||||
@@ -189,7 +189,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
|
||||
ss.ios.deployment_target = '15.0'
|
||||
ss.osx.deployment_target = '11.0'
|
||||
ss.tvos.deployment_target = '15.0'
|
||||
ss.watchos.deployment_target = '7.0'
|
||||
ss.watchos.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
end
|
||||
@@ -23,9 +23,9 @@ Firebase Cloud Messaging and Firebase Remote Config in your app.
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.ios.deployment_target = ios_deployment_target
|
||||
s.osx.deployment_target = osx_deployment_target
|
||||
@@ -57,7 +57,7 @@ Firebase Cloud Messaging and Firebase Remote Config in your app.
|
||||
unit_tests.scheme = { :code_coverage => true }
|
||||
unit_tests.platforms = {
|
||||
:ios => ios_deployment_target,
|
||||
:osx => '10.15',
|
||||
:osx => osx_deployment_target,
|
||||
:tvos => tvos_deployment_target
|
||||
}
|
||||
unit_tests.source_files = 'FirebaseABTesting/Tests/Unit/**/*.[mh]'
|
||||
|
||||
@@ -21,7 +21,7 @@ Build AI-powered apps and features with the Gemini API using the Firebase AI Log
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.ios.deployment_target = ios_deployment_target
|
||||
s.osx.deployment_target = osx_deployment_target
|
||||
|
||||
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
|
||||
s.swift_version = '5.9'
|
||||
|
||||
s.ios.deployment_target = '15.0'
|
||||
s.osx.deployment_target = '10.15'
|
||||
s.osx.deployment_target = '11.0'
|
||||
s.tvos.deployment_target = '15.0'
|
||||
|
||||
s.libraries = 'c++', 'sqlite3', 'z'
|
||||
|
||||
@@ -18,9 +18,9 @@ Pod::Spec.new do |s|
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ Pod::Spec.new do |s|
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.ios.deployment_target = ios_deployment_target
|
||||
s.osx.deployment_target = osx_deployment_target
|
||||
|
||||
@@ -22,7 +22,7 @@ supports email and password accounts, as well as several 3rd party authenticatio
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
|
||||
s.ios.deployment_target = '15.0'
|
||||
s.osx.deployment_target = '11.0'
|
||||
s.tvos.deployment_target = '15.0'
|
||||
s.watchos.deployment_target = '7.0'
|
||||
s.watchos.deployment_target = '8.0'
|
||||
|
||||
s.source_files = 'FirebaseAuth/Interop/**/*.[hm]'
|
||||
s.public_header_files = 'FirebaseAuth/Interop/Public/FirebaseAuthInterop/*.h'
|
||||
|
||||
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ for internal testing only. It should not be published.
|
||||
s.swift_version = '5.9'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.ios.deployment_target = ios_deployment_target
|
||||
s.osx.deployment_target = osx_deployment_target
|
||||
|
||||
@@ -26,9 +26,9 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.ios.deployment_target = ios_deployment_target
|
||||
s.osx.deployment_target = osx_deployment_target
|
||||
@@ -73,7 +73,7 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
|
||||
unit_tests.scheme = { :code_coverage => true }
|
||||
unit_tests.platforms = {
|
||||
:ios => ios_deployment_target,
|
||||
:osx => '10.15',
|
||||
:osx => osx_deployment_target,
|
||||
:tvos => tvos_deployment_target
|
||||
}
|
||||
unit_tests.source_files = [
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
# Unreleased
|
||||
- [changed] **Breaking change**: Firebase's minimum supported versions have
|
||||
updated for the following platforms:
|
||||
- | Platform | Firebase 13 |
|
||||
| ------------- | ------------- |
|
||||
| iOS | 15.0 |
|
||||
| tvOS | 15.0 |
|
||||
| macOS | **11.0** |
|
||||
| watchOS | **8.0** |
|
||||
- [removed] Firebase is no longer distributed via CocoaPods. Firebase 13.0.0
|
||||
and future releases are distributed exclusively via Swift Package Manager
|
||||
and binary distributions. Existing CocoaPods releases will remain
|
||||
|
||||
@@ -25,7 +25,7 @@ Pod::Spec.new do |s|
|
||||
s.ios.deployment_target = '15.0'
|
||||
s.osx.deployment_target = '11.0'
|
||||
s.tvos.deployment_target = '15.0'
|
||||
s.watchos.deployment_target = '7.0'
|
||||
s.watchos.deployment_target = '8.0'
|
||||
|
||||
s.source_files = 'FirebaseCore/Extension/*.[hm]'
|
||||
s.public_header_files = 'FirebaseCore/Extension/*.h'
|
||||
|
||||
@@ -19,9 +19,9 @@ Pod::Spec.new do |s|
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.ios.deployment_target = ios_deployment_target
|
||||
s.osx.deployment_target = osx_deployment_target
|
||||
|
||||
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ Simplify your iOS development, grow your user base, and monetize more effectivel
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ Pod::Spec.new do |s|
|
||||
}
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@ Cloud Functions for Firebase.
|
||||
s.swift_version = '5.9'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.ios.deployment_target = ios_deployment_target
|
||||
s.osx.deployment_target = osx_deployment_target
|
||||
@@ -46,7 +46,7 @@ Cloud Functions for Firebase.
|
||||
s.test_spec 'objc' do |objc_tests|
|
||||
objc_tests.platforms = {
|
||||
:ios => ios_deployment_target,
|
||||
:osx => '10.15',
|
||||
:osx => osx_deployment_target,
|
||||
:tvos => tvos_deployment_target
|
||||
}
|
||||
objc_tests.source_files = [
|
||||
|
||||
@@ -18,9 +18,9 @@ Pod::Spec.new do |s|
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
@@ -61,7 +61,7 @@ Pod::Spec.new do |s|
|
||||
unit_tests.scheme = { :code_coverage => true }
|
||||
unit_tests.platforms = {
|
||||
:ios => ios_deployment_target,
|
||||
:osx => '10.15',
|
||||
:osx => osx_deployment_target,
|
||||
:tvos => tvos_deployment_target
|
||||
}
|
||||
unit_tests.source_files = base_dir + 'Tests/Unit/*.[mh]',
|
||||
@@ -78,7 +78,7 @@ Pod::Spec.new do |s|
|
||||
|
||||
s.test_spec 'integration' do |int_tests|
|
||||
int_tests.scheme = { :code_coverage => true }
|
||||
int_tests.platforms = {:ios => '10.0', :osx => '10.15', :tvos => '11.0'}
|
||||
int_tests.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
|
||||
int_tests.source_files = base_dir + 'Tests/Integration/**/*.[mh]'
|
||||
int_tests.resources = base_dir + 'Tests/Resources/**/*'
|
||||
if ENV['FIS_INTEGRATION_TESTS_REQUIRED'] && ENV['FIS_INTEGRATION_TESTS_REQUIRED'] == '1' then
|
||||
|
||||
@@ -21,9 +21,9 @@ device, and it is completely free.
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
|
||||
s.ios.deployment_target = '15.0'
|
||||
s.osx.deployment_target = '11.0'
|
||||
s.tvos.deployment_target = '15.0'
|
||||
s.watchos.deployment_target = '7.0'
|
||||
s.watchos.deployment_target = '8.0'
|
||||
|
||||
s.source_files = 'FirebaseMessaging/Interop/*.[hm]'
|
||||
s.public_header_files = 'FirebaseMessaging/Interop/*.h'
|
||||
|
||||
@@ -21,7 +21,7 @@ app update.
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ Pod::Spec.new do |s|
|
||||
s.ios.deployment_target = '15.0'
|
||||
s.osx.deployment_target = '11.0'
|
||||
s.tvos.deployment_target = '15.0'
|
||||
s.watchos.deployment_target = '7.0'
|
||||
s.watchos.deployment_target = '8.0'
|
||||
|
||||
s.source_files = 'FirebaseRemoteConfig/Interop/*.swift'
|
||||
end
|
||||
@@ -19,9 +19,9 @@ Pod::Spec.new do |s|
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.swift_version = '5.9'
|
||||
|
||||
|
||||
@@ -21,9 +21,9 @@ Firebase products. FirebaseSharedSwift is not supported for non-Firebase usage.
|
||||
s.swift_version = '5.9'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.ios.deployment_target = ios_deployment_target
|
||||
s.osx.deployment_target = osx_deployment_target
|
||||
|
||||
@@ -18,9 +18,9 @@ Firebase Storage provides robust, secure file uploads and downloads from Firebas
|
||||
s.social_media_url = 'https://twitter.com/Firebase'
|
||||
|
||||
ios_deployment_target = '15.0'
|
||||
osx_deployment_target = '10.15'
|
||||
osx_deployment_target = '11.0'
|
||||
tvos_deployment_target = '15.0'
|
||||
watchos_deployment_target = '7.0'
|
||||
watchos_deployment_target = '8.0'
|
||||
|
||||
s.ios.deployment_target = ios_deployment_target
|
||||
s.osx.deployment_target = osx_deployment_target
|
||||
|
||||
@@ -15,12 +15,6 @@
|
||||
import Foundation
|
||||
private import UniformTypeIdentifiers
|
||||
|
||||
#if os(iOS) || os(tvOS) || os(visionOS)
|
||||
import MobileCoreServices
|
||||
#elseif os(macOS) || os(watchOS)
|
||||
import CoreServices
|
||||
#endif // os(iOS) || os(tvOS)
|
||||
|
||||
class StorageUtils {
|
||||
class func defaultRequestForReference(reference: StorageReference,
|
||||
queryParams: [String: String]? = nil)
|
||||
@@ -76,24 +70,9 @@ class StorageUtils {
|
||||
guard let fileExtension else {
|
||||
return "application/octet-stream"
|
||||
}
|
||||
// TODO: Remove `else` when min. supported macOS is 11.0+.
|
||||
if #available(macOS 11.0, *) {
|
||||
guard let mimeType = UTType(filenameExtension: fileExtension)?.preferredMIMEType else {
|
||||
return "application/octet-stream"
|
||||
}
|
||||
return mimeType
|
||||
} else {
|
||||
if let type = UTTypeCreatePreferredIdentifierForTag(
|
||||
kUTTagClassFilenameExtension,
|
||||
fileExtension as NSString,
|
||||
nil
|
||||
)?.takeRetainedValue() {
|
||||
if let mimeType = UTTypeCopyPreferredTagWithClass(type, kUTTagClassMIMEType)?
|
||||
.takeRetainedValue() {
|
||||
return mimeType as String
|
||||
}
|
||||
}
|
||||
guard let mimeType = UTType(filenameExtension: fileExtension)?.preferredMIMEType else {
|
||||
return "application/octet-stream"
|
||||
}
|
||||
return mimeType
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,7 @@ Pod::Spec.new do |s|
|
||||
s.cocoapods_version = '>= 1.12.0'
|
||||
|
||||
s.ios.deployment_target = '15.0'
|
||||
s.osx.deployment_target = '10.15'
|
||||
s.osx.deployment_target = '11.0'
|
||||
s.tvos.deployment_target = '15.0'
|
||||
|
||||
s.libraries = 'c++', 'sqlite3', 'z'
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ let shouldUseSourceFirestore = Context.environment["FIREBASE_SOURCE_FIRESTORE"]
|
||||
|
||||
let package = Package(
|
||||
name: "Firebase",
|
||||
platforms: [.iOS(.v15), .macCatalyst(.v15), .macOS(.v11), .tvOS(.v15), .watchOS(.v7)],
|
||||
platforms: [.iOS(.v15), .macCatalyst(.v15), .macOS(.v11), .tvOS(.v15), .watchOS(.v8)],
|
||||
products: packageProducts(),
|
||||
dependencies: packageDependencies(),
|
||||
targets: packageTargets(),
|
||||
|
||||
+9
-8
@@ -106,13 +106,14 @@ case "$system" in
|
||||
esac
|
||||
|
||||
# Source function to check if CI secrets are available.
|
||||
# shellcheck disable=SC1091
|
||||
source scripts/check_secrets.sh
|
||||
|
||||
# Runs xcodebuild with the given flags, piping output to xcbeautify
|
||||
# If xcodebuild fails with known error codes, retries once.
|
||||
function RunXcodebuild() {
|
||||
# Print the command in a copy-pasteable format
|
||||
echo xcodebuild $(printf "%q " "$@")
|
||||
echo xcodebuild "$(printf "%q " "$@")"
|
||||
|
||||
if [[ -n "${DRY_RUN:-}" ]]; then
|
||||
echo "DRY_RUN is set. Exiting before build."
|
||||
@@ -188,8 +189,8 @@ if [[ "$xcode_major" -ge 27 ]]; then
|
||||
spm_macosx_deployment_target="12.0"
|
||||
spm_watchos_deployment_target="9.0"
|
||||
else
|
||||
spm_macosx_deployment_target="10.15"
|
||||
spm_watchos_deployment_target="7.0"
|
||||
spm_macosx_deployment_target="11.0"
|
||||
spm_watchos_deployment_target="8.0"
|
||||
fi
|
||||
|
||||
ios_device_flags=(
|
||||
@@ -780,7 +781,7 @@ case "$product-$platform-$method" in
|
||||
|
||||
FirebaseDataConnect-*-spm)
|
||||
RunXcodebuild \
|
||||
-scheme $product \
|
||||
-scheme "$product" \
|
||||
"${xcb_flags[@]}" \
|
||||
IPHONEOS_DEPLOYMENT_TARGET=15.0 \
|
||||
TVOS_DEPLOYMENT_TARGET=15.0 \
|
||||
@@ -789,7 +790,7 @@ case "$product-$platform-$method" in
|
||||
|
||||
*-*-spm)
|
||||
RunXcodebuild \
|
||||
-scheme $product \
|
||||
-scheme "$product" \
|
||||
"${xcb_flags[@]}" \
|
||||
IPHONEOS_DEPLOYMENT_TARGET=15.0 \
|
||||
MACOSX_DEPLOYMENT_TARGET="$spm_macosx_deployment_target" \
|
||||
@@ -800,7 +801,7 @@ case "$product-$platform-$method" in
|
||||
|
||||
*-*-spmbuildonly)
|
||||
RunXcodebuild \
|
||||
-scheme $product \
|
||||
-scheme "$product" \
|
||||
"${xcb_flags[@]}" \
|
||||
build
|
||||
;;
|
||||
@@ -808,7 +809,7 @@ case "$product-$platform-$method" in
|
||||
ClientApp-iOS-xcodebuild | ClientApp-iOS13-iOS-xcodebuild)
|
||||
RunXcodebuild \
|
||||
-project 'IntegrationTesting/ClientApp/ClientApp.xcodeproj' \
|
||||
-scheme $product \
|
||||
-scheme "$product" \
|
||||
"${xcb_flags[@]}" \
|
||||
build
|
||||
;;
|
||||
@@ -816,7 +817,7 @@ case "$product-$platform-$method" in
|
||||
ClientApp-CocoaPods*-iOS-xcodebuild)
|
||||
RunXcodebuild \
|
||||
-workspace 'IntegrationTesting/ClientApp/ClientApp.xcworkspace' \
|
||||
-scheme $product \
|
||||
-scheme "$product" \
|
||||
"${xcb_flags[@]}" \
|
||||
build
|
||||
;;
|
||||
|
||||
@@ -59,7 +59,7 @@ args=(
|
||||
# Disable signing.
|
||||
"CODE_SIGN_IDENTITY=-" "CODE_SIGNING_REQUIRED=NO" "CODE_SIGNING_ALLOWED=NO"
|
||||
# GHA is still running 10.15.
|
||||
"MACOSX_DEPLOYMENT_TARGET=10.15"
|
||||
"MACOSX_DEPLOYMENT_TARGET=11.0"
|
||||
"-resultBundlePath" "xcresults/$scheme-${timestamp}.xcresult"
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user