Missing h-files and Assistant Editor not working because of it (monoTouch/MonoDevelop)

ⅰ亾dé卋堺 提交于 2019-12-30 20:38: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


回答1:


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




回答2:


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:


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



来源:https://stackoverflow.com/questions/9240984/missing-h-files-and-assistant-editor-not-working-because-of-it-monotouch-monode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!