简体   繁体   English

将我自己的应用程序从设备转移到xcode

[英]transfer my own app from device to xcode

I have built an ios app which I have tested successfully on my ios device. 我已经构建了一个ios应用程序,该应用程序已在ios设备上成功测试。 Since last build Ive had to rebuild my laptop and as such Ive lost my xcode project. 自上次构建以来,Ive必须重建我的笔记本电脑,因此Ive丢失了我的xcode项目。 Is there a way I can transfer the app from my device back into xcode? 有什么方法可以将应用程序从设备传输回xcode?

The way you are getting your thing is totally different. 您得到东西的方式完全不同。 However you can recover some part of your project data like images, what framework you have used etc. 但是,您可以恢复项目数据的某些部分,例如图像,使用的框架等。

First you need to connect your device with your system, then open iTunes and select your app then download that app. 首先,您需要将设备与系统连接,然后打开iTunes并选择您的应用程序,然后下载该应用程序。 Now you have to click on that app see option for Show In Finder and click it 现在,您必须单击该应用程序,然后单击“显示在Finder中”选项,然后单击它。

If you see your .ipa file, then make it a zip of it and then unzipped it, a payload name folder will appear on your screen. 如果您看到.ipa文件,请先将其压缩,然后解压缩,然后在屏幕上会出现一个有效负载名称文件夹。 you will see appName.app, right click on it and select show package contents. 您将看到appName.app,右键单击它并选择显示包内容。 This will show the app package contents. 这将显示应用程序包的内容。 You can recover few data from that. 您可以从中恢复少量数据。 But if you are thinking to recover code level data then it is not possible. 但是,如果您正在考虑恢复代码级数据,则不可能。

And you need to make a backup of your project whenever you make any updations so that any accident happened does not affect your main project. 每当您进行任何更新时,您都需要对项目进行备份,以使发生的任何事故都不会影响您的主项目。

不可能,这是不可能的...下次使用例如Git之类的 Source Control来跟踪您的代码并防止将来发生这种情况(这是Source Control的众多优势之一)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM