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
Related
I'm in the process of "rebranding" an existing app of mine, which has been on the App Store for 3 years.
This includes a new app name which should be reflected in the whole Xcode project as well.
The rebranded app should roll out as an update for all existing installations.
I've successfully followed the instructions given here:
How do I completely rename an Xcode project (i.e. inclusive of folders)?
(Additionally, I've changed the bundle name in the info.plist.)
with one exception: Changing the product bundle identifier in the build settings. I guess that's the only place I have to keep the old name so that AppStoreConnect realises this actually is the old app?
Is that so, if not, which is the setting that is needed to identify this as the old app?
Your app is identified using the Bundle Identifier only. You should not modify it. You can change almost everything else.
Note that you cannot reset the Version and Build numbers back to 1 and their values should be greater than the last numbers you used to submit your app.
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?
I'm developing an iOS app with a friend. We both enrolled for the Apple development program as a Single person (we don't have an organization).
We're using git and we'd like to be both able to build the app from our Mac, but I can't compile sinche the Bundle ID is already used by my friend. Is it even possible to be both able to work on the same project without being an organization? What we should do?
Thanks
The problem is that only one developer account can register the bundle ID. What Xcode is trying to do is register the bundle ID to your development account (as you can do manually at https://developer.apple.com). Since your friend already did this, you cannot do this as well.
What you can do is either change the value of your bundle ID to a development one (in the end, only one of you can release the app on the App Store) however, this is kind of messy since it'll change the .xcodeproj and can be a real conflict mess when using versioning (as I guess you are using).
Another option is to use .xcconfig files, and define the bundle ID dynamically in your project. This way you can change your config file locally and just don't push that change. What you do is:
Add a new file to your project. Select Other under iOS and then select Configuration Settings File. Save the file and call it Debug.xcconfig (or whatever you want).
Add the following row to the file: BUNDLE_ID = io.example.app.
Select your project in the Project Navigator and then select the project itself under PROJECT.
Select the Info tab and expand both Debug and Release. For both Debug and Release select the Debug option.
Now open your Info.plist file and change the value of Bundle Identifier (CFBundleIdentifier) to $(BUNDLE_ID).
Now you can change the bundle ID (and a shitload of other Xcode project properties) using the configuration file. You could add one for yourself and your friend as well, each with their own bundle ID.
One problem though when changing the BundleID is that services such as APNS won't work. Keep that in mind. If that is important that both should be able to test, then make sure to get an organisation account.
Hope this helped you a little bit!
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).
I have copied the existing project and changed the name of the project, info.plist, and product name, targets. I wanted to create the same project with different name.
Actually this is done. The project name is changed, I have changed the name of the info.plist and the target name.
The problem I'm facing here is,
whenever I run the newly copied app on my simulator, it opens up the old app.
If I try deleting the old app. this newly created app doesnot open up. just say app is running. And the app is not launched on the simulator
I think some settings update have been missed out, which I'm not able to find out. Any idea what this might be.
Thanks
Create different BundleID for your application.
If this does not work then as a workaround try to delete the old app from the simulator.
You need to change bundle identifier from info.plist to differentiate your app.
Reset your simulator and try running the new app it should work for you