not valid for Running the scheme

The run destination iPhone6 Plus is not valid for Running the scheme 'MyApp’.

Phone6 Plus's iOS 8.0 doesn't match MyAppTests.xctest's iOS 8.1 deployment target. Upgrade iPhone6 Plus's iOS version or lower MyAppTests.xctest's deployment target.

MyApp project —>general ——>deployment info:deployment target

2015-02-05 14:51:13.270 MyApp[331:30544] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </private/var/mobile/Containers/Bundle/Application/3F7480B6-397C-4E8F-ABBE-46EFE81721F9/MyApp.app> (loaded)'
*** First throw call stack:
(0x182b66084 0x1931a40e4 0x1878af798 0x187574280 0x187573440 0x187571c00 0x18ad69640 0x182b1e360 0x182b1d468 0x182b1b668 0x182a49664 0x18735398c 0x18734e984 0x10004a774 0x193812a08)
libc++abi.dylib: terminating with uncaught exception of type NSException

MyApp project —>info—>custom iOS
 target properties —>main storyboard file base name (delete)

上一篇:Mysql外键约束设置使用方法


下一篇:Vim使用技巧:撤销与恢复撤销