question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crashing on simulator (os=ios and cpu=x86_64)

See original GitHub issue

Everything is working fine on devices.

There is only one problem now on ios simulators, where os=ios and cpu=x86_64.

When PDF will open it crash here:

let pdfiumDocument = PDFiumDocument(url: "file.pdf", password: "")

image

image

Can someone help on this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
paulocoutinhoxcommented, Nov 26, 2019

Hi,

Problems solved. I have reimplemented read string methods from two files to solve memory bugs:

Now it is working very well on all devices.

Thanks.

0reactions
paulocoutinhoxcommented, Nov 28, 2019

Hi,

The updated binaries is here: https://github.com/prsolucoes/mobile-pdfium

It works with your sample in simulator and device.

Get prebuilt library on end of file README.md at my repository.

Can you test it?

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Application crashes on simulator after update Monterey
After update my application not opens on iPhone Simulator (crashes immediately). And on xcode lots of errors appears, can't build.
Read more >
App crashes when launching directly from simulator but If I ...
If your iOS app crashes in the Simulator during a test run, the crash report can be used for diagnosing the exact cause...
Read more >
iOS Simulator Crash Reports - CircleCI Support
If your iOS app crashes in the Simulator during a test run, the crash report can be used for diagnosing the exact cause...
Read more >
Application Crash When Debug on iOS Simulator
Visual Studio Version 17.1.0 Preview 2.0. After hit the debug button to iOS Simulator (iPhone 13 iOS 15.2), application stop and error: System....
Read more >
App randomly crashing on iOS 15.4 Simulator (Xcode 13.3+)
If you are experiencing this - no worries! It only happens on Simulator devices and only on the iOS 15.4 ones (bundled with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found