Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'EKEventStore' has no member 'requestFullAccessToEvents' #558

Open
mityax opened this issue Sep 4, 2024 · 3 comments
Open

'EKEventStore' has no member 'requestFullAccessToEvents' #558

mityax opened this issue Sep 4, 2024 · 3 comments
Labels
bug Something isn't working iOS more information required The issue requires more information before it can be actioned

Comments

@mityax
Copy link

mityax commented Sep 4, 2024

Describe the bug
When trying to use the latest prerelease version (which I have to because of #554) on iOS, I get this error during build:

Swift Compiler Error (Xcode): Value of type 'EKEventStore' has no member 'requestFullAccessToEvents'
/Users/x/.pub-cache/hosted/pub.dev/device_calendar-4.3.3-20240801/ios/Classes/SwiftDeviceCalendarPlugin.swift:919:23

Swift Compiler Error (Xcode): Type 'EKAuthorizationStatus' has no member 'fullAccess'
/Users/x/.pub-cache/hosted/pub.dev/device_calendar-4.3.3-20240801/ios/Classes/SwiftDeviceCalendarPlugin.swift:934:51

Encountered error while building for device.

To Reproduce

  • Set device_calendar: ^4.3.3-20240801 in pubspec.yaml

Expected behavior
Build completes successfully.

Flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.1, on macOS 13.3 22E252 darwin-x64, locale en-US)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.
 
[!] Xcode - develop for iOS and macOS (Xcode 14.3)
    ! Flutter recommends a minimum Xcode version of 15.
      Download the latest version or update via the Mac App Store.
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google
    Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Android Studio (not installed)
[✓] Connected device (1 available)
[✓] Network resources
 
! Doctor found issues in 4 categories.

Additional context
I'm using ios 14 as deployment target in my Podfile. XCode version is 14.3.

@mityax mityax added the bug Something isn't working label Sep 4, 2024
@mityax mityax changed the title Prerele 'EKEventStore' has no member 'requestFullAccessToEvents' Sep 4, 2024
@leonnatus
Copy link

any luck with this one?

@mityax
Copy link
Author

mityax commented Oct 24, 2024

@leonnatus I'm not sure anymore what I did in the end, I tried lots of things to make this work. I believe upgrading to XCode 15 most likely fixed this for me

@IVLIVS-III
Copy link
Contributor

Is this still an issue with the release version 4.3.3?

@IVLIVS-III IVLIVS-III added more information required The issue requires more information before it can be actioned iOS labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working iOS more information required The issue requires more information before it can be actioned
Projects
None yet
Development

No branches or pull requests

3 participants