如何在xcode中克隆项目并在ios 7或7+等中运行应用程序 [英] How to clone a project in xcode and run the app in the ios 7, or 7+, etc

查看:260
本文介绍了如何在xcode中克隆项目并在ios 7或7+等中运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经克隆了一个项目,并试图在设备(iPhone 7)上运行我的应用程序,但是它显示了构建失败,并带有以下提到的错误.

I have cloned a project and tried to run my app on a device(iPhone 7), but it showing the build failure with the below-mentioned error.

注意:如果我用Xcode创建一个新项目,则可以在我的设备上运行该应用程序.

Note: If I create a new project in Xcode then, I can able to run the app on my device.

我该如何解决?

Failed to create provisioning profile.


     The app ID "org.reactjs.native.example.app" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.


        No profiles for 'org.reactjs.native.example.app' were found
        Xcode couldn't find any iOS App Development provisioning profiles matching 'org.reactjs.native.example.app'.

推荐答案

假定您具有有效的iTunes Connect开发人员帐户:

Assuming you have a valid iTunes Connect developer account:

每个应用商店帐户的应用ID都是唯一的.因此,如果有人按您的情况注册了appId org.reactjs.native.example.app,则将无法使用它.这显然是由react.js伙计使用的,现在已成为他们的个人资料的一部分.您需要将克隆项目的appId更改为唯一的名称.最常用的表示法是com.my_organization_name.my_project_name.您还可以在原始ID前面加上com.my_organization.tests.org.reactjs.native.example.app或类似名称

App IDs are unique per all App Store accounts. Therefore if someone had registered an appId of org.reactjs.native.example.app as it is in your case, you cannot use it. That was clearly used by react.js guys and is now part of their profile(s). You need to change the appId of the cloned project to something unique. Most common notation used is com.my_organization_name.my_project_name. You can also go for prefixing the original id with lets say com.my_organization.tests.org.reactjs.native.example.app or something similar

这篇关于如何在xcode中克隆项目并在ios 7或7+等中运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆