UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

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      

Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

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.