开发者

Xcode warning: application executable contains unsupported architecture(s):arm, arm (-19031)

I've been receiving this warning since I loaded my project in last Xcode 4 preview. There was no warning before that but now I can't get rid of it even in Xcode 3.2. I've been googling but nobody seems to have the same error.

My project and target settings are correct (IMHO): Architectures: Standard (armv6 armv7), Base SDK: Latest iOS (currently set to iOS 4.2), Build Active Architecture Only: FALSE, Valid Architectures: armv6 armv7.

I compared every project setting with other projects and and found no differences. I even have recreated the project starting from scratch and c开发者_运维问答opying classes, resources and frameworks with the same result.

I must say that the warning is not shown when I set Debug configuration.

I hope someone can help me because I don't know what to do. Thanks in advice.


I kept getting this error and it was driving me crazy. Then I realized I was building the project for Simulator instead of Device. Once I made the change, I was able to upload the app without a problem.


Several things spring to mind. Firstly that there is some file lurking around in the build directory. But I presume you have deleted the build directory. Secondly, that there is something lurking in your library directories. I think xcode puts some tempt files down in them now. Thirdly that something has gone funny is the core xcode setup.

So here's what I would try (the emphasis here is "try" - I don't know if any of this will work :-)

  1. Make sure you have deleted the build directory.
  2. Do a full un-installation of code. Clear out any developer directories and then re-install.


SOLVED!. Not a good solution though.

After a thousand tests I uninstalled Xcode 3.2.5 and installed 3.2.4. Everything went ok since then. Now I'm afraid of upgrade to last version again. :/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜