dyld: Symbol not found: _OBJC_CLASS_$_GTMLogBasicFormatter

Hi, I've changed my project's setting to use the 'mix & match' (use Objective-c and Swift either in the same project).

So, I added a line 'use_frameworks!' in pod files and installed the pods. After that, Application is crashed by runtime error as below.


<Error>

dyld: Symbol not found: _OBJC_CLASS_$_GTMLogBasicFormatter

Referenced from: /var/containers/Bundle/Application/1FAFE24C-C0E8-4057-A503-E4912B7115E6/MyApplication.app/MyApplication

Expected in: /private/var/containers/Bundle/Application/1FAFE24C-C0E8-4057-A503-E4912B7115E6/MyApplication.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac

in /var/containers/Bundle/Application/1FAFE24C-C0E8-4057-A503-E4912B7115E6/MyApplication.app/MyApplication


To resolve this, I've tried to change pod file so many times.

When I remove " pod 'Firebase/core' " in app extension target, the dyld error is not occured.

I attatch my pod file's contens. How can I fix it? : (


<Pod file>

platform :ios, '10.0'


use_frameworks!


target 'MyApplication' do

pod 'AFNetworking'

pod 'SAMKeychain'

pod 'GoogleSignIn'

pod 'Firebase'

pod 'Firebase/Auth'

pod 'Firebase/AdMob'

pod 'Firebase/Core'

pod 'Firebase/Messaging'

pod 'Firebase/Crash'

end


target 'Extension1' do

pod 'AFNetworking'

pod 'SAMKeychain'

pod 'Firebase/Core'

end


target 'Extension2' do

pod 'SAMKeychain'

pod 'Firebase/Core'

end

Replies

Did you ever figure this out? I have the same problem.