【问题标题】:No identity found common bin/sh/ error找不到身份常见 bin/sh/ 错误
【发布时间】:2016-07-05 00:07:12
【问题描述】:

我已经为我的分发创建了应用程序 ID 和配置文件。当我使用分发配置文件存档或构建我的应用程序时,我收到以下错误

PhaseScriptExecution Embed\ Pods\ Frameworks /Users/Htarwara6245/Library/Developer/Xcode/DerivedData/HSSECrix-cgteuxpjvsdrnhdqwjbwqyoqsqpc/Build/Intermediates/HSSECrix.build/Debug-iphoneos/HSSECrix.build/Script-FB973BA3854BA671C46AFE96.sh
cd /Users/Htarwara6245/Documents/workspace/iOS/HSSECrix
/bin/sh -c /Users/Htarwara6245/Library/Developer/Xcode/DerivedData/HSSECrix-cgteuxpjvsdrnhdqwjbwqyoqsqpc/Build/Intermediates/HSSECrix.build/Debug-iphoneos/HSSECrix.build/Script-FB973BA3854BA671C46AFE96.sh

mkdir -p /Users/Htarwara6245/Library/Developer/Xcode/DerivedData/HSSECrix-cgteuxpjvsdrnhdqwjbwqyoqsqpc/Build/Products/Debug-iphoneos/HSSECrix.app/Frameworks
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/Htarwara6245/Library/Developer/Xcode/DerivedData/HSSECrix-cgteuxpjvsdrnhdqwjbwqyoqsqpc/Build/Products/Debug-iphoneos/Alamofire.framework" "/Users/Htarwara6245/Library/Developer/Xcode/DerivedData/HSSECrix-cgteuxpjvsdrnhdqwjbwqyoqsqpc/Build/Products/Debug-iphoneos/HSSECrix.app/Frameworks"
building file list ... done
Alamofire.framework/
Alamofire.framework/Alamofire
Alamofire.framework/Info.plist
Alamofire.framework/_CodeSignature/
Alamofire.framework/_CodeSignature/CodeResources

sent 1203761 bytes  received 98 bytes  2407718.00 bytes/sec
total size is 1203264  speedup is 1.00
Code Signing /Users/Htarwara6245/Library/Developer/Xcode/DerivedData/HSSECrix-cgteuxpjvsdrnhdqwjbwqyoqsqpc/Build/Products/Debug-iphoneos/HSSECrix.app/Frameworks/Alamofire.framework with Identity iPhone Distribution: xxxx (28J87M7DQU)
/usr/bin/codesign --force --sign 7EC847A7363D5591F3061E94631865E1EB36D1D7 --preserve-metadata=identifier,entitlements "/Users/Htarwara6245/Library/Developer/Xcode/DerivedData/HSSECrix-cgteuxpjvsdrnhdqwjbwqyoqsqpc/Build/Products/Debug-iphoneos/HSSECrix.app/Frameworks/Alamofire.framework"
7EC847A7363D5591F3061E94631865E1EB36D1D7: no identity found
Command /bin/sh failed with exit code 1

我厌倦了这个问题的发生。帮我在谷歌搜索并做一些事情。没有解决。请帮忙吗?

【问题讨论】:

  • 你能像你一样分享你对上述问题的解决方案吗?自从过去 2 天以来我一直面临这个问题,但没有任何运气。

标签: xcode archive provisioning-profile


【解决方案1】:

我最近遇到了类似的问题,似乎是由于在开发者门户上我更新了配置文件。 所以我只是删除旧条款并下载更新版本。

Xcode -> Preferences... -> Accounts -> Choose your Apple ID -> View Details...

有时还有助于删除此项目的派生数据。

Window -> Projects -> Choose your project

【讨论】:

    猜你喜欢
    • 2017-02-10
    • 2023-03-18
    • 1970-01-01
    • 2021-11-13
    • 2019-04-19
    • 2013-05-16
    • 2018-08-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多