缺少 h 文件并且助理编辑器因此无法工作(monoTouch/MonoDevelop)
当我刚刚在 MonoTouch/MonoDevelop 中启动 HelloWorld 时,我丢失了 .h 文件。我有与此人相同的问题,但提供的答案确实如此不帮助我。
我刚刚在运行 Lion 的 MacBook 上安装了 MonoTouch 所需的一切。 我按照步骤/说明进行安装(请参阅此处),然后创建一个新的解决方案。
但由于没有 .h 文件,这意味着当我在 Xcode 中使用界面生成器时,当我打开“Assistant Builder”时,我只会得到“No Assistant Result”。
我尝试手动创建 HelloWorlsViewController.h 文件,但似乎也没有帮助。
编辑 以下是 DailyMotion 上显示该问题的截屏视频: http://www.dailymotion.com/waggerdagger#videoId=xok9gs
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
尝试完全关闭 XCode 和 MonoDevelop,然后重新打开 MonoDevelop。这对我有用。
Try Closing down XCode and MonoDevelop completely and then reopen MonoDevelop. That worked for me.
如何在 Xcode 中打开 xib 文件?
您需要在 MonoDevelop 中双击 xib 文件,以便 MonoDevelop 创建一个假项目(带有头文件)供 Xcode 使用。
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.
对我来说,问题是我已将 Xcode 从 Application 文件夹移至另一个文件夹。把它移回来对我来说解决了。
Problem for me was that I had moved Xcode out of Application folder to another folder. Moving it back fixed it for me.