How to Create Your Own IPA File from Any App

What Is an IPA File and Why Would You Create One?

An IPA file (iOS App Archive) is the package format that iOS uses to distribute and install applications. Every app on your iPhone, whether from the App Store or sideloaded, started as an IPA at some point. If you have ever wanted to create your own IPA file, whether to distribute an app you built, preserve an older version of an app, or package a modified app for personal use, this guide walks you through everything you need to know.

Before diving into creation, it helps to understand what is inside an IPA. Our detailed breakdown in understanding IPA files: what they are and how to use them explains the internal structure. In summary, an IPA is a ZIP file containing the app bundle (.app folder), resources, compiled binaries, and metadata. Last checked: October 27, 2026, against Apple’s Xcode documentation and developer membership pages.

The Short Version

  • An IPA you build yourself still has to be signed before an iPhone will run it. Signing with a free Apple Account works, but Apple’s own limits apply: apps expire after 7 days and you can have up to 3 apps per device.
  • Exporting an IPA from Xcode for other devices (the Debugging or Ad Hoc options) needs a paid Apple Developer Program membership, which Apple lists at 99 USD per membership year.
  • Apple says an iPhone needs Developer Mode turned on to run an app from Xcode or install a development .ipa file.
  • An IPA made from someone else’s app is only for your own use. Sharing it breaks Apple’s terms and may infringe copyright (see the legal section below).

Free Apple Account vs Paid Developer Program

Apple’s membership comparison page says that installing and testing apps on your own device only requires signing in to Xcode with your Apple Account. A free account is enough for that, with these limits from the same page:

What you can do Free Apple Account Apple Developer Program
Run your own app on your own iPhone from Xcode Yes Yes
How long the app keeps working 7 days, then re-provision Up to the profile’s expiry (Sideloadly’s FAQ says up to 1 year)
Apps per device Up to 3 No 3-app limit
App IDs Up to 10, each expires after 7 days Managed in Certificates, Identifiers & Profiles
Export an IPA for registered devices (Debugging, Ad Hoc) No Yes
TestFlight and App Store No Yes
Price Free 99 USD per membership year (prices may vary by region)

Apple’s distribution guide says you need the paid Apple Developer Program to share your app with registered devices, with TestFlight testers or on the App Store. With a free account you can still build the app and package the .app yourself (Method 3 below), then sign it with a sideloading tool. For how the free limits play out in practice, see our guides to the 3-app limit and apps that expire after 7 days.

Method 1: Export an IPA from Xcode

If you are a developer with access to an Xcode project, exporting an IPA is straightforward. This is the most reliable and officially supported method.

Step 1: Open Your Project in Xcode

Open Xcode (version 15 or later recommended) and load your project or workspace file. Make sure your project builds successfully for a physical device (not just the simulator).

Step 2: Select the Right Scheme and Destination

In the toolbar, select your app’s scheme and choose Any iOS Device (arm64) as the destination. This ensures the compiled binary is compatible with real hardware.

Step 3: Archive the App

Go to Product > Archive. Xcode will compile your app and create an archive. This may take a few minutes depending on your project size. When complete, the Organizer window will open automatically.

Step 4: Distribute the App

In the Organizer window, select your archive and click Distribute App. You will be presented with several options:

  • App Store Connect: for App Store submission (not relevant here)
  • Ad Hoc: installs on specific registered devices
  • Development: for development devices
  • Enterprise: for internal distribution (requires Enterprise account)

Select Development or Ad Hoc (in Xcode 15 and later these appear as Debugging and Release Testing) and follow the prompts. At the end, choose Export to save the IPA file to your Mac.

Apple’s current steps for registered devices are: select the archive and click Distribute App, select Debugging and click Distribute, review the build details and click Export, then pick a location. Apple says Xcode exports a folder with a few files in it, and for iOS apps that folder holds the IPA. Testers can only run it on devices registered to your team and included in the provisioning profile. Apple also notes that each team can register only a limited number of devices per product family each year.

Turn On Developer Mode

Apple’s docs say Developer Mode is needed to run an app built in Xcode, or to install an .ipa file with Apple Configurator. On the iPhone, go to Settings > Privacy & Security and turn on Developer Mode under Security. An alert warns that Developer Mode reduces the security of your device; tap Restart, then after the restart tap Enable and enter your passcode. Apple adds that the switch only appears after you start pairing the device with a Mac or have paired it before. To turn it off later, switch it off in the same place and restart. More detail is in our Developer Mode guide.

Method 2: Create an IPA from an Existing App on Your Device

If you want to create an IPA from an app already installed on your iPhone (for backup purposes or personal use), you need a jailbroken device or access to an iTunes backup from an older version of macOS.

Using a Jailbroken Device

On a jailbroken iPhone, a file manager such as Filza File Manager can copy the app bundle from the device so you can package it as an IPA. The key step is decrypting the binary: App Store apps are encrypted with FairPlay DRM, which can only be removed on the device where the app is licensed.

  1. Install Filza or a similar file manager via Cydia or Sileo.
  2. Navigate to /var/containers/Bundle/Application/.
  3. Find your app’s folder (they are identified by UUID, so you may need to check the Info.plist to find the right one).
  4. Copy the .app folder into a new folder named Payload, then zip the Payload folder and rename the .zip to .ipa.

Note: This creates an encrypted IPA. To create a decrypted version for sideloading, you need an additional decryption step using tools like frida-ios-dump or CrackerXI.

Using Old iTunes Backups

In older versions of iTunes (before Apple removed the App Store), iTunes stored a copy of purchased apps as IPA files in ~/Music/iTunes/iTunes Media/Mobile Applications/. If you have such a backup, those IPA files are already packaged and ready to use, though they will need resigning before sideloading.

Method 3: Build a Simple IPA Manually

For developers who want to understand the structure or create a minimal test IPA, you can build one from scratch. This is primarily useful for testing your sideloading workflow with a known-good test app.

  1. Create a minimal iOS app in Xcode (even the default “Hello World” template works).
  2. Build for device: xcodebuild -scheme MyApp -configuration Release -sdk iphoneos build
  3. Find the built .app bundle in the DerivedData folder.
  4. Create a Payload directory: mkdir Payload
  5. Copy the .app into Payload: cp -r MyApp.app Payload/
  6. Zip it: zip -r MyApp.ipa Payload

You now have a basic IPA file. Before it can be installed on a device, it needs to be signed with a valid certificate, which is where Scarlet iOS or another signing tool comes in.

Packaging Tweaked or Modified Apps as IPA

A common reason to create your own IPA is to bundle modifications or tweaks into an existing app. This is known as “patching” an IPA and involves injecting dynamic libraries (dylibs) into the app bundle.

Tools for Patching

  • insert_dylib / optool: command-line tools for injecting dylibs
  • Azule: a modern tool specifically for injecting Cydia Substrate tweaks into IPAs. Its GitHub README describes it as a command-line tool that adds jailbreak tweaks to apps on a non-jailbroken iPhone; it handles .deb, .dylib and .framework files, and its advanced options can change an app’s bundle ID, version and display name, or remove app extensions.

Once you have injected your modifications, repackage the app bundle as described above and sign it with Scarlet iOS or your developer certificate.

Two cautions. A tweak runs with the same access as the app it is injected into, so only use tweaks from sources you trust. And if you change the bundle ID, iOS treats the result as a separate app, which means it does not keep the original app’s data. Before installing any modified IPA, it is worth running the checks in our guide on how to scan IPA files for malware.

Ways to Sign and Install Your IPA

Tool Signs with Needs a computer Main limit
Xcode (Run) Your Apple Account Yes, a Mac Free account: 7 days, 3 apps
Sideloadly Your Apple Account Yes, Windows or Mac Free account: 7 days, 3 apps
SideStore Your Apple Account Only for setup Free account: 7 days, 3 apps
Scarlet iOS A shared certificate No Apple can revoke the certificate at any time

Scarlet is confirmed on iOS 14 through iOS 26; iOS 27 support is reported by third parties but not officially confirmed.

Installing Your Custom IPA with Scarlet iOS

Once you have your IPA file ready, installing it via Scarlet iOS is straightforward. See our full walkthrough on how to sideload apps on iOS 26 and iOS 27 without jailbreak for the complete installation process. In brief:

  1. Transfer the IPA to your iPhone via AirDrop, iCloud Drive, or a direct URL.
  2. Open Scarlet iOS and import the IPA file (for example from the Files app).
  3. Wait for Scarlet to sign and install the app.
  4. Trust the developer profile in Settings > General > VPN & Device Management if prompted.

Legal and Ethical Considerations

Whether creating IPA files from apps you own for personal backup is allowed depends on local law and the app’s terms. Distributing IPA files of App Store apps breaks Apple’s terms and may infringe copyright. Always ensure you have the right to distribute any IPA file you create, and only use these techniques for apps you have purchased or built yourself.

FAQ

Can I make an IPA without a Mac?

Building an iOS app from source needs Xcode, which runs only on macOS. Packaging an existing .app into an IPA (a Payload folder, zipped and renamed) works on any computer.

Can I export an IPA from Xcode with a free Apple Account?

You can run the app on your own iPhone from Xcode. Apple’s docs tie distribution to registered devices, TestFlight and the App Store to the Apple Developer Program, so the export options need a paid membership.

Why does my self-made IPA stop opening after a week?

It was signed with a free account. Apple’s page says provisioning profiles for free accounts expire 7 days after they are issued. Re-sign it with the same Apple ID to keep its data.

Conclusion

Creating your own IPA files opens up a world of possibilities, from preserving app versions to testing your own software to customizing apps for personal use. With the right tools and a solid understanding of the process, anyone can become proficient at IPA creation and management.

Ready to install your custom IPA? Pick a signing method from the table above, or see how to install Scarlet iOS (or open our Scarlet iOS install page in Safari) if you want to sign on the device.

Similar Posts