From 7ab9c3c498a3cadb7a1d1a706642e10d228d4690 Mon Sep 17 00:00:00 2001 From: Ryan Wilson Date: Tue, 2 Jan 2018 18:43:04 -0500 Subject: Remove FIRAppEnvironmentUtil's sharedApplication (#603) * Deprecate FIRAppEnvironmentUtil sharedApplication * Remove sharedApplication private API. This also allows us to remove an AppKit dependency. * Disable autolink when building FirebaseCore (#606) This prevents the dependencies of FirebaseCore's dependencies from bleeding into its interface. The proximate benefit of avoiding this is that FirebaseCore no longer ends up depending on ColorSync.framework which became a top-level system framework in 10.13. This makes it possible to build against the resulting FirebaseCore.framework on macOS 10.12 using Xcode 9 (with the macOS 10.13 SDK). --- FirebaseCore.podspec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'FirebaseCore.podspec') diff --git a/FirebaseCore.podspec b/FirebaseCore.podspec index 59460ef..958a936 100644 --- a/FirebaseCore.podspec +++ b/FirebaseCore.podspec @@ -26,9 +26,13 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration s.source_files = 'Firebase/Core/**/*.[mh]' s.public_header_files = 'Firebase/Core/Public/*.h', 'Firebase/Core/Private/*.h' s.private_header_files = 'Firebase/Core/Private/*.h' - s.framework = 'SystemConfiguration' + s.frameworks = [ + 'Foundation', + 'SystemConfiguration' + ] s.dependency 'GoogleToolboxForMac/NSData+zlib', '~> 2.1' s.pod_target_xcconfig = { - 'OTHER_CFLAGS' => '-DFIRCore_VERSION=' + s.version.to_s + ' -DFirebase_VERSION=4.8.0' + 'OTHER_CFLAGS' => '-fno-autolink ' + + '-DFIRCore_VERSION=' + s.version.to_s + ' -DFirebase_VERSION=4.8.0' } end -- cgit v1.2.3