xcodebuild 命令行编译问题汇总

 
  

1.xcodebuild: error: Scheme XXXXX is not currently configured for the clean action.

因为使用xcode打开了项目工程,使得命令行默认的share 的Scheme 失效

2. xcode 升级到8.3.3之后 不支持命令行 /usr/bin/xcrun -sdk iphoneos PackageApplication -v 打包

原因是最新的/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin 下没有PackageApplication dyldinfo unwinddump rebase cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin cp /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication .

3. xcodebuild 最后codesign 时报错 unknown error -1=ffffffffffffffff
 
  
证书未授权所有应用程序 或者没有 security unlock-keychain -p 密码 ~/Library/Keychains/login.keychain

你可能感兴趣的:(ios)