Skip to main content

iOS

NativeBridge currently only supports iOS Simulator builds (.app). A simulator build can be run in the iOS Simulator with Xcode. AppStore distribution device builds (.ipa) are also supported.
For optimal performance and compatibility, we recommend uploading ARM simulator builds of your iOS app.

Finding your .app file

With Xcode

The easiest way to get the iOS Simulator build is to run and build your application in Xcode while targeting an iOS Simulator.
1

Select iOS Simulator

Build and run your application from Xcode while targeting a simulator device from the device dropdown.
2

Build Your App

Once the build is complete and the app is running in the simulator, you can locate the .app file by navigating to ProductShow Build Folder in FinderProducts/Debug-iphonesimulator

With Xcode Command Line Tools

You can also generate the iOS Simulator build of your app by building it directly via the command line using xcodebuild.

With .xcodeproj

xcodebuild -project '{project_name}.xcodeproj' \
 -scheme '{scheme_name}' \
 -sdk iphonesimulator \
 -configuration Debug

With .xcworkspace

xcodebuild -workspace '{your_workspace_name}.xcworkspace' \
 -scheme '{scheme_name}' \
 -sdk iphonesimulator \
 -configuration Debug
The app file can then be found under:
build/Debug-iphonesimulator/

Compress your .app file

Once you have located your .app file, NativeBridge requires it to be in a compressed zip or tar.gz file:
zip -r {app_name}.zip {app_name}.app

Troubleshooting

If you are having trouble running your uploaded iOS app in NativeBridge, we recommend trying to run the same app on a simulator provided by Apple in Xcode. Once your simulator is launched, you can simply drag the .app file into the simulator window to test it locally first. Also check our Knowledge Base for frequently asked questions and solutions.

Next Steps