BLACK FRIDAY: Save 50% on all my Swift books and bundles! >>

SOLVED: Is there a way to completely switch a UiKit-based app released on the app store to SwiftUI in a new project?

Forums > iOS

  1. I have a UiKit-based app that is currently on the app store.
  2. I have created an app with the same functionality with SwiftUI in a new project file.
  3. Is there a way to use the new SwiftUI file in the UiKit-based app project file? Do I just need to delete all the existing UiKit code?

I don't want to release a new app, I want a way to update the app.

3      

As long as you use the same app identifier you should be able to upload it to the app store and overwrite the old app.

As you talk about a file. Have you only changed one file to SwiftUI or the whole app?

3      

I created a new project file and implemented all the UI and functionality inside with SwiftUI. I want to apply all of this to my existing UiKit project file to switch everything from UiKit to SwiftUI and delete everything related to UiKit.

3      

When you use the same Bundle Identifier and a build number higher than your existing app it should be possible to upload your new project to the app store under your old app. Check for version number as well.

3      

I understand you to be saying that as long as I use the same bundle identifier as the existing app and a higher build number than the existing app build, I can update from the new project file instead of the old one, is that correct?

3      

Yes, this should work. You also have to change the version number in your current project to match the old one or is higher. Your old app should be replaced like it was when you updated your UIKit app in the past.

3      

When you go on the Apple connect.

  1. Add a new version.
  2. Change any metadata(Description etc)as well as "What New"
  3. Change screenshots(as it proberly look different)
  4. Upload the build (making sure that it has the same Bundle ID) and should be same version.
  5. Submit for review.
  6. If accepted then anyone who has the pervious version will get updated with the new version (SwiftUI)

3      

great! this is exactly what I need in the near future!

3      

Save 50% in my WWDC sale.

SAVE 50% All our books and bundles are half price for Black Friday, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.