-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal crash in iOS #82
Comments
I'm seeing the same problem. All you have to do is create a new project, add the nativescript-contacts plugin, then add |
We're using |
Mine is a javascript project, so I use
which is functionally equivalent, yes? I've spent some time investigating this, and error is triggered by line 6 in index.ios.js, which defines the |
@mrpaaske I am importing it in the same way. I wonder if it is related to an actual device vs. an emulator. We are using emulators for development and that’s where we are hitting the exception. Are you having success when running your application on an emulator? |
Hm, strange. I just tried our app on iPhone 11 iOS 13.4.1 (emulator) and with iPhone X iOS 13.4.1 (real device). Both works fine. Did you upgrade NativeScript or the plugin recently? If so, I recommend to do |
@mrpaaske Actually, my primary app works OK, too. I had created a sample app to debug another problem when I hit this. It's very easy to recreate:
|
Yes, I get the same issue with the sample app. I have no idea why this happens... |
In your main projects are you referencing or configuring other iOS APIs? What is the |
Nothing more than whatever the {N} javascript hello-world template does. My versions are:
|
I'm getting the same issue with the sample app. |
Having the same issue in my project on iPhone 11 Pro Max iOS 13.4.1 (Emulator) and on iPhone 6 iOS 12.4.6 |
Also seeing this on iOS 13.5.1 on physical iPhone. |
I noticed that it fails when running the app via |
A colleague found that commenting out the delegate methods makes it possible to run the app with
|
@firescript, do you have any input on this? Are you able to reproduce this issue? |
Created a sample app now (Angular+TypeScript), and still seeing this issue on latest versions. Both on emulator (iPhone 11, iOS 13.6) and device (iPhone X, iOS 14 beta 3).
|
I'm running into this after upgrading my iOS platform from 6.1.2 to 6.5.2. I upgraded the platform in the first place to get my app working on iOS 14. Perhaps a bug was introduced in tns-ios somewhere between those versions? |
I can confirm, at least in my app, that this crash happens in iOS runtime 6.3.0 but not 6.2.0. I haven't yet been able to identify why. |
I have same issue on real iPhone 12 OS 15.2.1 and simulator iOS 12.1, here is my environment setting.
|
Referencing this module, as described in the README, is crashing in iOS 13.4. This appears to be related to the availability of
CNContactPickerViewController
at runtime.Section that caught my attention:
Full stack trace:
The text was updated successfully, but these errors were encountered: