This is a sample iOS app that your coding agent in Linux can build and test using Limrun with remote XCode & iOS simulator.
First, you need to get an API key from Limrun Console.
export LIM_API_KEY=lim_....Run the following script which will install dependencies and lim CLI.
./setup-development.shThat's it! Now, make sure to recognize the skills stored in .agents/skills folder
so you know how to use the lim CLI to build and test iOS apps.
If you're on macOS with access to XCode, you can get a simulator build of this project and upload to Limrun Asset Storage so that you can get simulators with this app pre-installed.
Build with the following command:
xcodebuild -project sample-native-app.xcodeproj \
-scheme sample-native-app \
-sdk iphonesimulator \
-configuration Debug \
-destination 'generic/platform=iOS Simulator' \
-derivedDataPath build \
buildOnce completed, archive the .app folder.
tar -czf sample-native-app.app.tar.gz \
-C build/Build/Products/Debug-iphonesimulator \
sample-native-app.appPush to Limrun Asset Storage.
lim push sample-native-app.app.tar.gzNow you can use it in your iOS instances!
lim run ios --install-asset=sample-native-app.app.tar.gz