I am trying to enable Firebase inside the target environment associated with the application. When I simply include Firebase in the target of the framework, it will not compile the application, and when I include Firebase in the application and in the framework, I see the following warnings.
objc[25463]: Class FIRAAppEnvironmentUtil is implemented in both /Users/User/Library/Developer/Xcode/DerivedData/TestApp-bldxbgfroizmdggroxupwpsxowvt/Build/Products/Debug-iphonesimulator/AppUIKit.framework/AppUIKit (0x109078e98) and /Users/User/Library/Developer/Xcode/DerivedData/TestApp-bldxbgfroizmdggroxupwpsxowvt/Build/Products/Debug-iphonesimulator/AppKit.framework/AppKit (0x108effdb8). One of the two will be used. Which one is undefined.
Below is my swap file
platform :ios, '9.0'
pod 'Firebase', '~> 3.6'
pod 'Firebase/RemoteConfig', '~> 3.6'
target 'AppKit' do
use_frameworks!
pod 'Alamofire', '~> 4.0'
target 'AppKitTests' do
inherit! :search_paths
end
end
target 'AppUIKit' do
use_frameworks!
target 'AppUIKitTests' do
inherit! :search_paths
end
end
target 'TestApp' do
use_frameworks!
target 'TestAppTests' do
inherit! :search_paths
end
end
source
share