The Firebase class FIRAAppEnvironmentUtil is implemented as when using Cocoapods

I am trying to use Firebase inside a dynamic framework (Cocoa Touch Framework). I added Firebase to the subfile like this:

platform :ios, '9.0'
use_frameworks!

workspace 'Test.xcworkspace'

target 'Test' do
  project 'Test.xcodeproj'
end

target 'TestFramework' do
  project 'TestFramework/TestFramework.xcodeproj'

  # Pods for TestFramework
  pod 'Firebase/Database'
  pod 'Firebase/Auth'

end

And I set the target dependency at the build stage of my test target. All by: https://github.com/benasher44/CocoaPodsLibExample

However, when I reference my test program from my test target during application startup, I get this message (for all Firebase classes) in the console:

objc [34978]: FIRAAppEnvironmentUtil /Users/peterwarbo/Library/Developer/Xcode/DerivedData/Test -goxvmnklbfyswhdniydzbvzudcez/Build/Products/Debug-iphonesimulator/TestFramework.framework/TestFramework (0x1085858c8) /Users/peterwarbo/Library/Developer/CoreSimulator/Devices/ 43080C45-C9E9-4237-A255-5029CC4D5797/data/Containers/Bundle/Application/FCFDC439-8564-40A8-9B34-935FE222193E/Test.app/Test (0x104342938). . undefined.

. , - , Firebase - . , Firebase . , Firebase , -, Firebase.

, : (

Xcode 8.2.1, Cocoapods 1.2.0

+4

Source: https://habr.com/ru/post/1670168/


All Articles