Delphi XE5用设备测试时 “object file format unrecognized, invalid, or unsuitable” Xcode 错误解决方案
“object file format unrecognized, invalid, or unsuitable” Xcode 错误解决方案
1)首先查看/usr/bin目录下是否存在codesign_allocate程序,如果存在,执行改名操作。 如果不存在,直接执行第二步
sudo mv /usr/bin/codesign_allocate /usr/bin/codesign_allocate_old
2)将xcode目录下的codesign做一个软链接
sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin
解决!