I am writing in Swift. There is no problem in the simulator.

Although the actual machine will be build succeeded, Thread 1: signal SIGABRT will appear immediately after opening.

Myapp.app/Frameworks/libswiftCore.dylib: stat () failed with errno = 1

is displayed. Is there a problem with the code? What is the difference between a real machine and a simulator?

The xcode version is 9.4.1.