Creating a new iOS application from an existing iOS application - ios

I got a good app source code which I want to extend its functionality and make a new app in the store, Can I do that and get it approved?
If I can do so what is the steps I should follow, I cloned the source code, Should I make an new Xcode project and copy the files to it? or I can change the Bundle Id or I don't have to?

Related

What are the best practices for preparing an iOS demo app along with main app?

This question is about the App development/testing process. I've an app on the App Store (say ABC); now I added some features on a separate git code branch and want to show these to my teammates.
I can use TestFlight to install it on their iPhones, although that overwrites my original app on the phone.
I'm looking for the best way to get a new App, say ABC Demo, installed on their iPhones.
If you want the "new" version of the app to work alongside the old version on the same device then each app will have to have different Bundle Ids. You can achieve this by creating a new Target in Xcode
http://www.itexico.com/blog/bid/99497/iOS-Mobile-Development-Using-Xcode-Targets-to-Reuse-the-Code
two finger click the existing target and select Duplicate
Then under the new target change the Bundle Identifier to something different
Go to Targets in Xcode
Get Info on your project's target
Search for Product Name under Packaging. Change it to ABC Demo
Press Enter

Upload update with different identifier

I've wrote a project in Swift and uploaded it to app store.
but then I wanted to support iPhone 4 and iOS 7 so I started a new project on Objective-C but with different bundle id, I tried to rename it but the .xcodeproj file got deleted.
So how can I upload the new project with it's new identifier, written in Objective c, to the same app in itunesconnect?
The bundle identifier must be same for this purpose. Why dont you just change bundle identifier of the new project to the previous one and upload?
You do not need to change the bundle identifier to upload an update, even if you are supporting older iPhone models. But if you have strong reason to change the bundle identifier and want to upload it as a new application, you can still do it. The problem is you have to go through the entire app approval process from the beginning, which will take more time than updating an existing application.
Coming to your original question, you can still create new Xcode project and move all the Objective-C files and give a new bundle identifier and upload it as new application. cannot you?
So i solved this by creating new project, because every other solution i searched including changing the bundle id, didn't work for me

iOS making a new project for an existing app

I'm remaking from scratch an app that was previously in Objective-C, to Swift. But I'm not really sure how can I make the new project be linked to the app that is already in iTunes Connect. What I mean to say is that I have a new project whose binary is supposed to be uploaded as the binary of the already registered app.
Besides using the same Bundle Identifier, what else do I need to do to achieve this?
PS: For some reason, the new project won't let me change the bundle identifier's last part: the old one was com.example.myproject while the new one is com.exmaple.MyProject (the new one has capital letters). When I click on the text box to change it to lower case, the MyProject color change to gray and I can't delete it
Go into your app's Info.plist and change the bundle identifier manually. Also, you need to have a higher app version so when you submit, the version is one higher than the one currently in the App Store (so you can make a new version and get it approved).

Creating new Xcode project from an existing Project

I have one app with some app name in the App Store, is it possible to create a different app from the same project in the Xcode by changing the info plist values like bundle id ,bundle name etc with out creating a new project.And can i upload the same to the App Store with a different app name.
Thanks.
One way to do this is to create a second 'target' inside your existing XCode project.
There are a number of different target types you can create, one of them being another application.
This new application target then needs a different bundle id etc. However that target can see all the existing code you wrote for your existing app so you don't need to copy the files into another project to reuse them. Use the search facility in Apple dev website, or Google the use of XCode targets for more information about how to do this.

Create New XCode Project With Existing Package Name

I am currently using Cordova (non CLI). I want to make a new Cordova project for the same code with CLI. If I make it with the same package name, will all the certificates transfer over and work with it? If I make an update to app on App Store will it work if I create this new project?
By package name, if you mean app ID then yes.

Resources