Saturday, 15 June 2013

ios - My empty swift app crashes on xcode6-beta with deployment target 7.1 -



ios - My empty swift app crashes on xcode6-beta with deployment target 7.1 -

my objective verify swift apps/code can run on ios 7 simulators next question do swift-based apps work on os x 10.9/ios 7 , lower? , reply -by @anil http://stackoverflow.com/a/24038997

the next steps followed

installed xcode6 beta installed ios 7.1 simulator xcode6->preferences->downloads now, created new ios application master detail project , selected swift language with default settings able run app now changed simulator iphone 5- 7.1 next -http://stackoverflow.com/a/24038727 , changing deployment target 7.1. now can see ios 7.1 simulators when seek run build succeeded app crashes swift dynamic cast excption

libswift_stdlib_core.dylib`swift_dynamiccast:

the master-detail xcode project template creates storyboard uisplitviewcontroller root view controller.

before ios 8, uisplitviewcontroller ipad only. documentation states:

in ios 8 , later, can utilize uisplitviewcontroller class on ios devices; in previous versions of ios, class available on ipad.

you might want load different storyboard devices running older version of ios. i've been wondering how apple wants approach ios 8. might thought read on apple calls adaptive view controllers, or watch a wwdc video on them. believe "building adaptive apps uikit" covers new functionality of uisplitviewcontroller

ios swift xcode6

No comments:

Post a Comment