[MonoTouch] Problem with .h files disappearing in Interface Builder
Jeff Stedfast
jeff at xamarin.com
Sat Mar 3 15:08:33 UTC 2012
Hi Rene,
I'll pass this along to Alan who is on Lion (I'm stuck on Snow Leopard so
can't install 4.3). I think Xamarin will be ordering me a Lion machine on
Monday, though, since I need a Lion machine for some other work I've been
working on anyway.
The fix I committed yesterday was an attempt to eliminate any possible race
conditions in the logic that scanned the project's types in order to figure
out which classes to export to Xcode as .m/.h files.
Alan: can you look into this next week? Figure out what is in the ob/
directory that is causing Xcode 4.3 to hang and/or cause things not to sync
correctly?
Jeff
On Sat, Mar 3, 2012 at 7:15 AM, Rene Ruppert <rene.ruppert at googlemail.com>wrote:
> I had the same effect when switching to Xcode 4.3. The final solution was
> to manually delete the "obj" folder of my project (which contains the Xcode
> sync stuff).
> Then, next time, opening the XIB my .h file was back and visible in the
> Assistant.
>
> Maybe worth trying.
>
> René
>
> Am 03.03.2012 um 02:53 schrieb Jeff Stedfast:
>
> Hi Chris,
>
> Yes, that is correct. I committed a fix to the 2.8.8 branch (should be in
> 2.8.8.2 beta) that will hopefully solve this, but I have no idea because I
> still can't repro :(
>
> Jeff
>
> On Fri, Mar 2, 2012 at 7:44 PM, Chris_M <kungfuchris99 at yahoo.com> wrote:
>
>> Hi Jeff,
>>
>> The xib file that I'm having the disappearing .h file problem with is the
>> ViewController.xib for the ViewController.cs file (in a single-view app)
>> which includes the partial ViewController class (which of course has the
>> matching partial class in the ViewController.designer.cs file). So that
>> means that I do have a C# class for my xib file, right?
>>
>>
>> --Chris M.
>>
>>
>> Jeff Stedfast wrote
>> >
>> > Hey Chris and Chris,
>> >
>> > I got your logs, thanks!
>> >
>> > Do you have C# classes for your .xib files?
>> >
>> > In MonoDevelop, you can create standalone .xib files (Xcode allows
>> > this too) where no classes are auto-generated for you.
>> >
>> > I mention this because MonoDevelop only generates .h files from C#
>> > classes, not from .xib files, when it exports projects to Xcode.
>> >
>> > This might be a source of confusion.
>> >
>> > Is this the case for your projects? Unfortunately, the Xcode4Sync.log
>> > doesn't contain enough information for me to make this conclusion, but
>> > it does sort of suggest that it might be the case since it does not
>> > mention finding any classes associated with your .xib files. However,
>> > this could simply be a bug in MonoDevelop's logic to collect the user
>> > defined types in the project.
>> >
>> >
>> > Jeff
>> >
>>
>>
>> --
>> View this message in context:
>> http://monotouch.2284126.n4.nabble.com/Problem-with-h-files-disappearing-in-Interface-Builder-tp4415963p4440342.html
>> Sent from the MonoTouch mailing list archive at Nabble.com.
>> _______________________________________________
>> MonoTouch mailing list
>> MonoTouch at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120303/25f3cc90/attachment.html>
More information about the MonoTouch
mailing list