xcode 在 iO 上签名代码时,开发团队不支持关联域功能

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/45163482/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:08:36  来源:igfitidea点击:

Development team does not support the Associated Domains capability when signing code on iOs

iosxcodecordovaionic-framework

提问by padejar

I have a problem when I'm trying to sign the certificate for my ionic iOs platform. The error specifies like this:

当我尝试为我的 ionic iOs 平台签署证书时遇到问题。错误指定如下:

enter image description here

在此处输入图片说明

I have no idea why the error occurs since my other ionic app project using the same development team works. I've looked in the everywhere but none solved the problem. Does it have anything to do with the plugins installed on my projects?

我不知道为什么会发生错误,因为我使用同一开发团队的其他 ionic 应用程序项目正常工作。我到处找,但没有人解决问题。它与我的项目中安装的插件有什么关系吗?

I'm using XCode 9 beta. Here's my ionic info: global packages:

我正在使用 XCode 9 测试版。这是我的离子信息:全局包:

@ionic/cli-utils : 1.4.0
Ionic CLI        : 3.4.0

local packages:

本地包:

@ionic/cli-plugin-ionic1 : 2.0.1
Ionic Framework          : ionic1 1.3.3

System:

系统:

Node       : v6.11.0
OS         : macOS Sierra
Xcode      : Xcode 9.0 Build version 9M136h 
ios-deploy : not installed
ios-sim    : not installed
npm        : 3.10.10 

Here the list plugins installed on my project:

这是我的项目中安装的列表插件:

com.telerik.plugins.nativepagetransitions 0.6.5 "Native Page Transitions"
cordova-plugin-app-preferences 0.99.3 "AppPreferences"
cordova-plugin-clipboard2 0.1.0 "Clipboard"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.7 "Console"
cordova-plugin-crosswalk-webview 2.3.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-facebook4 1.9.1 "Facebook Connect"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
cordova-plugin-x-socialsharing 5.1.8 "SocialSharing"
cordova-plugin-x-toast 2.6.0 "Toast"
cordova-sqlite-storage 2.0.4 "Cordova sqlite storage plugin"
es6-promise-plugin 4.1.0 "Promise"
ionic-plugin-deeplinks 1.0.15 "Ionic Deeplink Plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"

采纳答案by padejar

Nevermind, turns out the ionic-plugin-deeplinkscaused the error. I had no idea why, I uninstalled the plugin and then the error resolved.

没关系,结果是ionic-plugin-deeplinks导致错误。我不知道为什么,我卸载了插件,然后错误解决了。

回答by Ivy Xing

  1. Make sure your email is enrolled in Apple's $99/year Developer Program.

  2. When someone sends you the developer invite from Apple Developer Portal (now in iTunes Connect): https://itunesconnect.apple.com/access/users

  1. 确保您的电子邮件已注册 Apple 每年 99 美元的开发者计划。

  2. 当有人从 Apple Developer Portal(现在在 iTunes Connect 中)向您发送开发者邀请时:https: //itunesconnect.apple.com/access/users

Make sure they check this little box for you to access certificates and profiles:(If they did not, they can go back to the invite and add this permission anytime.)

确保他们选中这个小框,以便您访问证书和配置文件:(如果他们没有选中,他们可以随时返回邀请并添加此权限。)

enter image description here

在此处输入图片说明

回答by Mica

first of all, take a look into xcode and check if your signing is setup correctly. Furthermore, check under 'capabilities' if there are any actions required, in my case, I had to toggle the push option manually to add the correct entitlements.

首先,查看 xcode 并检查您的签名是否正确设置。此外,在“功能”下检查是否需要任何操作,就我而言,我必须手动切换推送选项以添加正确的权利。

You can also have a look at this threadto get any further information...

您还可以查看此线程以获取更多信息...