开发者

Monotouch 'mtouch failed with no output (137)' after updating to Apple SDK 4.3

I updated to iPho开发者_运维技巧ne SDK 4.3 today and now it's not possible to build/run (in debug or release mode) any of my projects that worked fine in iPhone SDK 4.2.

When I try to build or run Monodevelop "hangs" on "Compiling to native code"

If I try to run/debug to the iPhoneSimulator I get the error message:

"Error merging info.plist: Invalid data"

Does anyone have a solution to this problem?


Explicitly target the 4.2 iOS SDK inside your project's options, under the iPhone Build section. When it is at the Default setting, it always targets the latest iOS version installed.


Upgrading to MonoTouch 3.2.5 will resolve this issue.

For an older version, you just need to create a symlink:

cd /Developer/MonoTouch/SDKs
sudo ln -s MonoTouch.iphonesimulator4.2.sdk MonoTouch.iphonesimulator4.3.sdk

No symlink is needed for the device SDK directory, as it does not contain a version number.


Upates are released to both MonoDevelop and MonoTouch that fix this problem. The updates are available through the update function in MonoDevelop


I had the same problem. It all started for me when I uninstalled/re-installed my dev environment in order to fix something else (breakpoints not being hit during debugging).

So, even though I re-staged my entire laptop in order to come to this conclusion, user653490 is correct, the update to MonoDevelop DOES fix the problem. However, what is NOT clear at first is the fact that the BUILD VERSION is very important. Whereas I was still seeing "Error merging info.plist: Invalid data" with MonoDevelop 2.4.2 build 20402000, once I was using build 2040200*4*, I was able to compile again. The build version is the key. Hope this helps someone else, because it was very frustrating.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜