Skip to content

ios crash with migrate to ns8. Only in --release #206

Open
@bradrice

Description

@bradrice

If I debug in the simulator or do ns debug ios -for-device --release --device --provision

Video plugin works fine and plays video

If I do ns run ios --for-device --release --device --provision

App runs fine except when i go to a page with the video plugin the app crashes. If I remove the plugin from the page, I don't get a crash.

Error in terminal:

*** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Uncaught TypeError: e.error is not a function
at
defaultErrorLogger(file:///var/containers/Bundle/Application/2AEFBD35-AC59-4231-B944-31E6737F6BDD/classappnativescript.app/app/vendor.js:2:1897501)
at handleError(file:///var/containers/Bundle/Application/2AEFBD35-AC59-4231-B944-31E6737F6BDD/classappnativescript.app/app/vendor.js:2:1897697)
at next(file:///var/containers/Bundle/Application/2AEFBD35-AC59-4231-B944-31E6737F6BDD/classappnativescript.app/app/vendor.js:2:2089347)
at (file:///var/containers/Bundle/Application/2AEFBD35-AC59-4231-B944-31E6737F6BDD/classappnativescript.app/app/vendor.js:2:1495819)
at (file:///var/containers/Bundle/Application/2AEFBD35-AC59-4231-B944-31E6737F6BDD/classappnativescript.app/app/vendor.js:2:1495334)
at (file:///var/containers/Bundle/Application/2AEFBD35-AC59-4231-B944-31E6737F6BDD/classappnativescript.app/app/vendor.js:2:1494838)
at (file:///var/containers/Bundle/Applicat<\M-b\M^@\M-&>

ns doctor:

✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 13.2.1 satisfies minimum required version 10.
✔ Getting NativeScript components versions information...
✔ Component nativescript has 8.2.2 version and is up to date.
✔ Component @nativescript/core has 8.2.1 version and is up to date.
✔ Component @nativescript/ios has 8.2.1 version and is up to date.
✔ Component @nativescript/android has 8.2.2 version and is up to date.

I seem to get a warning when building if it has anything to do with it:

/Volumes/Seagate1T/source/repos/classappnativescript/platforms/ios/Pods/ASBPlayerSubtitling/ASBPlayerSubtitling/ASBPlayerSubtitling.m:41:1: warning:
      method possibly missing a [super awakeFromNib] call [-Wobjc-missing-super-calls]
}
^
1 warning generated.

Android seems to be working fine.

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