fluttercandies / wechat_flutter

wechat_flutter is Flutter version WeChat, an excellent Flutter instant messaging IM open source library!
Apache License 2.0
2.52k stars 550 forks source link

run 报错 “'ExtendedEditableTextState' is missing” #28

Closed taozeyuMention closed 4 years ago

taozeyuMention commented 4 years ago

Launching lib/main.dart on iPhone in debug mode... Automatically signing iOS for device deployment using specified development team in Xcode project: GU782MS4KM Warning: Podfile is out of date This can cause issues if your application depends on plugins that do not support iOS. See https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms for details. If you have local Podfile edits you would like to keep, see https://github.com/flutter/flutter/issues/45197 for instructions. To regenerate the Podfile, run: rm ios/Podfile

Running Xcode build... Xcode build done. 33.0s Failed to build iOS app Error output from Xcode build: ↳ 2020-10-28 11:04:34.298 xcodebuild[32796:347968] DTDeviceKit: deviceType from 00008030-000D28643C38802E was NULL 2020-10-28 11:04:34.431 xcodebuild[32796:348112] DTDeviceKit: deviceType from 00008030-000D28643C38802E was NULL 2020-10-28 11:04:34.431 xcodebuild[32796:348112] DTDeviceKit: deviceType from 00008030-000D28643C38802E was NULL BUILD FAILED

Xcode's output: ↳ /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-0.5.8/ios/Classes/core/PMManager.m:725:42: warning: 'openURL:options:completionHandler:' is only available on iOS 10.0 or newer [-Wunguarded-availability] [[UIApplication sharedApplication] openURL:url ^~~ In module 'UIKit' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Target Support Files/photo_manager/photo_manager-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:130:1: note: 'openURL:options:completionHandler:' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0

Could not build the precompiled application for the device.

Error launching application on iPhone.

taozeyuMention commented 4 years ago

已解决, 把 extended_text_field: 4.0.0 改成 5.0.0即可