flutter-nordic-dfu icon indicating copy to clipboard operation
flutter-nordic-dfu copied to clipboard

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))"

Open ovestoerholt opened this issue 3 years ago • 2 comments

Using flutter_blue 0.7.2

What can be done to resolve?

ovestoerholt avatar Sep 21 '20 16:09 ovestoerholt

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 avatar Jul 15 '21 06:07 BacLuc

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.

BacLuc avatar Jul 15 '21 06:07 BacLuc