xcode React-native - 无法创建配置文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/43926717/
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 09:57:55  来源:igfitidea点击:

React-native - Failed to create provisioning profile

iosxcodereact-native

提问by sendwich

I would like to run app on my physical device, but i have these errors.

我想在我的物理设备上运行应用程序,但我有这些错误。

  • No profiles for 'org.reactjs.native.example.weekdays' were found

    • The app ID "org.reactjs.native.example.weekdays" cannot be registered to your development team.
  • 找不到“org.reactjs.native.example.weekdays”的配置文件

    • 应用 ID“org.reactjs.native.example.weekdays”无法注册到您的开发团队。

Something wrong with bundles?!(org.reactjs.native.example.APPNAME) I'm a beginner. Iphone 7 virtual device is working.

捆绑包有问题?!(org.reactjs.native.example.APPNAME)我是初学者。Iphone 7 虚拟设备正在运行。

screenshot

截屏

What should i do?

我该怎么办?

Many thanks!

非常感谢!

回答by Mr. Dang

This is the solution to my issue that's similar to this one:

这是我的问题的解决方案,类似于这个问题:

Change your bundle identifier to a unique string to try again.

将您的捆绑标识符更改为唯一的字符串以重试。

  • Your bundle identifier is already in use by other developers I guess, so just change your bundle identifier in the Identify tabright above your Signing tabto another one:
  • For example: Bundle Identifier: org.react.native.example.MyAwesomeWeekdaysIn2099
  • 我猜您的包标识符已经被其他开发人员使用,所以只需将您的签名选项正上方的识别选项卡中的包标识符更改为另一个:
  • 例如:捆绑标识符:org.react.native.example.MyAwesomeWeekdaysIn2099

回答by Viktor Se?

You have to create an app provisioning profile, log in to Xcode, set bundle ID and set the team. It's all documented here.

您必须创建一个应用程序配置文件,登录到 Xcode,设置包 ID 并设置团队。这一切都记录在这里