Replies: 1 comment
-
|
Hello @dlj66 , The button only appears if you have the right type of artifacts generated with the build. iOS Flutter iOS
For Android, you can run an .apk file on the Android emulator
In your case, your YAML has this set up under the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
Set up codemagic.yaml
Run Build
codemagic.yaml:
`workflows:
wintracker-ios-manual:
name: WinTracker iOS Manual
instance_type: mac_mini_m2
max_build_duration: 60
environment:
flutter: stable
xcode: latest
cocoapods: default
ios_signing:
distribution_type: app_store
bundle_identifier: com.xxxxxxxx.xxxxxxxxxx
vars:
APP_ID: XXXXXXXXXX # <-- Put your APP ID here
triggering:
events:
- push
scripts:
- name: Flutter Pub Get
script: flutter pub get
simulator-workflow:
name: Build for simulator
environment:
xcode: latest
scripts:
- name: Build with Generic Destination
script: |
xcodebuild build
-project "Runner.xcodeproj"
-scheme "Runner"
-sdk iphonesimulator
-configuration Debug
artifacts:
- /Users/builder/Library/Developer/Xcode/DerivedData/**/*.app
flutter-ios-simulator:
name: Flutter iOS Simulator
environment:
flutter: 3.27.3
xcode: 16.2
scripts:
- flutter build ios --simulator --flavor staging # --flavor is optional
artifacts:
- build/ios/iphonesimulator/Runner.app`
Expected results
Expected to get App Preview section after build completed
Actual results
Did not get App Preview Section
Build id (optional)
6a0e0f67707ffe0c0169b5ee
Beta Was this translation helpful? Give feedback.
All reactions