Re: [iPHone] universal app Interface Builder trouble
Re: [iPHone] universal app Interface Builder trouble
- Subject: Re: [iPHone] universal app Interface Builder trouble
- From: Jonathan Hess <email@hidden>
- Date: Fri, 30 Jul 2010 03:12:57 -0700
Hey David -
It sounds like you have an outlet connected in IB, but either the instance variable, setter method for the property, or the class is missing at runtime.
You could narrow down the issue to find out which outlet is causing the problem by disconnecting them until the this crash goes away. After that, I'd investigate the source code for that outlet and see if it's missing something like the corresponding @synthesize directive.
Jon Hess
On Jul 29, 2010, at 5:26 PM, David Rowland wrote:
> 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
_______________________________________________
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