I wanted to take screenshots for my game for which I have been trying to run my game on Xcode Simulator but I keep getting so many errors when running on Xcode 10.2.1 ( 100 errors , all of them have the same heading undefined symbol ) . The game is working perfectly fine on my iPhone but it is not being compiled and running for simulator because of errors. Attaching some screenshots with some of the errors as reference for the errors that I am getting. Also when trying to run it on Xcode 10 simulator it keeps giving me a single error saying linker command failed. Can someone suggest me an alternate way to take screenshots or how to solve this problem.