简体   繁体   English

是否可以在ipa文件中添加内容?

[英]Is it possible to add content into ipa file?

In Android we can extract apk files and add content of these files into a single file. 在Android中,我们可以提取apk文件并将这些文件的内容添加到单个文件中。 we can also entry the newly added activity in android.manifest file. 我们也可以在android.manifest文件中输入新添加的活动。

Is it possible to add content in ipa and rebuilt it for device? 是否可以在ipa中添加内容并为设备重建内容? Please help me. 请帮我。

Is it possible to add content in ipa and rebuilt it for device? 是否可以在ipa中添加内容并为设备重建内容?

No. From your comment above, you're looking to modify the application itself by adding view controllers. 不可以。从上面的评论中,您希望通过添加视图控制器来修改应用程序本身。 That would require rebuilding the application, and you'd need the source code for the app for that, not the .ipa file. 这将需要重建应用程序,并且您需要应用程序的源代码,而不是.ipa文件。

It is possible to modify resource files in the archive and then re-sign the .ipa file, so you could change an icon, replace images, etc. But adding view controllers is different because they need to be compiled and linked with the rest of the application code. 可以修改的档案资源文件,然后重新签订的.ipa文件,所以你可以改变图标,更换图片等,但添加视图控制器是不同的,因为它们需要被编译,并与其余链接应用程序代码。

No you cannot modify any ipa file once it is built. 不,你不能修改任何ipa文件一旦建成。 However, you can view the content of particular app file by converting ipa to app . 但是,您可以通过将ipa转换为app来查看特定应用文件的内容。 After you have converted an ipa file to app file you can check the content by right click on it and the choose show package content. 将ipa文件转换为app文件后,您可以通过右键单击它并选择显示包内容来检查内容。

How to convert ipa to app file: Right click ipa file -> open with archive utility (or winrar), it will create an app file, right click app file - > show package content. 如何将ipa转换为app文件:右键单击ipa文件 - >使用archive utility(或winrar)打开,它将创建一个app文件,右键单击app file - > show package content。

如果您正在尝试获取应用程序的源代码并根据您的要求进行编辑,那么应用程序商店可能无法使用该应用程序,但我不能说企业应用程序。

iPA stands for iPhone Achieve and any changes in iPA can produce problem to build so if it needs to add few Xib or Viewcontroller then its better to add these in xcode and run and build new iPA . iPA代表iPhone Achieve,iPA中的任何变化都会产生问题,因此如果需要添加少量Xib或Viewcontroller,那么最好在xcode中添加这些并运行并构建新的iPA。 Hope this helps. 希望这可以帮助。

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

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