gpt4 book ai didi

Xcode 命令行构建失败并显示 "Failed to read entitlements"

转载 作者:行者123 更新时间:2023-12-04 08:45:40 27 4
gpt4 key购买 nike

我的 Jenkins(继续集成服务器)因错误而失败:

error: Failed to read entitlements from '/var/folders/gp/fxfq69kd26j160s85g6vjy6h0000gr/T/yMWJTWS2AJ/Payload/app.com.app'

完整输出:

The following build commands failed: CompileC /Users/jenkins/Library/Developer/Xcode/DerivedData/App-doozayqorsxatsbzlunnptqszxax/Build/Intermediates/rara.build/Production-iphoneos/rara.build/Objects-normal/armv7/RRArtworkView.o app/RRArtworkView.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Poduct build dir: /Users/jenkins/Library/Developer/Xcode/DerivedData/app-doozayqorsxatsbzlunnptqszxax/Build/Products/Production-iphoneos xcrun via /usr/bin/xcrun (xcrun) DEVELOPER_DIR = '/Developer' via '/usr/share/xcode-select/xcode_dir_path' Database Key is: PackageApplication_/Developer_iphoneos Cache version is '1' Lookup resolved in '/var/folders/gp/fxfq69kd26j160s85g6vjy6h0000gr/T/xcrun_db' : '/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication' error: Failed to read entitlements from '/var/folders/gp/fxfq69kd26j160s85g6vjy6h0000gr/T/yMWJTWS2AJ/Payload/app.com.app' Build "app" failed Build step 'Execute shell' marked build as failure



它从 IDE 构建良好,并将安装在设备上。

系统信息:
  • Xcode v4.3.2
  • 最佳答案

    相当神秘的信息:

    Failed to read entitlements[...]


    是由 Xcode 未正确归档应用程序引起的,这通常是由以下原因引起的:
  • “跳过安装”设置为 NO
  • 在构建阶段将头文件 (.h) 复制到公用文件夹

  • 看问题:
    Compile, Build or Archive problems with Xcode 4 (and dependancies)
    对于这些问题的详细解释。

    关于Xcode 命令行构建失败并显示 "Failed to read entitlements",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10498018/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com