[ ] I have ran the sample app and it does not work there
Version
Technology
Version
Workmanager version
0.5.1
Xcode version
14.2
Swift version
5.0
iOS deployment target
11.0
Describe the error
Background handler is disabled. This message is printed after each xCode's Debug -> Simulate Background Fetch. However, it successfully works on bare application. Maybe, there are some env. conditions or settings of project in xCode or Pods somehow affect this
$ flutter doctor -v
[β] Flutter (Channel stable, 3.7.0, on
macOS 13.0.1 22A400 darwin-arm64,
locale en-UA)
β’ Flutter version 3.7.0 on channel
stable at
/Users/mihail/Developer/flutter
β’ Upstream repository
https://github.com/flutter/flutter.gi
t
β’ Framework revision b06b8b2710 (5
weeks ago), 2023-01-23 16:55:55 -0800
β’ Engine revision b24591ed32
β’ Dart version 2.19.0
β’ DevTools version 2.20.1
[β] Android toolchain - develop for Android
devices (Android SDK version 33.0.0)
β’ Android SDK at
/Users/mihail/Library/Android/sdk
β’ Platform android-33, build-tools
33.0.0
β’ Java binary at:
/Users/mihail/Library/Application
Support/JetBrains/Toolbox/apps/Androi
dStudio/ch-0/212.5712.43.2112.8815526
/Android
Studio.app/Contents/jre/Contents/Home
/bin/java
β’ Java version OpenJDK Runtime
Environment (build
11.0.12+0-b1504.28-7817840)
β’ All Android licenses accepted.
[β] Xcode - develop for iOS and macOS
(Xcode 14.2)
β’ Xcode at
/Applications/Xcode.app/Contents/Deve
loper
β’ Build 14C18
β’ CocoaPods version 1.11.3
[β] Chrome - develop for the web
β’ Chrome at /Applications/Google
Chrome.app/Contents/MacOS/Google
Chrome
[β] Android Studio (version 2021.2)
β’ Android Studio at
/Users/mihail/Library/Application
Support/JetBrains/Toolbox/apps/Androi
dStudio/ch-0/212.5712.43.2112.8815526
/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
11.0.12+0-b1504.28-7817840)
[β] VS Code (version 1.75.1)
β’ VS Code at /Applications/Visual
Studio Code.app/Contents
β’ Flutter extension version 3.58.0
[β] Connected device (4 available)
β’ iPhone (ΠΠΈΡ Π°ΠΈΠ») (mobile) β’
00008110-001C48A81139801E
β’ ios β’ iOS 16.2 20C65
β’ iPhone 14 Pro Max (mobile) β’
681CBF07-7B40-4EF9-B4DF-30A976C1BA3B
β’ ios β’
com.apple.CoreSimulator.SimRuntime.iO
S-16-2 (simulator)
β’ macOS (desktop) β’ macos
β’ darwin-arm64 β’ macOS 13.0.1
22A400 darwin-arm64
β’ Chrome (web) β’ chrome
β’ web-javascript β’ Google Chrome
110.0.5481.177
! Error: Apple Watch β ΠΠΈΡ Π°ΠΈΠ» needs to
connect to determine its
availability. Check the connection
between the device and its companion
iPhone, and the connection between
the iPhone and Xcode. Both devices
may also need to be restarted and
unlocked. (code 1)
[β] HTTP Host Availability
β’ All required HTTP hosts are available
~/work/purple plane/AIMOTO_KIDS on ξ background-rework! β 13:42:04
$ flutter doctor -v
[β] Flutter (Channel stable, 3.7.0, on macOS 13.0.1 22A400
darwin-arm64, locale en-UA)
β’ Flutter version 3.7.0 on channel stable at
/Users/mihail/Developer/flutter
β’ Upstream repository https://github.com/flutter/flutter.git
β’ Framework revision b06b8b2710 (5 weeks ago), 2023-01-23
16:55:55 -0800
β’ Engine revision b24591ed32
β’ Dart version 2.19.0
β’ DevTools version 2.20.1
[β] Android toolchain - develop for Android devices (Android SDK
version 33.0.0)
β’ Android SDK at /Users/mihail/Library/Android/sdk
β’ Platform android-33, build-tools 33.0.0
β’ Java binary at: /Users/mihail/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.
2112.8815526/Android
Studio.app/Contents/jre/Contents/Home/bin/java
β’ Java version OpenJDK Runtime Environment (build
11.0.12+0-b1504.28-7817840)
β’ All Android licenses accepted.
[β] Xcode - develop for iOS and macOS (Xcode 14.2)
β’ Xcode at /Applications/Xcode.app/Contents/Developer
β’ Build 14C18
β’ CocoaPods version 1.11.3
[β] Chrome - develop for the web
β’ Chrome at /Applications/Google
Chrome.app/Contents/MacOS/Google Chrome
[β] Android Studio (version 2021.2)
β’ Android Studio at /Users/mihail/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.
2112.8815526/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
11.0.12+0-b1504.28-7817840)
[β] VS Code (version 1.75.1)
β’ VS Code at /Applications/Visual Studio Code.app/Contents
β’ Flutter extension version 3.58.0
[β] Connected device (4 available)
β’ iPhone (ΠΠΈΡ Π°ΠΈΠ») (mobile) β’ 00008110-001C48A81139801E
β’ ios β’ iOS 16.2 20C65
β’ iPhone 14 Pro Max (mobile) β’
681CBF07-7B40-4EF9-B4DF-30A976C1BA3B β’ ios β’
com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
β’ macOS (desktop) β’ macos
β’ darwin-arm64 β’ macOS 13.0.1 22A400 darwin-arm64
β’ Chrome (web) β’ chrome
β’ web-javascript β’ Google Chrome 110.0.5481.177
! Error: (null) needs to connect to determine its availability.
Check the connection between the device and its companion
iPhone, and the connection between the iPhone and Xcode. Both
devices may also need to be restarted and unlocked. (code 1)
[β] HTTP Host Availability
β’ All required HTTP hosts are available
Version
Describe the error Background handler is disabled. This message is printed after each xCode's Debug -> Simulate Background Fetch. However, it successfully works on bare application. Maybe, there are some env. conditions or settings of project in xCode or Pods somehow affect this
$ flutter doctor -v
[β] Flutter (Channel stable, 3.7.0, on macOS 13.0.1 22A400 darwin-arm64, locale en-UA) β’ Flutter version 3.7.0 on channel stable at /Users/mihail/Developer/flutter β’ Upstream repository https://github.com/flutter/flutter.gi t β’ Framework revision b06b8b2710 (5 weeks ago), 2023-01-23 16:55:55 -0800 β’ Engine revision b24591ed32 β’ Dart version 2.19.0 β’ DevTools version 2.20.1
[β] Android toolchain - develop for Android devices (Android SDK version 33.0.0) β’ Android SDK at /Users/mihail/Library/Android/sdk β’ Platform android-33, build-tools 33.0.0 β’ Java binary at: /Users/mihail/Library/Application Support/JetBrains/Toolbox/apps/Androi dStudio/ch-0/212.5712.43.2112.8815526 /Android Studio.app/Contents/jre/Contents/Home /bin/java β’ Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) β’ All Android licenses accepted.
[β] Xcode - develop for iOS and macOS (Xcode 14.2) β’ Xcode at /Applications/Xcode.app/Contents/Deve loper β’ Build 14C18 β’ CocoaPods version 1.11.3
[β] Chrome - develop for the web β’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[β] Android Studio (version 2021.2) β’ Android Studio at /Users/mihail/Library/Application Support/JetBrains/Toolbox/apps/Androi dStudio/ch-0/212.5712.43.2112.8815526 /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 11.0.12+0-b1504.28-7817840)
[β] VS Code (version 1.75.1) β’ VS Code at /Applications/Visual Studio Code.app/Contents β’ Flutter extension version 3.58.0
[β] Connected device (4 available) β’ iPhone (ΠΠΈΡ Π°ΠΈΠ») (mobile) β’ 00008110-001C48A81139801E β’ ios β’ iOS 16.2 20C65 β’ iPhone 14 Pro Max (mobile) β’ 681CBF07-7B40-4EF9-B4DF-30A976C1BA3B β’ ios β’ com.apple.CoreSimulator.SimRuntime.iO S-16-2 (simulator) β’ macOS (desktop) β’ macos β’ darwin-arm64 β’ macOS 13.0.1 22A400 darwin-arm64 β’ Chrome (web) β’ chrome β’ web-javascript β’ Google Chrome 110.0.5481.177 ! Error: Apple Watch β ΠΠΈΡ Π°ΠΈΠ» needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)
[β] HTTP Host Availability β’ All required HTTP hosts are available
~/work/purple plane/AIMOTO_KIDS on ξ background-rework! β 13:42:04 $ flutter doctor -v [β] Flutter (Channel stable, 3.7.0, on macOS 13.0.1 22A400 darwin-arm64, locale en-UA) β’ Flutter version 3.7.0 on channel stable at /Users/mihail/Developer/flutter β’ Upstream repository https://github.com/flutter/flutter.git β’ Framework revision b06b8b2710 (5 weeks ago), 2023-01-23 16:55:55 -0800 β’ Engine revision b24591ed32 β’ Dart version 2.19.0 β’ DevTools version 2.20.1
[β] Android toolchain - develop for Android devices (Android SDK version 33.0.0) β’ Android SDK at /Users/mihail/Library/Android/sdk β’ Platform android-33, build-tools 33.0.0 β’ Java binary at: /Users/mihail/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43. 2112.8815526/Android Studio.app/Contents/jre/Contents/Home/bin/java β’ Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) β’ All Android licenses accepted.
[β] Xcode - develop for iOS and macOS (Xcode 14.2) β’ Xcode at /Applications/Xcode.app/Contents/Developer β’ Build 14C18 β’ CocoaPods version 1.11.3
[β] Chrome - develop for the web β’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[β] Android Studio (version 2021.2) β’ Android Studio at /Users/mihail/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43. 2112.8815526/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 11.0.12+0-b1504.28-7817840)
[β] VS Code (version 1.75.1) β’ VS Code at /Applications/Visual Studio Code.app/Contents β’ Flutter extension version 3.58.0
[β] Connected device (4 available) β’ iPhone (ΠΠΈΡ Π°ΠΈΠ») (mobile) β’ 00008110-001C48A81139801E β’ ios β’ iOS 16.2 20C65 β’ iPhone 14 Pro Max (mobile) β’ 681CBF07-7B40-4EF9-B4DF-30A976C1BA3B β’ ios β’ com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator) β’ macOS (desktop) β’ macos β’ darwin-arm64 β’ macOS 13.0.1 22A400 darwin-arm64 β’ Chrome (web) β’ chrome β’ web-javascript β’ Google Chrome 110.0.5481.177 ! Error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)
[β] HTTP Host Availability β’ All required HTTP hosts are available
β’ No issues found!