This document explains how to generate the build files used by Autify for Mobile and how to check the deliverables. By following this document, you will be able to use the service smoothly. The confirmation method varies depending on the application, so please refer to the appropriate section for each.
For Objective-C/Swift applications
Generating the build file
- Open your application's project or workspace in Xcode
- Select the appropriate schema and choose a Simulator (any Simulator can be selected)
- Select Product > Build from the Xcode menu bar to build the application.
- Make sure you have built the product under the Product folder in the Xcode navigator area.
- Right-click on your build and select Show in Finder. (What you see here is what you will upload.
Check the generated build file.
- Verify that the architecture of the build file is x86_64
$ xcrun lipo -info /path/to/Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphonesimulator/sample.app/sample
/path/to/Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphonesimulator/sample.app/sample is architecture: x86_64 - Verify that the build file can be launched in the local iOS Simulator.
Drag and drop the build file into the iOS Simulator and see if it starts up.
Reference Information
- Creating an Xcode Project for an App | Apple Developer
- Running Your App in the Simulator or on a Device | Apple Developer
In the case of Flutter apps
Generating the build file
- Create build files for iOS Simulator
$ flutter build ios --debug
Check the generated build file.
- Verify that the build file has been generated.
$ ls /path/to/project/build/ios/Debug-iphonesimulator/
Runner.app - Verify that the architecture of the build file is x86_64
$ xcrun lipo -info /path/to/project/build/ios/Debug-iphonesimulator/Runner.app/Runner
/path/to/project/build/ios/Debug-iphonesimulator/Runner.app/Runner is architecture: x86_64 - Verify that the build file can be launched in the local iOS Simulator.
Drag and drop the build file into the iOS Simulator and see if it starts up.