• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[iPHone] universal app Interface Builder trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iPHone] universal app Interface Builder trouble


  • Subject: [iPHone] universal app Interface Builder trouble
  • From: David Rowland <email@hidden>
  • Date: Thu, 29 Jul 2010 17:26:06 -0700

I am trying to make a universal app from my iPhone app. I have two xib files, MainWindow~iphone.xib and MainWindow~ipad.xib. The one was derived from the other by doing an "upgrade target for iPad".

As far as I can tell the two files are identical except for the window size and the appearance of "IBIPadFramework" in the one and "IBCocoaTouchFramework" in the other.

Yet, when I launch the app in the simulator the iPhone version succeeds and the iPad version crashes. It seems to load MainWindow and get as far as initWithCoder on the EAGLView contained in the window. It crashes after that and before reaching applicationDidLoad.

The debug trace goes down a path through,

loadNidNamed:owner:options
instantiateWithOptions:owner:loadingResourcesFromBundle
MakeObjectsPerformSelector
connect
setValue:forKey
NSSetUsingKeyValueSetter
NSException raise


Of course this is system code so a source debug is not possible.

Does this suggest anything to someone?

thanks,

Davd

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [iPHone] universal app Interface Builder trouble
      • From: Jonathan Hess <email@hidden>
  • Prev by Date: Keybindings for "Go forward", "Go back"
  • Next by Date: Re: problems with 3.2.3 debugger
  • Previous by thread: Keybindings for "Go forward", "Go back"
  • Next by thread: Re: [iPHone] universal app Interface Builder trouble
  • Index(es):
    • Date
    • Thread