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?
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)
Мое быстрое приложение настроено для определенного устройства IOS и отлично работает в симуляторе IOS,
Однако при смене аппаратного обеспечения в симуляторе IOS я получаю ошибку в быстром потоке Thread1: сигнал SIGTERM.
Я могу быстро установить устройство IOS iPhone 6, симулятор IOS запускает iPhone 6, но не может перейти на другое оборудование (например, iPhone 4S). Я могу быстро установить устройство IOS для iPhone 4S, а симулятор IOS отлично работает для iPhone 4S, но получаю ошибку при смене аппаратного обеспечения (например, iPhone 6, который работал хорошо раньше).
Поэтому я уверен, что быстрая логика приложения правильная.
Как я могу это решить?