0

A new Xcode 4.2 project of mine is giving the following warning only when running on the device (as in, not with the Simulator):

warning: Unable to read symbols for /Users/me/Library/Developer/Xcode/DerivedData/MyApp-caubqehwsicqvmfcjxvvwaprgulm/Build/Products/Debug-iphoneos/SomeOtherString.app/MyApp (file not found). warning: No copy of SomeOtherString.app/MyApp found locally, reading from memory on remote device. This may slow down the debug session.

I do not know where this "SomeOtherString.app" is coming from, but I would like to tell Xcode to stop looking for it. Trouble is, I cannot find where it is being set. I have looked in all the project settings, opened project.pbxproj and looked in there -- nothing.

I finally did a recursive grep for "SomeOtherString" inside my project folder -- the string was not found!

And yes, I have done many "cleans" and have cleared out my DerivedData directory. But Xcode insists that MyApp belongs under "SomeOtherString.app"!

So, my question is: where on earth is this path being stored?

The closest other SO issue I could find was this one, but no one ever posted a solution.

Thanks for any suggestions!

4

1 に答える 1

1

実は、ここで何が起こっているのかを知りました。SomeOtherString は実際には私のプロジェクトのどこにもありませんでしたが、Xcode が認識していた SomeOtherString という名前の別のアプリと同一のバンドル ID を選択したようです。

プロジェクトのクローンを作成すると、これが問題になる可能性があると思います。以前に使用したことのないバンドル ID を使用してください。

于 2012-04-20T19:28:51.417 に答える