flurry/flurry-ios-sdk

Duplicate symbol '_plcrash__crash_report' warnings when building my app with Xcode 12

vladogrigorov opened this issue · 3 comments

Describe the bug
I'm using both Flurry and PLCrashReporter framework in my iOS application. When I build my app with Xcode 12, I get multiple duplicate symbol linker warnings:

ld: warning: duplicate symbol '_protobuf_c_message_init' in:
ld: warning: duplicate symbol '_protobuf_c_version_number' in:
ld: warning: duplicate symbol '_protobuf_c_version' in:
ld: warning: duplicate symbol '_protobuf_c_service_invoke_internal' in:
ld: warning: duplicate symbol '_protobuf_c_message_check' in:
ld: warning: duplicate symbol '_protobuf_c_empty_string' in:
ld: warning: duplicate symbol '_plcrash__crash_report__processor__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__report_info__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__process_info__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__application_info__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__system_info__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__machine_info__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__signal__mach_exception__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__exception__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__symbol__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__signal__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__thread__register_value__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__thread__stack_frame__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__binary_image__init' in:
ld: warning: duplicate symbol '_plcrash__crash_report__thread__init' in:
libFlurry.a(PLCrashReport.pb-c.o)
CrashReporter.framework/CrashReporter(crash_report.pb-c.o)

I don't use Flurry's crash report feature. I'm using the PLCrashReporter framework directly instead.

This Bug is About
Please choose the closest item by replacing [ ] with [x].

  • [ x] Integration
  • Analytics
  • Ads
  • Messaging/Push
  • IAP
  • Remote Configuration
  • Flurry Website/Dashboard
  • Other

Platform
Please choose the platform(s) that you are having the issue by replacing [ ] with [x].

  • [x ] iOS
  • tvOS
  • WatchOS

Environment
Please tell us the versions of Flurry SDK, XCode, and iOS you are using.

  • Flurry SDK: 11.0.0
  • XCode: 12 beta 6
  • iOS: 14

Additional context
Are you using Flurry Push/Messaging? Yes
(iOS) Are you using CocoaPods or manual binary integration? Yes
Manual binary integration

Hello,

Thank you for reporting this issue. We will release a patched version of the SDK to address the duplicate symbols early next week on or about Sept 7th.

@vladogrigorov Please upgrade to v11.1.0 which contains a fix for this bug.

I've upgraded to version 11.1.0 and these warnings are gone. Thank you very much!