Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interface Builder was unable to determine the type of "Main_iPad.storyboard"

i get the above error when trying to archive my app ready for uploading, not sure what it means, i first got an error that said the main iPad storyboard was missing so i copied the iPhone storyboard and then changes the source to tell it, it was an iPad storyboard (followed another question on here)

the code i've highlighted is part of the code i changed, i also changed "targetRuntime="iOS.CocoaTouch"

following this question, Converting Storyboard from iPhone to iPad

any ideas where i'm going wrong?

like image 919
C.Wetherell Avatar asked Jun 11 '14 12:06

C.Wetherell


1 Answers

Your 'targetRuntime' should be "iOS.CocoaTouch.iPad" for iPad storyboards. One of mines :

<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" initialViewController="XXX-XXX-XX">

You can right-click on your storyboard file inside Xcode file inspector and click "Open as source-code" then update this value.

like image 62
David 'mArm' Ansermot Avatar answered Oct 19 '22 22:10

David 'mArm' Ansermot