2016-10-26 16 views
0

我的應用在我的iPhone 6+上運行正常。 我想在iPad mini 4上運行它,但出現下面的錯誤。 但是,Project> General> Deployment Info> Devices = Universal。如何添加名爲'main_ipad'的故事板

如何添加名爲'Main_iPad'的故事板?

 
2016-10-25 20:01:17.602324 AsMan x4[314:12445] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main_iPad' in bundle NSBundle </var/containers/Bundle/Application/9F12175F-0A54-42A5-9984-6565803E5E45/AsMan x4.app> (loaded)' 
*** First throw call stack: 
(0x1913381c0 0x18fd7055c 0x197932bd0 0x197403b48 0x1971ec0a8 0x1974027c0 0x197417080 0x1973ff8c4 0x192ed98bc 0x192ed9728 0x192ed9ad0 0x1912e6278 0x1912e5bc0 0x1912e37c0 0x191212048 0x1971e55dc 0x1971e0360 0x1000b2eac 0x1901f45b8) 
libc++abi.dylib: terminating with uncaught exception of type NSException 
+0

只需將其添加爲一個新文件?但我不認爲你需要這個,如果你沒有在你的.plist中的ipad獨佔密鑰的故事板 – Tj3n

回答

1

按照以下步驟來創建一個名爲新的故事板:Main_iPad

NewFile --> Storyboard(UserInterface) --> SaveAs:Main_iPad --> create 

enter image description here

enter image description here

相關問題