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

Fix Unable to bridge NSNumber to Float #236

Merged
merged 1 commit into from
Dec 1, 2022
Merged

Conversation

Allenxuxu
Copy link
Contributor

Foundation/NSNumber.swift:467: Fatal error: Unable to bridge NSNumber to Float

@damywise
Copy link
Contributor

damywise commented Nov 6, 2022

@Allenxuxu this doesn't seem to fix it, the issue is still there

@Allenxuxu
Copy link
Contributor Author

@Allenxuxu this doesn't seem to fix it, the issue is still there

Can you post the error message?

@damywise
Copy link
Contributor

damywise commented Nov 7, 2022

Still that exact line..?
Here's full run message

% flutter run -d macos
Launching lib/main.dart on macOS in debug mode...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00008103-001629960230801E }
{ platform:macOS, arch:x86_64, id:00008103-001629960230801E }
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
Building macOS application...                                           
Syncing files to device macOS...                                   129ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on macOS is available at:
http://127.0.0.1:60310/5156MlMBJ24=/
The Flutter DevTools debugger and profiler on macOS is available at:
[http://127.0.0.1:9100?uri=http://127.0.0.1:60310/5156MlMBJ24=/](http://127.0.0.1:9100/?uri=http://127.0.0.1:60310/5156MlMBJ24=/)
Foundation/NSNumber.swift:467: Fatal error: Unable to bridge NSNumber to Float
Lost connection to device.

@lijy91 lijy91 merged commit d8f6ccd into leanflutter:main Dec 1, 2022
obiwanzenobi pushed a commit to obiwanzenobi/window_manager that referenced this pull request May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants