命令/ usr / bin / codesign失败,退出代码1正在运行Xcode项目

问题描述 投票:0回答:1

我正在尝试在xcode中运行openFrameworks项目。到目前为止,我一直可以做到这一点,我不确定发生了什么变化。

现在尝试运行我的项目时出现此错误:

CodeSign bin/Part1Debug.app
    cd "/Users/jimmyneutron/Documents/xxx/yyy/zzz/of_v0.10.1_osx_release/apps/myApps/Part1"
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity:     "-"

    /usr/bin/codesign --force --sign - --entitlements /Users/jimmyneutron/Library/Developer/Xcode/DerivedData/Part1-brbngmytvgzsunfpniznbqfhlbdf/Build/Intermediates.noindex/Part1.build/Debug/Part1.build/Part1Debug.app.xcent --timestamp=none /Users/jimmyneutron/Documents/xxx/yyy/zzz/of_v0.10.1_osx_release/apps/myApps/Part1/bin/Part1Debug.app

/Users/jimmyneutron/Documents/xxx/yyy/zzz/of_v0.10.1_osx_release/apps/myApps/Part1/bin/Part1Debug.app: code object is not signed at all
In subcomponent: /Users/jimmyneutron/Documents/xxx/yyy/zzz/of_v0.10.1_osx_release/apps/myApps/Part1/bin/Part1Debug.app/Contents/Frameworks/libfmodex.dylib
Command /usr/bin/codesign failed with exit code 1

我曾尝试更改我的钥匙串密码,但是当我单击“钥匙串”中的“编辑”时,选项“更改用于钥匙串登录的密码”显示为灰色。

xcode macos keychain sign openframeworks
1个回答
0
投票

这可能是因为Xcode是(自动)更新的。新版本需要签名的动态库。夜间版本的openFrameworks包含签名版本的libfmodex.dylib。要解决此问题,您可以降级Xcode,从OF晚安版本中手动替换版本libfmodex.dylib,或者仅使用晚安版本。下一个正式版本将解决此问题。

更多信息

https://forum.openframeworks.cc/t/cant-run-examples-in-xcode-signing-issue-with-libfmodex-dylib/33463

© www.soinside.com 2019 - 2024. All rights reserved.