我正在尝试在 iPhone 8 上测试我的应用程序。由于我没有 Apple 开发人员帐户,因此我遵循了本教程: https: //ionicframework.com/blog/deploying-to-a-device-without-an-苹果开发者帐户/
虽然上面的教程适用于 Xcode 8(我有 Xcode 11),但它一直有效到倒数第二步。我已经添加了我的 Apple ID 并创建了我的证书(例如NT Larry(个人团队),角色为User)。我转到“签名和功能”>>“签名”>>“团队”(下拉菜单),并在下拉菜单中选择了我的证书(NT Larry(个人团队))。然后,我单击“运行”。出现以下错误:
签署“ntlarry_project StickerPackExtension”需要一个开发团队。在签名和功能编辑器中选择开发团队
但是,如上所述,我已经采取了上述错误中所要求的操作(添加开发团队,在本例中是我的个人团队)。我应该怎么做才能解决这个错误?
其他问题的答案,例如这个(Xcode error: CodeSigning is required for Product type 'Application' in SDK 'iOS 10.0')和这个(需要一个开发团队。在项目编辑器中选择一个开发团队)没有帮助我,因为我采取了与他们相同的方法。是因为新版本的 Xcode 需要 Apple 开发者会员资格才能进行此类测试吗?
更多细节:
我正在为iPhone 8和iOS 13.1制作这个应用程序。我正在使用Xcode 11。
如果您想了解更多信息,请询问!这不属于我的领域,我可能错过了一些东西。
注意:我已阅读Python: TypeError: required field "type_ignores" missing from Module in Jupyter notebook,其中包含类似的问题。但是,我仍然被困住了。
问题:我刚刚从 Python 3.7.5 更新到 Python 3.8.5。但是,当我在 Jupyter Notebook 中运行代码时,会显示以下错误消息:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
139
140 def __call__(self, source, filename, symbol):
--> 141 codeob = compile(source, filename, symbol, self.flags, 1)
142 for feature in _features:
143 if codeob.co_flags & feature.compiler_flag:
TypeError: required field "type_ignores" missing from Module
Run Code Online (Sandbox Code Playgroud)
当我运行代码时,我收到此消息
i = 1
Run Code Online (Sandbox Code Playgroud)
或代码如
import numpy as np
Run Code Online (Sandbox Code Playgroud)
或代码如
from platform …Run Code Online (Sandbox Code Playgroud)