-
Notifications
You must be signed in to change notification settings - Fork 37
Crashes on IOS 13 #53
Comments
@ddfreiling Could you have a look at this? |
Hi @JungMinHur, Thank you for reporting this issue. I don't have access to an I noticed your dependency lists NS 6.3.0 was just released, could you try updating and see, if the problem still exists? |
Hi @m-abs , After the update to version tns-ios: 6.3.0 my app crashes at startup. Nevertheless, the update from tns-ios: 6.2.0 -> 6.3.0 results in the following error: `CONSOLE WARN file:///node_modules@nativescript\core\application\application.js:312:0: Error: Error: Building UI from XML. @app-root.xml:5:1
I found some related issue here: NativeScript/ios-jsc#1061 It seems to be a problem with the EXTERNAL_SYMBOL_FILE (functions are missing at runtime because the linker by default strips any unused C++ symbols.) Do you have any idea how this can be fixed? My project settings are: Tested on an iPhone6S with iOS: 13.3 |
We can reproduce this error/warning, but it doesn't seem to break our own app. We can't reproduce that error on our systems. It might be caused by an older version of xcode, do you have the latest version installed? |
@m-abs with tns-ios: 6.2.0 no error occurs at startup Is it possible that the error only occurs when the project is a JavaScript NativeScript-Core Application? If the error is not reproducible on your side with a local build i would file a bug report for the NativeScript-Sidekick Team (https://github.com/NativeScript/sidekick-feedback) Thank you very much for your help. |
I think it is caused by the way we bundle the native-classes. We're working on switching to XCFramework for the iOS classes, in the hope that it solves the problem. |
@kdagithub We've gone back to pre-building the iOS natives, it will lock on XCode version but should work better. |
@m-abs Using Version Do you think that this is related to the WebKit 13.2 (NativeScript/ios-jsc#1220) update in |
@kdagithub |
@kdagithub could you try the latest alpha? |
@m-abs Still the same error using the cloud-build: Configuration: |
I am using ios version 13.3 and nativescript-vue, but on ios the is not showing up. Working finde on android. |
@m-abs - The easiest way to fix it is typically in create a
|
Hi, I try your way to put build.xcconfig in nativescript-webview-ext/platforms/ios/, but it come out an error when I build the app with command tns build ios --bundle --release. My tns-ios version is 6.5.0 and
|
Hi @NathanaelA, Thank you for your suggestion. Unfortunately I get the same error as @simitdev5
|
@m-abs - Not sure, I haven't really played with XCFramework's so it is possible that the exported symbol command doesn't work as expected with them. I just know in the past that particular command solves release runtime building with that error message. |
Is this still an issue? |
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
dependencies
"@nota/nativescript-webview-ext": "^6.2.1",
"@nstudio/nativescript-cardview": "^1.0.0",
"@vue/devtools": "^5.0.6",
"animate": "^1.0.0",
"axios": "^0.19.0",
"moment-timezone": "^0.5.27",
"nativescript-local-notifications": "^4.1.3",
"nativescript-oauth2": "^2.2.2",
"nativescript-plugin-firebase": "^10.2.0",
"nativescript-socketio": "^3.2.1",
"nativescript-theme-core": "^1.0.6",
"nativescript-toasty": "^1.3.0",
"nativescript-ui-sidedrawer": "^7.0.4",
"nativescript-vue": "^2.4.0",
"nativescript-vue-devtools": "^1.2.0",
"nativescript-vue-multi-drawer": "0.0.2",
"set-cookie-parser": "^2.4.0",
"tns-core-modules": "^6.0.0",
"vue-moment": "^4.0.0",
"vuex": "^3.1.1"
dev
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-loader": "^8.0.2",
"nativescript-dev-webpack": "^1.0.0",
"nativescript-vue-template-compiler": "^2.0.0",
"nativescript-worker-loader": "~0.9.0",
"node-sass": "^4.9.2",
"vue-loader": "^15.4.0"
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
Loading and firing functions like
window.nsWebViewBridge.emit
causeskill() returned unexpected error 1
in iosIs there any code involved?
The text was updated successfully, but these errors were encountered: