【发布时间】:2012-02-03 11:53:17
【问题描述】:
我遇到了这个错误...知道如何解决它吗?
GenerateDSYMFile /Users/fmota/Library/Developer/Xcode/DerivedData/PBTest-gvudadeakgzklbekugyiqyfyprlt/Build/Products/Debug-iphonesimulator/PBTest.app.dSYM /Users/fmota/Library/Developer/Xcode/DerivedData/PBTest-gvudadeakgzklbekugyiqyfyprlt/Build/Products/Debug-iphonesimulator/PBTest.app/PBTest
cd /Users/fmota/Documents/Developer/Protobuf/PBTest
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/usr/bin/dsymutil /Users/fmota/Library/Developer/Xcode/DerivedData/PBTest-gvudadeakgzklbekugyiqyfyprlt/Build/Products/Debug-iphonesimulator/PBTest.app/PBTest -o /Users/fmota/Library/Developer/Xcode/DerivedData/PBTest-gvudadeakgzklbekugyiqyfyprlt/Build/Products/Debug-iphonesimulator/PBTest.app.dSYM
error: unable to open executable '/Users/fmota/Library/Developer/Xcode/DerivedData/PBTest-gvudadeakgzklbekugyiqyfyprlt/Build/Products/Debug-iphonesimulator/PBTest.app/PBTest'
【问题讨论】:
-
您的应用可以编译吗?这是在各种虚拟机中运行,还是在 mac iphone 模拟器上运行?
-
不,它不能编译。我使用的是 Mac 和 iPhone 模拟器。
-
尝试使用 command-shift-K 运行 Clean,然后从模拟器中卸载应用程序(如果存在),然后尝试重建/运行,看看是否有帮助。如果您仍然遇到同样的问题,请尝试修改部署目标,看看是否有任何变化。
-
另外,可能重启你的mac。我见过调试器无法解锁可执行文件并且有时会导致冲突的情况。
-
不,同样的...我忘了说它也给了这个error,不知道是否相关...
标签: iphone objective-c ios xcode xcode4