Build crashes on iPadOS immediately when using Location
See original GitHub issueDescription
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
- Create a project.
- Utilize location services.
- Deploy to iPad.
- 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:
- Created a year ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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!
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.