linyawen

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随时记录一些Mac 虚拟机下进行 ios 开发的奇怪问题:

 

1,编译,更改别人的项目时 可能遇到code signing 问题:

解决 : 可能是别人在真机上测试,项目工程里包含了代码身份签名,我们只要在我们的 project ->edit project settings 把 any iPhone OS Device  设置成 don't code sign 即可。

2,

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1.

查看了详细错误信息

unknown:FATAL:can't create output file: /Volumes/VMware Shared Folders/Iphone/BeginningiPhoneDev.121808/09 Nav/build/Nav.build/Debug-iphonesimulator/Nav.build/Objects-normal/i386/MoveMeController.o

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1。

解决:这是因为直接打开了VMware 共享目录下的项目,导致了文件访问操作异常,所以,把项目从共享目录拷贝到mac系统里面的路径,即可。

 

 

 

posted on 2012-05-30 12:31  linyawen  阅读(1014)  评论(0编辑  收藏  举报