在PC上完成了React Native项目,现在我想在Mac上使用XCode为Apple Store创建和api文件,我该怎么做 [英] Finished React Native project on PC, now I want to use XCode on my mac to create and api file for the apple store, how do I do this

查看:363
本文介绍了在PC上完成了React Native项目,现在我想在Mac上使用XCode为Apple Store创建和api文件,我该怎么做的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在PC上完成了一个React Native应用,可以在Android Studio模拟器上正常运行,但是现在我需要在Mac上使用Xcode创建一个api文件.

I have completed a React Native app on my PC which works fine using Android Studio emulators however I now need to create an api file using Xcode on my mac.

我对Xcode或创建api文件绝对有零经验.请告知如何执行此操作,或者至少在哪里找到解决方案.我已经在Mac上安装了Xcode,当我打开Xcode时,可以使用很多选项来创建一个新项目,但是,我的应用程序已经完成.

I have absolutely ZERO experience with Xcode or creating api files. Please advise how to do this or at least where to find the solution. I have installed Xcode on my mac and when I open it I get a bunch of options to create a new project, however, my app is already finished.

所以我要做的就是以某种方式将我完成的react native应用程序导入Xcode,以生成api文件.这可能吗,有人做过吗?您能否提供一些建议或有关如何执行此操作的链接?

So all I want to be able to do is somehow import my finished react native app into Xcode in order to generate the api file. Is this possible, has anyone done it this way before? Can you please offer some advice or links to sources on how to do this?

推荐答案

1.导航到proj目录中的ios文件夹.打开projname.xcodeproj

1.Navigate to ios folder in your proj directory.Open projname.xcodeproj

2.通过以下方式生成证书:

2.Generate Certificates by following: https://docs.telerik.com/platform/appbuilder/cordova/code-signing-your-app/configuring-code-signing-for-ios-apps/create-development-certificate

3.下载证书并双击进行安装.

3.Download certificate and double click to install.

4.现在,您可以按照@naveen vignesh所述的步骤进行操作

4.Now you can follow steps described by @naveen vignesh

这篇关于在PC上完成了React Native项目,现在我想在Mac上使用XCode为Apple Store创建和api文件,我该怎么做的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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