Visitar URL original
Crash with plugin on XCode 10.2 · Issue #1123 · NativeScript/ios-jsc · GitHub
Skip to content

Crash with plugin on XCode 10.2 #1123

Description

@vcooley

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions