Comments (7)
@alexwhb I see - good to know! Feel free to write any further feedback, we really appreciate it!
from sentry-kotlin-multiplatform.
Hi, if you use cocoapods you shouldn't need isStatic to symbolicate your stacktraces, if you're unsure about the setup you could take a look at the samples. The only time isStatic is necessary would be if you're using SPM to include the Sentry dependency (at least for now) instead of cocoapods.
Maybe you did already but did you go through the uploading debug symbols steps?
from sentry-kotlin-multiplatform.
@buenaflor That's great to know. Thank you so much.
I have uploaded my debug symbols, but with no success all I see are the standard stack frames with no source mapping on iOS unless I change my library to static then I weirdly do see the mapping. I'm kinda thinking it's either a gradle issue on my end or maybe I'm not uploading the correct dSYM file when generating the dynamic framework. I'll take a look at the sample and see if something becomes obvious that i missed.
Thanks so much for your response.
here's an example of what I mean by mapping. This comes from a build that I generated the static framework for. Notice the kotlin file and line number. I get the same stack frame with the dynamic library, just without the kotlin file name and line number reference.
from sentry-kotlin-multiplatform.
Hm, that's odd. Is that reproducible on your https://github.com/alexwhb/Sentry-KMM-Bug repo as well?
from sentry-kotlin-multiplatform.
@buenaflor Good question. I'll give that a test today and let you know. 👍
from sentry-kotlin-multiplatform.
@buenaflor I figured it out! I was missing --include-sources flag in my sentry-cli debug-files upload. Now it's working for my dynamic library too. 😄 Thanks for your help. So happy to have this system working well at last. 😄
from sentry-kotlin-multiplatform.
Closing as resolved - you're still welcome to leave more feedback or insights :)
from sentry-kotlin-multiplatform.
Related Issues (20)
- Test Apple targets don't find Sentry framework when using SPM HOT 22
- isCrashedLastRun method
- The Ability to Adjust App Hang Preferences HOT 4
- Cococa deps updater should also update dependencies in samples
- Docs: clarify difference between native android init docs and kmp android init
- Support Compose Multiplatform
- Crashes on App Boot HOT 4
- [Gradle Plugin] Better support for tests not working on cocoa targets
- Implement & Document `lastEventId` with User Feedback
- Improve the KMP SDK
- Make `setSentryUnhandledExceptionHook` public HOT 2
- Build failed for iOS: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_SentryId" HOT 9
- Problem when used together with Phoenix library HOT 9
- Expose platform specific Configuration via expect actual HOT 18
- ci: build iOS app and upload to TestFlight
- Support Spotlight
- Add internal logging mechanism
- Compilation failed: Linking globals named 'kniprot_cocoapods_Sentry3_SentryMetricsAPIDelegate': symbol multiply defined! HOT 9
- WASM support HOT 1
- Send trace origin HOT 2
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 sentry-kotlin-multiplatform.