具体出错提示为:
bundle format unrecognized, invalid, or unsuitable.
Command /usr/bin/codesign failed with exit code 1
从这个论坛里得知在出错的那个项目的文件夹下添加一个Info.plist文件并引入到项目里这个错误就会解决。
Info.plist文件内容如下
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Awesomium</string>
<key>CFBundleIdentifier</key>
<string>Awesomium</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Awesomium</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.7.4</string>
<key>CFBundleSignature</key>
<string>AWSM</string>
<key>CFBundleVersion</key>
<string>1.7.4</string>
<key>LSUIElement</key>
<string>1</string>
</dict>
</plist>
关键LSUIElement是这个属性。