我下载了最新的 MonoTouch(4.0.4.1 和 MonoDevelop 2.6 beta)来解决我们遇到的一些问题。
我希望我在 Jenkins 中的构建(使用 mdtool)能够开始工作,但没有成功。
mdtool 给出了这个错误(缩写):
2011-07-28 08:18:47.399 mdtool[14484:60f] *** __NSAutoreleaseNoPool(): Object 0x492260 of class NSCFString autoreleased with no pool in place - just leaking
2011-07-28 08:18:47.401 mdtool[14484:60f] +[NSDictionary dictionaryWithContentsOfFile:]: unrecognized selector sent to class 0xa0bdd3ec
2011-07-28 08:18:47.401 mdtool[14484:60f] *** __NSAutoreleaseNoPool(): Object 0x3f02540 of class NSCFString autoreleased with no pool in place - just leaking
过去这与设计人员的代码生成有关。
这是 Xamarin 正在处理的已知问题吗? (如果需要,我可以打开一个 bugzilla 错误)
PS:还有一件事要提,我们已经删除了几个 View 的 designer.cs 文件。 (这在当时是一种禁用代码生成的粗略方式,我们需要手动设置我们的 outlets、exports 等)
编辑:发布到 bugzilla here .
最佳答案
您使用的不是 MonoDevelop 的稳定版本,您使用的是过时的预览版,该预览版已在以后的测试版中修复。
关于c# - MonoTouch - 从 Jenkins 运行 mdtool,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6859708/