How to Install an Unsigned IPA File on My Device Using an Apple Developer Account

How to create unsigned ipa file using xcode 12.4? Unable to install Runner? code: Code: -402620388

Are you running your app on your device (e.g. Mac, iPad, or iPhone?), as opposed to a Simulator? On StackOverflow, try to give as much detail as possible, that's why lenz meant. It seems like you're building a Flutter app to run on iPhone, not your macbook?

Have a read of this, especially (but not only), the "Select a Real Device" section.

If building for your iOS device:

If you choose a real device, add your Apple ID in Accounts preferences and assign the project to a team on the Signing & Capabilities pane of the project editor. A single individual constitutes a one-person team. For macOS apps, you need to code sign the app if you enable certain capabilities. If you belong to the Apple Developer Program, you need to register the device before you can run the app.

You need to

  • log into Xcode with your Apple ID. You don't need the $99 Apple Developer program membership.
  • Check automatically manage signing in "Signing and Capabilities" tab

If you're building for macOS (not mobile app):

If you're building a macOS app without signing it, either:

  • Disable code signing: follow this
  • Code sign it: follow this

Generating an IPA file for a flutter project without a paid dev account

He again, so the way to generate an unsigned flutter ipa is by first going to Xcode and changing the build configuration of the scheme to Release :

  1. Click on Runner, and Edit scheme

enter image description here


  1. Select Release for the Build Configuration of the Run schema

enter image description here

And then on the terminal in Android Studio run the following command :

flutter build ios --release

This will take a minute or two and when it's done go to this folder : your-app/build/ios/Release-iphoneos and you should find your runner.app file. Create a folder named PayLoad next to it and copy and paste the runner.app file inside this folder. After that you wanna compress your Payload to get a new file named Payload.zip. Change its extension to ipa and you're done.
You can now use whatever you want to codesign this ipa file.

Failed to install .ipa file on IOS device

Why use over-the-air installs for your own devices in the first place? If you're using an iOS device you physically have with you, installing to it is as simple as plugging it into your Mac and running the app from Xcode. Alternatively, try the flutter run command.

If you want to install to a device you can't do these steps for and must use over-the-air (for example, when installing to a cloud device, or to your friends/colleagues/clients), make sure its UDID is added at https://developer.apple.com/account/resources/devices/ (I'm pretty sure you'll need a Paid Apple Developer account for that.), then re-build/re-sign.



Related Topics



Leave a reply



Submit