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

'scanHexInt32' was deprecated in macOS 10.15 #526

Open
VittorioParagallo opened this issue Aug 24, 2024 · 1 comment
Open

'scanHexInt32' was deprecated in macOS 10.15 #526

VittorioParagallo opened this issue Aug 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@VittorioParagallo
Copy link

Describe the bug
I get these warning during flutter build macos

/Users/xxxxxxxxx/.puro/shared/pub_cache/hosted/pub.dev/pdfx-2.6.0/macos/Classes/Hooks.swift:31:30: warning: 'scanHexInt32' was deprecated in macOS 10.15
Scanner(string: hex).scanHexInt32(&int)
^
/Users/xxxxxxxxx/.puro/shared/pub_cache/hosted/pub.dev/pdfx-2.6.0/macos/Classes/Hooks.swift:31:30: warning: 'scanHexInt32' was deprecated in macOS 10.15
Scanner(string: hex).scanHexInt32(&int)
^
/Users/xxxxxxxxx/.puro/shared/pub_cache/hosted/pub.dev/pdfx-2.6.0/macos/Classes/messages.m:598:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
NSObject *PdfxApiGetCodec() {
^
void
1 warning generated.
/Users/xxxxxxxxx/.puro/shared/pub_cache/hosted/pub.dev/pdfx-2.6.0/macos/Classes/messages.m:598:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
NSObject *PdfxApiGetCodec() {
^
void

this is my flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-x64, locale it-IT)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.92.2)
[✓] VS Code (version 1.84.2)
[✓] Connected device (2 available)
[✓] Network resources

I use pdfrx: 1.0.82

To Reproduce
Steps to reproduce the behavior:

  1. Run flutter build macos

Expected behavior
No warnings i read somewhere that the HexInt32 should be changed with the 64 version

@VittorioParagallo VittorioParagallo added the bug Something isn't working label Aug 24, 2024
@HEBOS
Copy link

HEBOS commented Sep 29, 2024

Is there any timeline for solving this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants