Open ktnishide opened 1 month ago
Hi, this error might not be directly caused by Refiner. But also there might be some version incompatibilities.
Thanks @tekinalper
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.4.1 23E224 darwin-x64, locale en-US)
• Flutter version 3.19.3 on channel stable at /Users/runner/hostedtoolcache/Flutter/3.19.3/macos/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ba39319843 (10 weeks ago), 2024-03-07 15:22:21 -0600
• Engine revision 2e4ba9c6fb
• Dart version 3.3.1
• DevTools version 2.31.1
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/runner/Library/Android/sdk • Platform android-34-ext8, build-tools 34.0.0 • ANDROID_HOME = /Users/runner/Library/Android/sdk • ANDROID_SDK_ROOT = /Users/runner/Library/Android/sdk • Java binary at: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.11-9/x64/Contents/Home/bin/java • Java version OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1) • Xcode at /Applications/Xcode_15.0.1.app/Contents/Developer • Build 15A507 • CocoaPods version 1.15.2
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
[✓] Connected device (2 available) • macOS (desktop) • macos • darwin-x64 • macOS 14.4.1 23E224 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.156
[✓] Network resources • All expected network resources are available.
! Doctor found issues in 2 categories.
- flutter doctor (local):
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.4.1 23E224 darwin-arm64, locale en-AU) • Flutter version 3.19.3 on channel stable at /Users/ktnishide/fvm/versions/3.19.3 • Upstream repository https://github.com/flutter/flutter.git • Framework revision ba39319843 (10 weeks ago), 2024-03-07 15:22:21 -0600 • Engine revision 2e4ba9c6fb • Dart version 3.3.1 • DevTools version 2.31.1
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/ktnishide/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15E204a • CocoaPods version 1.15.2
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
[✓] VS Code (version 1.89.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.88.0
[✓] Connected device (3 available) • iPhone 15 Pro (mobile) • 2CB85135-C446-41D3-A394-8450BF53D923 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.4.1 23E224 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.202 ! Error: iPhone has recently restarted. Xcode will continue when iPhone is unlocked. (code -14)
[✓] Network resources • All expected network resources are available.
• No issues found!
command used to build on Azure Pipelines:
- task: CmdLine@2
displayName: build ipa STAGING
inputs:
script: "$(FlutterCommand) build ipa --export-options-plist=ios/exportOptions-staging.plist --build-name=$(Build.BuildNumber) --build-number=$(IncrementalBuildNumber) --flavor=staging --no-tree-shake-icons $(IOSBUILDARGS)"
@ktnishide thanks for the info. I don't have any knowledge in terms of Azure. I see that Azure uses Xcode version 15.0.1 while you use 15.3 in local. Do you think this might be the problem?
By the way, when did you start getting the error? This can be useful to determine the root cause. Because we didn't have any version update lately.
I am getting the following error when trying to build our app on Azure Pipelines: