diff options
author | Ryan Wilson <wilsonryan@google.com> | 2018-01-02 18:43:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-02 18:43:04 -0500 |
commit | 7ab9c3c498a3cadb7a1d1a706642e10d228d4690 (patch) | |
tree | 89e2258be469a5dd12e24a62ccda2f348db1ff5a /FirebaseCore.podspec | |
parent | c4dcfaa49eca773a0ccc2ffa5514fb8ef8eaa4fb (diff) |
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).
Diffstat (limited to 'FirebaseCore.podspec')
-rw-r--r-- | FirebaseCore.podspec | 8 |
1 files changed, 6 insertions, 2 deletions
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 |