Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Cant run in flutter_v1.7.8+hotfix.4-stable #5

Open
lawlietwind opened this issue Jul 25, 2019 · 1 comment
Open

Cant run in flutter_v1.7.8+hotfix.4-stable #5

lawlietwind opened this issue Jul 25, 2019 · 1 comment

Comments

@lawlietwind
Copy link

For now, I have many errors when building it.
Such like this:

Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **
Xcode's output:

/Users/lawlietwind/Developer/flutter/.pub-cache/hosted/pub.flutter-io.cn/camera-0.2.9+1/ios/Classes/CameraPlugin.m:68:24: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer [-Wunguarded-availability]
- (void)captureOutput:(AVCapturePhotoOutput *)output
^
In module 'AVFoundation' imported from /Users/lawlietwind/Developer/flutter/.pub-cache/hosted/pub.flutter-io.cn/camera-0.2.9+1/ios/Classes/CameraPlugin.m:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:46:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/lawlietwind/Developer/flutter/.pub-cache/hosted/pub.flutter-io.cn/camera-0.2.9+1/ios/Classes/CameraPlugin.m:68:1: note: annotate 'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:' with an availability attribute to silence this warning
- (void)captureOutput:(AVCapturePhotoOutput *)output

@Eastkap
Copy link

Eastkap commented Sep 22, 2019

same issue here, any luck fixing ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants