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). --- cmake/FindFirebaseCore.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmake') diff --git a/cmake/FindFirebaseCore.cmake b/cmake/FindFirebaseCore.cmake index e23d6db..6e68dfb 100644 --- a/cmake/FindFirebaseCore.cmake +++ b/cmake/FindFirebaseCore.cmake @@ -33,11 +33,10 @@ if(FIREBASECORE_FOUND) ${FIREBASECORE_LIBRARY}/PrivateHeaders ) - # TODO(mcg): on iOS this should depend on UIKit. set( FIREBASECORE_LIBRARIES ${FIREBASECORE_LIBRARY} - "-framework AppKit" + "-framework Foundation" ) if(NOT TARGET FirebaseCore) -- cgit v1.2.3