Comments (5)
work-around seems to be switching from CocoaPods to Swift Package Manager
from plcrashreporter.
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 .framework
s. 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.
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.
@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.
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)
- crash report miss crashed thread and register HOT 3
- Can I integrate PLCrashReporter within a framework? HOT 1
- Xcode 14.3 beta support HOT 5
- Warnings when building client code with `CLANG_WARN_OBJC_INTERFACE_IVARS=YES` HOT 3
- AddressSanitizer: CHECK failed: sanitizer_posix.cpp:61 HOT 8
- Xcode 15 build error HOT 6
- Hangs and Unresponsive Behavior in App Crashes (Ditto SDK and Rust 1.65+ on Apple arm64 Devices) HOT 8
- App getting crashed on launch. HOT 5
- Unable to use PLCrashReporter in simulator when embedded in xcframework HOT 8
- Support for visionOS HOT 2
- Bump macOS and Xcode versions to latest available (macOS-13, Xcode 15.0) HOT 3
- Compilation error when use library with Bazel & SPM HOT 10
- Kotlin multi-platform exception handling issue HOT 7
- Apple Privacy Manifest HOT 13
- Discussion: AppCenter retirement and PLCrashReporter HOT 1
- Library is not able to load pending crash report and throwing an error Domain=PLCrashReporterErrorDomain Code=2 HOT 6
- Build issues on 1.11.2
- arm64e PAC stripping mask HOT 5
- Xcode 16 beta 2 build issue HOT 4
- When dealing with Kotlin Multiplatform (KMP) and encountering a hang instead of crash on iOS. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plcrashreporter.