ios icon indicating copy to clipboard operation
ios copied to clipboard

IOS remove app from tray (error)

Open kkhaliloff opened this issue 2 years ago • 4 comments

On an empty nativescript-vue project, if you throw the application out of the tray, an error pops up (IOS simulator IOS version 15.2)

It happens without any intervention in the application (everything out of the box)

Error Formulating Crash Report: dyld_process_snapshot_get_shared_cache failed

{ "name": "testApp", "main": "app/app.js", "version": "1.0.0", "private": true, "dependencies": { "@nativescript/core": "~8.5.0", "@nativescript/theme": "~3.0.2", "nativescript-vue": "~2.9.3" }, "devDependencies": { "@nativescript/android": "8.5.0", "@nativescript/ios": "8.5.2", "@nativescript/webpack": "~5.0.14", "nativescript-vue-template-compiler": "~2.9.3" } }

Xcode 14.2 (14C18) Version of nativescript - 8.5.3 Apple M1 Pro

kkhaliloff avatar Jul 27 '23 13:07 kkhaliloff

throw the application out of the tray

Can you explain what you mean by this? Perhaps a video would help.

rigor789 avatar Jul 28 '23 00:07 rigor789

throw the application out of the tray

Can you explain what you mean by this? Perhaps a video would help.

https://github.com/NativeScript/ios/assets/79607010/7a4bd00b-a2a7-4089-949e-6885eace37f1

kkhaliloff avatar Jul 31 '23 07:07 kkhaliloff

I believe this is fixed by https://github.com/NativeScript/ios/commit/5a6c2ee5efa0c557c94ae56da0d3b3a31911d1b8

Which will soon be released, but should be available on 8.5.3-next.2023-07-28-5696348438 for example.

Also note, this usually wouldn't affect a production build - since it "silently" crashes when trying to dispose after exit.

rigor789 avatar Jul 31 '23 10:07 rigor789

I believe this is fixed by 5a6c2ee

Which will soon be released, but should be available on 8.5.3-next.2023-07-28-5696348438 for example.

Also note, this usually wouldn't affect a production build - since it "silently" crashes when trying to dispose after exit.

Yes you are right. When using the version 8.5.3-next.2023-07-28-5696348438, the problem is not reproduced. Thank you very much !

kkhaliloff avatar Jul 31 '23 12:07 kkhaliloff