[MonoTouch] can anyone help!! mssing .h, outlets disappear an unhandled exc
Jeff Stedfast
jeff at xamarin.com
Fri Mar 2 15:28:46 UTC 2012
Hi again John,
I just wanted to let you know that the crash you experienced has been fixed.
Jeff
On Thu, Mar 1, 2012 at 12:51 PM, Jeff Stedfast <jeff at xamarin.com> wrote:
> Hi John,
>
> On Thu, Mar 1, 2012 at 11:54 AM, john_m0101 <john at murray.gb.com> wrote:
>
>> HI Jeff many thanks for the quick response
>>
>> re yr points
>> i thought I was as subscriber to ximian lists - I've had responses before
>> and my email address john at murr etc seems to be registered so there
>> should
>> not be a moderator queue issue. but these recent posts seem to have
>> disappeared - they are visible in my emails but not inline on this forum -
>> so I am replying here
>>
>
> Okay, I don't know what the issue with the mailing-lists is then :-(
>
>
>>
>> .hfiles disappearing - random;y (horrid word to a developer) one could
>> click
>> on xib file go to xcode/Ib and try to create an outlet - the right hand
>> screen would show something like 'no assistant available' If you looked in
>> the file/folder list in left hand pane there was not evidence of any *.h
>> file - On the one or tow occasions this happened rebooting everything made
>> them come back
>
>
> Okay, so sometimes the .h files are generated and sometimes not.
>
> I guess that answers the question I wanted to know from the Chris's...
> this suggests that at least in your case, you have C# classes that
> MonoDevelop should be exporting as ObjC .m/.h files.
>
> What is probably happening is that MonoDevelop's Type database for your
> project is incomplete and/or corrupt somehow.
>
> If this happens again, try closing MonoDevelop, deleting all the *.pidb
> files in your project, and then reopening your project in MonoDevelop to
> allow it to regenerate them.
>
> Simpler than trying to paste everything into a new project :-)
>
>
> In the meantime, hopefully we can figure out what the problem is with the
> Types database (I wonder if Mike's new parser in the newresolver branch
> fixes this?)
>
>
>
>> - On hte last but one occasion this didnt seem to work so I
>> created a brand new project and cut and pasted everything across
>> the most recent occasion wass probably mroed in the confusion of the
>> upgrade
>> to xcode 4.3 - the install wipes out monotouch (and my .h files) followed
>> same process - start with blank project ceate a view - new *.h appears -
>> paste in back up *.h code ( when I say back up I have a previous version
>> of
>> the project which has retained its *.h files - I cut and pasted this into
>> notes then line by line added it back into th enew project as I added the
>> controls. (only marginally quicker than recreating all the outlets and
>> Yes I
>> was gnawing the wood on the table!
>>
>> As to the 'hangs' it is BOTH Xcode and MD which fail - MD does it more
>> gracefully . after a session in xcode copying objects and creating
>> outlets
>> one saves and quits back to MD the circular progress bar appears Xcode
>> does
>> not shut down and the progress bar stays there until timeout - If one is
>> lucky this does not take out MD but on several occasions it does - that's
>> when one sees the popup aying crash reported to Xamarin - I think it is
>> during the process when the message on the status bar says#
>> 'updating xcode files'
>>
>
> I wrote some fixes to MonoDevelop's code that syncs files back from Xcode
> in cases where new files were added in Xcode which are in the upcoming
> 2.8.8 Stable release. Essentially what I did was to prevent back-and-forth
> syncing with Xcode when importing the new files.
>
> In 2.8.6.x, when a new file is imported from Xcode, it causes a re-sync
> back out to Xcode, and then another re-sync back from Xcode. All of this
> extra AppleScript chatter might be too much for Xcode to handle (Xcode
> seems rather fragile with AppleScript requests), not to mention just makes
> the whole process less efficient. MonoDevelop 2.8.8 should definitely sync
> files back from Xcode faster in cases where new files were added in Xcode.
>
> With any luck, 2.8.8 final should be released to the stable channels by
> next week sometime.
>
> Jeff
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120302/17ee4327/attachment.html>
More information about the MonoTouch
mailing list