.app
file from Xcode. Follow the steps below to create your simulator build.
Step 1: Open Your Project in Xcode
- Launch Xcode
- Open your iOS project by selecting File > Open and navigate to your
.xcodeproj
or.xcworkspace
file - Wait for Xcode to finish loading and indexing your project
Step 2: Select Scheme and Simulator
- In the Xcode toolbar, locate the scheme and destination selector (next to the play/stop buttons)
- Choose an appropriate scheme for your app from the dropdown
- Select any iOS Simulator from the destination list (e.g., “iPhone 15 Pro”)
The specific simulator model doesn’t matter - any simulator will work for building. We’re creating a universal simulator build.
Step 3: Build Your App
- Clean your project first: Product > Clean Build Folder (⌘+Shift+K)
- Build your app: Product > Build (⌘+B)
- Wait for the build to complete successfully
Step 4: Locate Your Build
- In Xcode, choose Product > Show Build Folder in Finder
- A Finder window will open showing your build products
- Navigate to:
Build/Products/Debug-iphonesimulator/
- Look for your app file:
YourAppName.app
Ensure you’re in the
Debug-iphonesimulator
folder, not Debug-iphoneos
. Simulator builds have different architecture requirements.Step 5: Verify Your Build
Highly recommended: Test your build before uploading to catch any issues:- Open iOS Simulator (you can find it in Applications or launch via Xcode)
- Drag your
.app
file directly onto the simulator window - The app should install automatically
- Launch the app from the simulator home screen to verify it works correctly
Alternative: Command Line Build
For CI/CD or automated builds:Next Steps
- Check out Uploading your app for more detailed instructions on how to upload your new build!
Troubleshooting
Build fails with signing errors
Build fails with signing errors
For simulator builds, code signing is usually not required:
- Set Code Signing Identity to “Don’t Code Sign” in Build Settings
- Or enable Automatically manage signing if you have a developer account
Architecture errors or compatibility issues
Architecture errors or compatibility issues
For modern iOS development, ensure your project supports Apple Silicon (M1/M2) and Intel Macs:
- Select your project in the Project Navigator
- Choose your app target under TARGETS
- Navigate to the Build Settings tab
- Find the Architectures setting and verify it shows:
- Architectures:
Standard Architectures (arm64) - $(ARCHS_STANDARD)
- This automatically includes both
arm64
andx86_64
for simulator compatibility
- Architectures:
- Verify Architectures is set to
$(ARCHS_STANDARD)
- Check that your destination is set to an iOS Simulator (not device)
- For older Xcode versions, manually add
arm64
to simulator architectures
$(ARCHS_STANDARD)
for maximum compatibility.App doesn't install on simulator
App doesn't install on simulator
- Make sure you’re dragging the
.app
file (not a folder containing it) - Try restarting the iOS Simulator
- Check that the simulator iOS version is compatible with your app’s deployment target
Build folder not found
Build folder not found
If “Show Build Folder in Finder” doesn’t work:
- Try building again and ensure the build succeeds
- Look in
~/Library/Developer/Xcode/DerivedData/[ProjectName]/Build/Products/Debug-iphonesimulator/
- Check Xcode preferences for custom build locations