My objective is to verify that swift apps/code can run on iOS 7 simulators I am following this question Do Swift-based applications work on OS X 10.9/iOS 7 and lower? and specifically this answer -by @Anil https://stackoverflow.com/a/24038997
The following are the steps I followed
- Installed xcode6 beta
- Installed iOS 7.1 simulator from Xcode6->Preferences->Downloads
- Now, I created a new iOS Application Master Detail project and selected swift as language
- With default settings I was able to run the app
- Now I changed the simulator to iPhone 5- 7.1 by following this -https://stackoverflow.com/a/24038727 and changing the deployment target to 7.1.
- Now I can see my iOS 7.1 simulators When i try to run it I get build succeeded but the app crashes with swift dynamic cast excption
libswift_stdlib_core.dylib`swift_dynamicCast: