在设备上构建时出现代码签名错误

Code Signing error when building on device

我只是想 运行 test code 在 CallKit 的 Apple Dev 站点上,可以在屏幕模拟器上获得 运行 的代码,但在我实际的 iPhone X 外部设备上却不行。我收到错误代码签名错误:

Signing for "IntentsExtension" requires a development team. Select a development team in the project editor. Code Signing Error: Code signing is required for product type 'App Extension' in SDK 'iOS 11.3'

我读到 intents 扩展是针对 Siri 的,但不确定这个演示是如何涉及的。我登录到我的开发者帐户。我尝试更新我的 phone OS。我还应该尝试什么?

screenshot

确保

  • 两个目标具有相同的包标识符前缀。如 us.forus.apple-samplecode.blablabla.
  • 签约团队不能为空