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

Keep getting errors like "flutter-nordic-dfu/example/ios/Pods/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:297:48: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope data.append(UnsafeBufferPointer(start: &relativeOffsetOfLocalHeader, count: 1))" #20

Open
ovestoerholt opened this issue Sep 21, 2020 · 2 comments

Comments

@ovestoerholt
Copy link

Using flutter_blue 0.7.2

What can be done to resolve?

@BacLuc
Copy link

BacLuc commented Jul 15, 2021

How did you get flutter_blue and flutter-nordic-dfu running on ios?
For flutter_blue i needed objective-c for the ios build target,
now i get an error that flutter_nordic_dfu/flutter_nordic_dfu-Swift.h not found, maybe because flutter_nordic_dfu needs swift build target?

@BacLuc
Copy link

BacLuc commented Jul 15, 2021

Keep getting errors like "flutter-nordic-dfu/example/ios/Pods/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:297:48: note:
use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
data.append(UnsafeBufferPointer(start: &relativeOffsetOfLocalHeader, count: 1))"

These are warnings, not errors.
You can run the app, but warnings should be fixed too.

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

No branches or pull requests

2 participants