AVPlayer causes Simulator to crash but runs fine on device
It is likely that you have an exception breakpoint enabled. The play method in AVPlayer normally throws an exception, even though nothing is wrong. The exception doesn't crash the app, and the app then continues to run exactly as you wanted it to. If you have exception breakpoints enabled, however, Xcode notices the exception and crashes the app. If you go into the left sidebar and disable your exception breakpoint the app will run without crashing.
uicollection view crash
The issue might be experienced because of the use of XCode beta release. Try using the latest stable release of XCode and issue with simulator only will hopefully go away.
Spritekit app crashes when run on device, works on simulator after swift 3 conversion
This worked for me. I had to disable Metal verification by editing the scheme (Command-Option-R) is one way to get there, go to the Options tab. Set Metal API Validation to Disabled.
Related Topics
Where Is the Run Script and Build Phase in Xcode
Uiimagejpegrepresentation Has Been Replaced by Instance Method Uiimage.Jpegdata(Compressionquality:)
How to Change the App Store's Large Icon on Itunes Connect
Uirefreshcontrol Stuck After Switching Tabs in Uitabbarcontroller
How to Get the Current Application Icon in iOS
Sfspeechrecognizer - Detect End of Utterance
Change Uifont in Secure Uitextfield Strange Behaviour in iOS7
Intercept Request with Wkwebview
Alphabetical Sections in Table Table View in Swift
Not Receiving Any Push Notification in Iphone
How to Delete a Child from Firebase (Swift)
How to Get Uitouch Location from Uigesturerecognizer
Swift Calculate Md5 Checksum for Large Files
Autosizing Cells: Cell Width Equal to the Collectionview
How to Get Previous and Next Month in Calendar-Swift
Opening Word,Excel, and PDF Files Without Using Uiwebview on iOS