Missing h-files and Assistant Editor not working b

2019-02-23 06:07发布

I am missing the .h-files when I just started my HelloWorld in MonoTouch/MonoDevelop. I have the same question as this guy, but the answer provided did not help me.

I just installed everything needed for MonoTouch on a MacBook running Lion. I followed the steps/instructions to install (see here) and then created a new solution.

But since there are no .h-files, this means that whem I use the interface Builder in Xcode, I only get the "No Assistant Result" when I open the "Assistant Builder".

I have tried to create the HelloWorlsViewController.h file manually, but it doesnt seem to help either.

EDIT Here is a screencast on DailyMotion that shows the problem: http://www.dailymotion.com/waggerdagger#videoId=xok9gs

3条回答
劳资没心,怎么记你
2楼-- · 2019-02-23 06:31

How are you opening the xib file in Xcode?

You need to double-click the xib file from within MonoDevelop so that MonoDevelop creates a fake project (with header files) for Xcode to use.

查看更多
何必那么认真
3楼-- · 2019-02-23 06:34

Try Closing down XCode and MonoDevelop completely and then reopen MonoDevelop. That worked for me.

查看更多
放我归山
4楼-- · 2019-02-23 06:52

Problem for me was that I had moved Xcode out of Application folder to another folder. Moving it back fixed it for me.

查看更多
登录 后发表回答