Thread 1 signal sigterm ошибка

My swift application is set for certain IOS device, and runs fine in IOS simulator,

However, when changing hardware in IOS simulator, I get the error in swift Thread1: signal SIGTERM.

I can set swift for IOS device iPhone 6, IOS simulator runs iPhone 6, but can’t change to other hardware (such as iPhone 4S).
I can set swift for IOS device iPhone 4S, and IOS simulator runs fine for iPhone 4S, but get the error when changing hardware (such as iPhone 6 which worked fine before).

Therefore, I am pretty sure the swift application logic is correct.

How can I solve this?

asked Jan 8, 2015 at 22:01

ReneMusters's user avatar

1

This is expected behavior. There is nothing to «solve». Your app is correctly being sent SIGTERM because you requested to shutdown the running device and boot a new one (which will terminate all running processes in the existing device).

answered Jan 9, 2015 at 1:58

Jeremy Huddleston Sequoia's user avatar

2

While searching for this issue, i found a great help on :

https://codecrew.codewithchris.com/t/thread-1-signal-sigterm/15083

useful extract :

Do not close your simulator by close icon without terminating your app.

  1. Terminate app in simulator by clicking the stop icon in xcode.
  2. Close your simulator after that

answered Jun 23 at 8:49

Ritesh's user avatar

RiteshRitesh

4,7386 gold badges27 silver badges41 bronze badges

Alternatively, I found that you just need to close the simulator using cmd + q and you’re good to go.

answered Sep 12, 2022 at 11:06

Musdon's user avatar

1

My swift application is set for certain IOS device, and runs fine in IOS simulator,

However, when changing hardware in IOS simulator, I get the error in swift Thread1: signal SIGTERM.

I can set swift for IOS device iPhone 6, IOS simulator runs iPhone 6, but can’t change to other hardware (such as iPhone 4S).
I can set swift for IOS device iPhone 4S, and IOS simulator runs fine for iPhone 4S, but get the error when changing hardware (such as iPhone 6 which worked fine before).

Therefore, I am pretty sure the swift application logic is correct.

How can I solve this?

asked Jan 8, 2015 at 22:01

ReneMusters's user avatar

1

This is expected behavior. There is nothing to «solve». Your app is correctly being sent SIGTERM because you requested to shutdown the running device and boot a new one (which will terminate all running processes in the existing device).

answered Jan 9, 2015 at 1:58

Jeremy Huddleston Sequoia's user avatar

2

While searching for this issue, i found a great help on :

https://codecrew.codewithchris.com/t/thread-1-signal-sigterm/15083

useful extract :

Do not close your simulator by close icon without terminating your app.

  1. Terminate app in simulator by clicking the stop icon in xcode.
  2. Close your simulator after that

answered Jun 23 at 8:49

Ritesh's user avatar

RiteshRitesh

4,7386 gold badges27 silver badges41 bronze badges

Alternatively, I found that you just need to close the simulator using cmd + q and you’re good to go.

answered Sep 12, 2022 at 11:06

Musdon's user avatar

1

Hello!

I am using macOS Catalina, Xcode 11. I just started working on app development and this is my first project. Every time i try to simulate the code the program crashes and it gives me thread 1 signal SIGTERM error. My code is very simple, I don’t think i have an error there. I am really stuck, I tried to run different projects but it doesn’t work on any of them. Please, can someone help me fix this error?

Thanks in advance!

Replies

I have the same error, you have the solution? Thank you

I have a similar problem … create a game for iOS; build and run it; click the Red window close button and the app crashes with a SIGTERM error in class AppDelegate: UIResponder, UIApplicationDelegate.

I have added no code.

Same thing happens for a Single View App.

Xcode 11.5 on Catalina 10.15.5

Hi!

I think I found what the issue was. So I read carefully the error message, and in my case it gave me 3 following errors: SKView warning logs, Metal API was enabled, and Metal GPU Frame Capture was enabled. As I found SKView error is SpriteKit’s mistake that should disappear in new versions of XCode. The rest two errors I just disabled them in the Xcode Scheme:
» Product>Scheme>Edit Scheme>Options> Metal API Validation/ Metal GPU Frame Capture > disable «. Now I have only SKView error message hope it will be gone when I install XCode 12.

I hope it was helpful!

Hi,
i know its a bit late but for people, who are getting the same Error.
You are closing the simulator wrong, u have to use cmd and q.
hope that solved your Problem :)

Use the stop the running scheme or application button, rather than quitting the simulator this does not seem to cause the error

Hi all! I am getting this error while trying to run a calculator code on last Xcode 13.0. Did not have that problem in previous versions. App runs well until I close the Simulator and the error gets triggered. this is what is shown on left panel. Thread 3 Queue : com.apple.UIKit.KeyboardManagement (serial).

This is what I am getting at the debugger:

dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/osuhe/Library/Developer/Xcode/DerivedData/Calculator_Layout_iOS13-cdskmxpuiszizdgxwiezanhkuedj/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/osuhe/Library/Developer/Xcode/DerivedData/Calculator_Layout_iOS13-cdskmxpuiszizdgxwiezanhkuedj/Build/Products/Debug-iphonesimulator

CoreSimulator 776.3 — Device: iPhone 8 Plus (53744E1C-0ED4-4759-9FFA-1B0D0DFEF30C) — Runtime: iOS 15.0 (19A339) — DeviceType: iPhone 8 Plus

(lldb) 

Problem Description:

My swift application is set for certain IOS device, and runs fine in IOS simulator,

However, when changing hardware in IOS simulator, I get the error in swift Thread1: signal SIGTERM.

I can set swift for IOS device iPhone 6, IOS simulator runs iPhone 6, but can’t change to other hardware (such as iPhone 4S).
I can set swift for IOS device iPhone 4S, and IOS simulator runs fine for iPhone 4S, but get the error when changing hardware (such as iPhone 6 which worked fine before).

Therefore, I am pretty sure the swift application logic is correct.

How can I solve this?

Solution – 1

This is expected behavior. There is nothing to “solve”. Your app is correctly being sent SIGTERM because you requested to shutdown the running device and boot a new one (which will terminate all running processes in the existing device).

Solution – 2

Alternatively, I found that you just need to close the simulator using cmd + q and you’re good to go.

Понравилась статья? Поделить с друзьями:
  • Thermona 14 tcl коды ошибок
  • This war of mine ошибка msvcp100 dll
  • This stream is already in use ошибка торрент
  • Thermoking ошибка e7
  • This site can t be reached ошибка