#Shorebird init only for iOS

1 messages · Page 1 of 1 (latest)

torn nest
#

Hi guys, is there any option to init shorebird only for iOS? My apps doesn't support Android, thus there is not android settings for this project. When I'm initting shorebird, it shows this error.

shorebird init --verbose
[HTTP] GET https://api.shorebird.dev/api/v1/organizations
✓ Fetching organizations (0.4s)
[Process.run] /Users/dans/Documents/GitHub/stp-ease-agency-ios/android/gradlew app:tasks --all --console=auto (in /Users/dans/Documents/GitHub/stp-ease-agency-ios/android)
⠼ Detecting product flavors... (0.3s)Exited with code 1

stderr:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not open settings generic class cache for settings file '/Users/dans/Documents/GitHub/stp-ease-agency-ios/android/se.

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 65

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --.

  • Get more help at https://help.gradle.org

BUILD FAILED in 244ms

✗ Detecting product flavors (0.4s)
Unable to extract product flavors.
Unsupported class file major version.

This error is typically caused by a mismatch between the Java and Gradle's versions.

Check our troubleshooting documentation for help.

[Process.run] git symbolic-ref HEAD (in /Users/dans/.shorebird/bin/cache)
Exited with code 0

stdout:
refs/heads/stable

[Process.run] git rev-parse --verify HEAD (in /Users/dans/.shorebird/bin/cache)
Exited with code 0

stdout:
19ef47b6b18516f13851f8487b45e795732c9c21

[Process.run] git remote prune origin (in /Users/dans/.shorebird/bin/cache)
Exited with code 0
[Process.run] git fetch --tags (in /Users/dans/.shorebird/bin/cache)
Exited with code 0
[Process.run] git rev-parse --verify @{upstream} (in /Users/dans/.shorebird/bin/cache)
Exited with code 0

stdout:
19ef47b6b18516f13851f8487b45e795732c9c21

Thank you.

wicked charm
#

Ah yeah, I thought we supported this. 🤔

#

If your app only supports iOS, you can also just delete the "android" directory and this should stop happening?