Comments (8)
Hi @Kumail-51214 , thank you for contacting us!
Have you tried to import any other dependencies of our library with @_implementationOnly
?
To understand if the issue is specific to PLCR or not.
I'm not familiar with this feature (@_implementationOnly
) and couldn't find a public doc from apple on supported scenarios. So, I would suggest to open a ticket on the apple developer portal as well.
Also, might be worth checking architectures:
lipo -info ./build/MyFramework.framework-iphonesimulator.xcarchive/Products/Library/Frameworks/MyFramework.framework/MyFramework
Ensure you see x86_64 and/or arm64 for the simulator.
It would be helpful if you could create a minimal project that replicates your scenario. It would also be beneficial to share this with Apple.
from plcrashreporter.
Hey @DmitriyKirakosyan , thanks for replying back.
I have just used @_implementationOnly CrashReporter
and initialized SDK using the code provided in documentation.
About@_implementationOnly
, I only used it because I was unable to use any third party library in my XCFramework, and as a workaround, it was suggested to use this property wrapper.
For you to better understand my issue, I have created a git project, in which I have included SDK Project, SDK XCFramework & Project in which I am integrating SDK. Below is the link:
https://github.com/Kumail-51214/SDKTesting
Hoping to hear from you soon.! Thanks
from plcrashreporter.
Thank you so much for the example.
About@_implementationOnly, I only used it because I was unable to use any third party library in my XCFramework, and as a workaround, it was suggested to use this property wrapper.
Could you provide more details on this? Why wouldn't it possible using your library without @_implementationOnly
?
from plcrashreporter.
@DmitriyKirakosyan , if i don't use @_implementationOnly while using CrashReporter in my SDK, then when i make SDK using the commands provided above, and then use that SDK in any project i get following error as in the image above. Error occur both on Simulator as well as Physical device.
However, SDK itself builds fine without any errors. Only when that SDK is used in form of .xcframework in any project, the above issue arise.
from plcrashreporter.
@Kumail-51214, it appears that there may be an issue with the integration of your SDK and PLCrashReporter
. In most cases, it should work without the need for @_implementationOnly
, unless there are specific build configuration or integration issues.
As a reference, you can examine the AppCenter SDK as an example. It utilizes PLCrashReporter
without @_implementationOnly
and integrates seamlessly into iOS applications without encountering any problems.
from plcrashreporter.
@DmitriyKirakosyan , did you tried and run the project/SDK that I've provided?
Also, currently my SDK is dynamic Linked (Default). Can that be the issue? Should I change it to Statically Linked Library?
from plcrashreporter.
@Kumail-51214 , yes, I tried, but it builds and runs on simulator successfully for me. I'm running the IntegratingTestSDK
.
Also, currently my SDK is dynamic Linked (Default). Can that be the issue? Should I change it to Statically Linked Library?
Using static or dynamic lib is your choice and there are cons and pros.
However, I'm still not sure why it doesn't work for you without using @_implementationOnly
. Normally, it should.
from plcrashreporter.
Related Issues (20)
- How to get mac .app.dSYM file
- Getting EXC_BAD_ACCESS (code=2) in PLCrashreport.pb-c at Line no. 127 (plcrash__crash_report__unpack) HOT 2
- Is this a crash? HOT 1
- found a crash in version 1.10.1 [Mac Application] HOT 2
- arm64-unknown导致用symbolicatecrash无法解析、时间不正确 HOT 7
- PLCrashReporter does not catch crash when app uses Google-Mobile-Ads-SDK HOT 1
- Xcode 14 Carthage build errors HOT 7
- I found a crash.Please help. Thank you HOT 2
- crash logs of iOS15 and above systems could not be parsed by symbolicatecrash HOT 8
- fails to symbolize locally HOT 7
- 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 2
- 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
- Support for visionOS 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 plcrashreporter.