本文介绍了codesign:无法识别的选项"--entitlements"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建应用程序时出现此代码签名错误

I get this codesign error when i build the application


codesign: unrecognized option `--entitlements'

Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign
       codesign -v [-v*] [-R testreq] path|pid ... # verify
       codesign -d [options] path ... # display contents
       codesign -h pid ... # display hosting paths
       codesign: unrecognized option `--entitlements'
Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign

Build failed (1 error)

任何人都可以帮助我解决该问题

Can anyone please help me to resolve it

推荐答案

我更新到了最新的xcode版本,并更新了mac leopard的最新更新.而且效果很好.

I updated to the latest xcode version and updated the latest updates for mac leopard.and it worked fine.

这篇关于codesign:无法识别的选项"--entitlements"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-04 02:32