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.

Build crashes on iPadOS immediately when using Location

See original GitHub issue

Description

I’m trying to build an app I’m making that utilizes location to iPad. I’ve encountered this bug in Xamarin.Forms before. It pretty much comes down to the fact that iPads don’t have a GPS, but location services still work thanks to location detection through WiFi. I don’t know what is specifically going on under the hood, the kit is mainly for iPhone & Apple Watch, but Apple says that SensorKit is available to iPadOS as well.

Apple Docs: SensorKit

Steps to Reproduce

  1. Create a project.
  2. Utilize location services.
  3. Deploy to iPad.
  4. Crash on boot.

Version with bug

6.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS/iPadOS 14+

Did you find any workaround?

None

Relevant log output

Launched application '<AppID>' on 'Daniel Christmas’ iPad' with pid 31794
dyld[31794]: Library not loaded: /System/Library/Frameworks/SensorKit.framework/SensorKit
  Referenced from: /private/var/containers/Bundle/Application/00DCEA18-CEB4-40A7-B7E3-633DCA2CC3A1/<DisplayName>.app/<DisplayName>
  Reason: tried: '/System/Library/Frameworks/SensorKit.framework/SensorKit' (no such file)
Application '<AppID>' terminated (with exit code '' and/or crashing signal '6).

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Eiloncommented, Jun 7, 2022

@justadaniel - can you please show the exact code you are using to get the location? Ideally, a complete project uploaded as a GitHub repo (not a ZIP). But at a minimum, showing the C# code that you used, including any relevant context. Thank you!

0reactions
msftbot[bot]commented, Mar 21, 2023

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

In iOS 15, when the app is restarted, it immediately crashes.
In iOS 15, when the app is restarted, it immediately crashes. ... Go to the home screen while running the app; Completely quit...
Read more >
Apple Configurator for iPhone Crashing : r/macsysadmin
After updating to iPadOS 16 and Apple Configurator 1.1, the app crashes immediately upon opening. We've tried erasing the iPads as well and ......
Read more >
IpadOS 16 + 1password 8 watchtower is crashing?
I start 1Password 8. If I try to access Watchtower, the app appears to crash. On subsequent attempts to start 1Password 8, I...
Read more >
Fixed iPhone Apps Keep Crashing After iOS 16.6 Update ...
Go to Settings > General > Software Update. (People face app crashing problems on the most recent iOS 16.5 or iPadOS update to...
Read more >
Latest Roon IOS Remote crashes immediately after ...
Latest Roon IOS Remote crashes immediately after opening on both iPhone and iPad - Apple iPad and iPhone - Roon Labs Community.
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