我正在尝试在设备上运行。我刚刚从开发者会员中心下载了我的证书。我已将它添加到我的钥匙链中。我已经通过工具包 UI 尝试了许多可能的证书名称。我尝试将工具包指向 .cert 文件并尝试了许多不同的证书名称。在查看调试输出时,它看起来不像触发器,甚至将证书路径参数传递给代码签名。我错过了什么?
[DEBUG] Provisioning profile has valid wildcard application ID
[INFO] Plist OK
[INFO] 1 Provisioned Device(s):
[INFO] ['96fdb503d1deade5d1455288331543c3134577ef']
[DEBUG] Running: '/usr/bin/codesign' '--force' '--preserve-metadata' '--entitlements' '/var/folders/w1/3zw7h2xs0jbdw5_2f96q0v700000gn/T/tmp2AO4Hq' '--sign' 'Kev Zettler' '--resource-rules=/Users/kevzettler/checkiday-mobile/development/ios/device-ios.app/ResourceRules.plist' '/Users/kevzettler/checkiday-mobile/development/ios/device-ios.app'
[DEBUG] Kev Zettler: no identity found
[ERROR] Failed when running /usr/bin/codesign: Kev Zettler: no identity found
[DEBUG] Traceback (most recent call last):
File "/Users/kevzettler/Library/Trigger Toolkit/build-tools/forge/async.py", line 106, in run
result = self._target(*self._args, **self._kwargs)
File "/Users/kevzettler/Library/Trigger Toolkit/trigger/api/app.py", line 312, in run
forge_main.run(['--general.interactive', 'no'])
File "/Users/kevzettler/Library/Trigger Toolkit/build-tools/forge/main.py", line 435, in run
build_to_run=build_to_run,
File "/Users/kevzettler/checkiday-mobile/.template/generate_dynamic/customer_goals.py", line 136, in run_app
build_to_run.run()
File "/Users/kevzettler/checkiday-mobile/.template/generate_dynamic/build.py", line 334, in run
self._call_with_params(task_method, task_args)
File "/Users/kevzettler/checkiday-mobile/.template/generate_dynamic/build.py", line 293, in _call_with_params
return method(self, *params)
File "/Users/kevzettler/checkiday-mobile/.template/generate_dynamic/ios_tasks.py", line 686, in run_ios
certificate_password=certificate_password,
File "/Users/kevzettler/checkiday-mobile/.template/generate_dynamic/ios_tasks.py", line 578, in run_idevice
entitlements_file=temp_file_path,
File "/Users/kevzettler/checkiday-mobile/.template/generate_dynamic/ios_tasks.py", line 354, in _sign_app
path_to_app)
File "/Users/kevzettler/checkiday-mobile/.template/generate_dynamic/module_dynamic/utils.py", line 346, in run_shell
output=state.output.getvalue()
ShellError: Failed when running /usr/bin/codesign: Kev Zettler: no identity found
local_config.json
{
"general": {},
"ios": {
"profiles": {
"DEFAULT": {
"provisioning_profile": "/Users/kevzettler/Desktop/iOS_Team_Provisioning_Profile.mobileprovision",
"developer_certificate": "Kev Zettler"
}
},
"simulatorsdk": "7.0",
"simulatorfamily": "iphone",
"device": "device"
},
"android": {
"profiles": {
"DEFAULT": {}
}
}
}