fluttercommunity / flutter_downloader

Flutter Downloader - A plugin for creating and managing download tasks.
https://pub.dev/packages/flutter_downloader
BSD 3-Clause "New" or "Revised" License
905 stars 508 forks source link

iOS run error #790

Open symboy opened 1 year ago

symboy commented 1 year ago

Xcode 14.2 image

image

fl_chart: ^0.55.1 dio: ^4.0.6 cupertino_icons: ^1.0.2 json_annotation: ^4.4.0 shared_preferences: ^2.0.5 connectivity: ^3.0.3 dio_cache_interceptor: ^3.0.1 dio_cookie_manager: ^2.0.0 flutter_easyloading: ^3.0.3 event_bus: ^2.0.0 cached_network_image: ^3.2.0 provider: ^6.0.4 pull_to_refresh: ^2.0.0 flutter_screenutil: ^5.5.4

jpush_flutter: ^2.3.3

amap_flutter_location: ^3.0.0 amap_flutter_map: ^3.0.0 permission_handler: ^10.0.2 syncfusion_flutter_charts: ^20.3.59 webview_flutter: ^3.0.4 scan: ^1.6.0 auto_size_text: ^3.0.0 modal_bottom_sheet: ^2.1.2 fijkplayer: ^0.10.1 badges: ^2.0.3 map_launcher: ^2.4.0 flutter_svg: ^1.1.6 get: ^4.6.5 shimmer: ^2.0.0 html_unescape: ^1.0.2 socket_io_client: ^2.0.0 web_socket_channel: ^2.2.0 app_settings: ^4.1.8 path_provider: ^2.0.11 hive: ^2.2.3 hive_flutter: ^1.1.0 bezier: ^1.2.0 photo_view: ^0.14.0 image_picker: ^0.8.6 flutter_widget_from_html: ^0.9.0+1 smooth_page_indicator: ^1.0.0+2 package_info_plus: ^1.4.2 flutter_downloader: ^1.10.1 open_file: ^3.2.1

Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED

Xcode's output: ↳ Writing result bundle at path: /var/folders/ls/r7_sj211547dm2_3_0mmy8v80000gn/T/flutter_tools.5cE4Ij/flutter_ios_build_temp_dir7Rpzmp/temporary_xcresult_bundle

note: Building targets in dependency order
/Users/xinkejuhe-sunyueming/Desktop/新科聚合项目/新科数智云/thinkerProject/thinker_project/ios/Runner.xcodeproj: warning: The Copy Bundle Resources build phase contains this target's Info.plist file '/Users/xinkejuhe-sunyueming/Desktop/新科聚合项目/新科数智云/thinkerProject/thinker_project/ios/Runner/Info-Debug.plist'. (in target 'Runner' from project 'Runner')
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')
warning: Run script build phase 'Thin Binary' 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')
/Users/xinkejuhe-sunyueming/Desktop/新科聚合项目/新科数智云/thinkerProject/thinker_project/ios/Pods/Pods.xcodeproj: error: Signing for "flutter_downloader-FlutterDownloaderDatabase" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'flutter_downloader-FlutterDownloaderDatabase' from project 'Pods')

Result bundle written to path:
    /var/folders/ls/r7_sj211547dm2_3_0mmy8v80000gn/T/flutter_tools.5cE4Ij/flutter_ios_build_temp_dir7Rpzmp/temporary_xcresult_bundle

Could not build the precompiled application for the device. Error (Xcode): Signing for "flutter_downloader-FlutterDownloaderDatabase" requires a development team. Select a development team in the Signing & Capabilities editor. /Users/xinkejuhe-sunyueming/Desktop/%E6%96%B0%E7%A7%91%E8%81%9A%E5%90%88%E9%A1%B9%E7%9B%AE/%E6%96%B0%E7%A7%91%E6%95%B0%E6%99%BA%E4%BA%91/thinkerProject/thinker_project/ios/Pods/Pods.xcodeproj

781flyingdutchman commented 1 year ago

Hi, I've found the flutter_downloader to be comprehensive, but also a bit buggy, so I wrote a much simpler download package background_downloader. Have a look and see if it serves your needs.