Closed pdrhlik closed 3 years ago
Are you missing some plist configuration for the iOS project? See https://stackoverflow.com/questions/32000531/nsinternalinconsistencyexception-invalid-parameter-not-satisfying-stayup
Thanks, @diachedelic. It wasn't the accepted answer. I had everything correctly specified in Info.plist. The issue was that I didn't check a background mode location update capability in Xcode. I did so as per thing answer https://stackoverflow.com/questions/32000531/nsinternalinconsistencyexception-invalid-parameter-not-satisfying-stayup#answer-51430411 and it works now.
Maybe this should be mentioned in the iOS section of the README?
Thanks, I have added it to the README in v0.3.9.
Describe the bug I upgraded my Ionic Angular project to Angular 11 and running on my iOS device stopped wotking.
To Reproduce Steps to reproduce the behavior:
ionic capacitor run ios -l --watch --external
Ionic info
Additional info I tried cleaning all XCode caches, removing and recreating
www
andnode_modules
folders and nothing helped. It works on Android, the only issue is with iOS.XCode says that the build succeeded but then it crashes on line 5 in a file
AppDelegate.swift
. The error message there isThread 1: "Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient) || _CFMZEnabled()"
.The XCode error stack is following:
Let me know if you need any more info or see any obivous mistakes on my side.
Thanks, Patrik