Skip to content
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

Crash with plugin on XCode 10.2 #1123

Open
vcooley opened this issue Apr 10, 2019 · 0 comments
Open

Crash with plugin on XCode 10.2 #1123

vcooley opened this issue Apr 10, 2019 · 0 comments

Comments

@vcooley
Copy link

vcooley commented Apr 10, 2019

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.3.1
  • Cross-platform modules: 5.3.1
  • iOS Runtime: 5.3.1
  • Plugin(s):
    "nativescript-input-mask": "~1.0.5",

Describe the bug
My plugin works when built and run with XCode 10.1 but not 10.2. When I run the code and load a page that has an InputMask, the app crashes without displaying any error. I have pinpointed where the error occurs, but have not been able to fix the problem.

The crash occurs when attempting to set the listener property on the delegate here.

The native dependency is a fork of a pod here.

I have some deprecation warnings, but have also refactored the deprecated code with the same results.

To Reproduce
I have uploaded a sample project that shows the problem. Tap an item to go to a screen that has an InputMask. This produces no errors if you build with XCode 10.1 or earlier but will crash in XCode 10.2.

Relevant XCode versions:
XCode 10.1
XCode 10.2

Expected behavior
Crash should not occur or an error occur during the build.

Sample project
Sample project which works on XCode 10.1 but not 10.2:
xcode-bug.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant