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

SOLVED: How to Build and Distribute for Real Devices?

Forums > SwiftUI

I'm struggling to figure out how I can build my iOS app to run on real devices. I'm able to run on my iPhone when I plug it into my laptop, select it from the list of devices and press play. But I believe that is the debug build. I'd like to build a real release version like it would exist in the App Store and install it on my iPhone as well as my wife and kids. I tried an archive build, but I'm not able to install it on any iPhones. What am I doing wrong?

2      

Number of thing you need

  1. Developer Licence. If you do not want to pay you can "Sideload" to each device but will only last 7 days.
  2. You need to Archive the app. Then go to App Store Connect
  3. You will see you App in "My App"
  4. Then if you want on App Store fill out the required information. (Note then it will go though a full review).
  5. OR if you want to put it on TestFlight (You do not have to fill a lot of the information) and you can then put it on your family phone via TestFlight (this last for 90 days), before the 90 days change the "Build" number and resubmit etc.

See Sean Allen - How to Upload and Distribute Your App | App Store 2021, think most of still valid.

2      

Thanks Nigel, this video is helpful for using Testflight, but I think I'm first looking to use Ad Hoc distribution. I found this page about that and will report back if I can get it to work.

2      

I followed the Ad Hoc distribution instructions above and that worked. I plan on trying the Test Flight process soon so I can send it to people outside my house. Thanks Nigel.

2      

TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and free gifts!

Find out more

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

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.