简体   繁体   English

在单个项目中添加多个Xcode(ios)项目

[英]Adding Multiple Xcode (ios) Projects in a single Project

I have 4 different app that are up and running . 我有4个不同的应用程序正在运行。

For example lets say I have :Project 1 , Project 2, Project 3 & project 4. All app are running individually. 例如,假设我有:项目1,项目2,项目3和项目4.所有应用程序都单独运行。 Project 2,3 & 4 are already in app store. 项目2,3和4已经在应用程序商店中。

I have added project 2,3,4 into project 1 using canOpenURL:URL ,they are working fine. 我使用canOpenURL:URL将项目2,3,4添加到项目1中,它们工作正常。 But when I have submitted Project 1 for app store review , they have rejected the app store saying 但是,当我提交项目1进行应用商店审核时,他们拒绝了应用商店的说法

we found that your app requires users to install other apps in order to access the Project 2, Project 3 and Project 4 feature. 我们发现您的应用需要用户安装其他应用才能访问Project 2,Project 3和Project 4功能。 This is not in compliance with the App Store Review Guidelines. 这不符合App Store审核指南。

Now what i want is to add those 3 projects in my project 1 as app bundle so that user can use the app without installing Project 2, Project 3 and Project 4. I am new in IOS development , so please help me with your valuable suggestions . 现在我想要的是将我的项目1中的这3个项目添加为应用程序包,这样用户就可以在不安装Project 2,Project 3和Project 4的情况下使用该应用程序。我是IOS开发的新手,所以请帮助我提出宝贵的建议。 As I mentioned earlier Project 2,3 & 4 are already in app store,so its impossible for me to remake them . 正如我之前提到的,项目2,3和4已经在应用程序商店中,所以我不可能重新制作它们。

Thanks In Advance . 提前致谢 。

you can add targets in your application or you can add the project source code in your project. 您可以在应用程序中添加目标,也可以在项目中添加项目源代码。 At run time you can check if the application is already installed in the device you can redirect user to it, else you can use the functionality from your project. 在运行时,您可以检查应用程序是否已安装在设备中,您可以将用户重定向到该设备,否则您可以使用项目中的功能。

You can not add compulsion on the user to download another application to use one, you can always provide options to user to download the application to use certain functionality.(Like we have for social networking sharing, we always check for application status before showing option to user). 您无法在用户上添加强制性下载其他应用程序以使用其中一个,您可以随时为用户提供下载应用程序以使用某些功能的选项。(就像我们用于社交网络共享一样,我们总是在显示选项之前检查应用程序状态给用户)。

Hope my answer help you. 希望我的回答可以帮到你。

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

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