美文网首页
/bin/bash: line 3: Pods/!ProtoCo

/bin/bash: line 3: Pods/!ProtoCo

作者: IMKel | 来源:发表于2024-08-24 17:13 被阅读0次

    iOS项目使用了grpc,在M系列上执行pod install时提示/bin/bash: line 3: Pods/!ProtoCompiler/protoc: Bad CPU type in executable,解决方案不下:
    在终端执行/usr/sbin/softwareupdate --install-rosetta --agree-to-license,执行完提示如下表示成功,问题即可解决。

    By using the agreetolicense option, you are agreeing that you have run this tool with the license only option and have read and agreed to the terms.
    If you do not agree, press CTRL-C and cancel this process immediately.
    2024-08-25 17:04:32.124 softwareupdate[30726:323565] Package Authoring Error: 052-22577: Package reference com.apple.pkg.RosettaUpdateAuto is missing installKBytes attribute
    Install of Rosetta 2 finished successfully

    参考文章

    相关文章

      网友评论

          本文标题:/bin/bash: line 3: Pods/!ProtoCo

          本文链接:https://www.haomeiwen.com/subject/zkfnkjtx.html