Git Product home page Git Product logo

Comments (5)

jstoffer avatar jstoffer commented on August 27, 2024

work-around seems to be switching from CocoaPods to Swift Package Manager

from plcrashreporter.

MatkovIvan avatar MatkovIvan commented on August 27, 2024

Hi @jstoffer,

Thanks for getting in touch!
I've double checked this and confirm that the binaries really contain these symbols twice. However, it works fine with CocoaPods in all our test applications.
After some investigation I've figure out why all out test apps works fine with this binary - it doesn't set -all_load flag. This problem affects only iOS and tvOS .frameworks. Static libraries (.a) for these platforms and macOS binaries are valid.

Anyway, this is a bug, so I'm adding appropriate label. I'll take care about this issue and add this case to our tests.

from plcrashreporter.

sevaa avatar sevaa commented on August 27, 2024

Same error on ARM64:

duplicate symbol '_PLCrashReporterException' in:
../Libs/CrashReporter.framework/CrashReporter(CrashReporter-arm64-master.o)
../Libs/CrashReporter.framework/CrashReporter(CrashReporter.o)
duplicate symbol '_PLCrashReporterErrorDomain' in:
../Libs/CrashReporter.framework/CrashReporter(CrashReporter-arm64-master.o)
../Libs/CrashReporter.framework/CrashReporter(CrashReporter.o)
ld: 2 duplicate symbols for architecture arm64

Objective C project, PLCrashReporter 1.7.0, Xcode 11.5.

from plcrashreporter.

MatkovIvan avatar MatkovIvan commented on August 27, 2024

@sevaa yes, version 1.7.0 and architectures aside of x86_64 have the same issue. For these versions I can only suggest avoid using -all_load flag or use static library instead of framework.
I've already prepared the PR with fix (#106), so it will be fixed with the next patch.

from plcrashreporter.

MatkovIvan avatar MatkovIvan commented on August 27, 2024

Hey!
We've included the fix for this issue to the latest SDK release (1.7.1).
I'm closing it, but please reopen if you some questions or run into this again.

from plcrashreporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.