CocoaPods' output:
↳
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Finding Podfile changes
A flutter_blue
- Flutter
- adhara_socket_io
- amap_base_map
- android_intent
- audioplayers
- barcode_scan
- cipher2
- connectivity
- contact_picker
- flutter_alipay
- flutter_statusbar
- flutter_webview_plugin
- fluttertoast
- image_picker
- package_info
- path_provider
- permission_handler
- shared_preferences
- sqflite
- url_launcher
- webview_flutter
Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
-> Fetching podspec for `adhara_socket_io` from `.symlinks/plugins/adhara_socket_io/ios`
-> Fetching podspec for `amap_base_map` from `.symlinks/plugins/amap_base_map/ios`
-> Fetching podspec for `android_intent` from `.symlinks/plugins/android_intent/ios`
-> Fetching podspec for `audioplayers` from `.symlinks/plugins/audioplayers/ios`
-> Fetching podspec for `barcode_scan` from `.symlinks/plugins/barcode_scan/ios`
-> Fetching podspec for `cipher2` from `.symlinks/plugins/cipher2/ios`
-> Fetching podspec for `connectivity` from `.symlinks/plugins/connectivity/ios`
-> Fetching podspec for `contact_picker` from `.symlinks/plugins/contact_picker/ios`
-> Fetching podspec for `flutter_alipay` from `.symlinks/plugins/flutter_alipay/ios`
-> Fetching podspec for `flutter_blue` from `.symlinks/plugins/flutter_blue/ios`
-> Fetching podspec for `flutter_statusbar` from `.symlinks/plugins/flutter_statusbar/ios`
-> Fetching podspec for `flutter_webview_plugin` from `.symlinks/plugins/flutter_webview_plugin/ios`
-> Fetching podspec for `fluttertoast` from `.symlinks/plugins/fluttertoast/ios`
-> Fetching podspec for `image_picker` from `.symlinks/plugins/image_picker/ios`
-> Fetching podspec for `package_info` from `.symlinks/plugins/package_info/ios`
-> Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`
-> Fetching podspec for `permission_handler` from `.symlinks/plugins/permission_handler/ios`
-> Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
-> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
-> Fetching podspec for `webview_flutter` from `.symlinks/plugins/webview_flutter/ios`
Resolving dependencies of `Podfile`
Comparing resolved specification to the sandbox manifest
A !ProtoCompiler
A AMap3DMap
A AMapFoundation
A AliPay
A CryptoSwift
A FMDB
A Flutter
A MJExtension
A MTBBarcodeScanner
A Protobuf
A Reachability
A Starscream
A adhara_socket_io
A amap_base_map
A android_intent
A audioplayers
A barcode_scan
A cipher2
A connectivity
A contact_picker
A flutter_alipay
A flutter_blue
A flutter_statusbar
A flutter_webview_plugin
A fluttertoast
A image_picker
A package_info
A path_provider
A permission_handler
A shared_preferences
A sqflite
A url_launcher
A webview_flutter
Downloading dependencies
-> Installing !ProtoCompiler (3.8.0)
> Copying !ProtoCompiler from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/!ProtoCompiler/3.8.0-7fc49` to `Pods/!ProtoCompiler`
-> Installing AMap3DMap (6.9.0)
> Copying AMap3DMap from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/AMap3DMap/6.9.0-c80b2` to `Pods/AMap3DMap`
-> Installing AMapFoundation (1.5.7)
> Copying AMapFoundation from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/AMapFoundation/1.5.7-216d5` to `Pods/AMapFoundation`
-> Installing AliPay (2.1.2)
> Copying AliPay from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/AliPay/2.1.2-2bd35` to `Pods/AliPay`
-> Installing CryptoSwift (0.13.1)
> Copying CryptoSwift from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/CryptoSwift/0.13.1-ff68c` to `Pods/CryptoSwift`
-> Installing FMDB (2.7.5)
> Copying FMDB from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/FMDB/2.7.5-2ce00` to `Pods/FMDB`
-> Installing Flutter (1.0.0)
-> Installing MJExtension (3.0.17)
> Copying MJExtension from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/MJExtension/3.0.17-74ec8` to `Pods/MJExtension`
-> Installing MTBBarcodeScanner (5.0.11)
> Copying MTBBarcodeScanner from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/MTBBarcodeScanner/5.0.11-f453b` to `Pods/MTBBarcodeScanner`
-> Installing Protobuf (3.9.0)
> Copying Protobuf from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/Protobuf/3.9.0-1097c` to `Pods/Protobuf`
-> Installing Reachability (3.2)
> Copying Reachability from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/Reachability/3.2-33e18` to `Pods/Reachability`
-> InstallingSocket.IO-Client-Swift(15.1.0)
> CopyingSocket.IO-Client-Swiftfrom `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/Socket.IO-Client-Swift/15.1.0-7cb44` to `Pods/Socket.IO-Client-Swift`
-> Installing Starscream (3.1.0)
> Copying Starscream from `/Users/shijingfu/Library/Caches/CocoaPods/Pods/Release/Starscream/3.1.0-08172` to `Pods/Starscream`
-> Installing adhara_socket_io (0.0.1)
-> Installing amap_base_map (0.1.8)
-> Installing android_intent (0.0.1)
-> Installing audioplayers (0.0.1)
-> Installing barcode_scan (0.0.1)
-> Installing cipher2 (0.0.1)
-> Installing connectivity (0.0.1)
-> Installing contact_picker (0.0.1)
-> Installing flutter_alipay (0.0.1)
-> Installing flutter_blue (0.0.1)
> Running prepare command
$ /bin/bash -c set -e mkdir -p gen /Users/shijingfu/Desktop/Flutter_controller/Pods/!ProtoCompiler/protoc --objc_out=gen --proto_path=../protos ../protos/*.proto
[!] /bin/bash -c
set -e
mkdir -p gen
/Users/shijingfu/Desktop/Flutter_controller/Pods/!ProtoCompiler/protoc --objc_out=gen --proto_path=../protos ../protos/*.proto
/bin/bash: line 3: /Users/shijingfu/Desktop/Flutter_controller/Pods/!ProtoCompiler/protoc: No such file or directory
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/executable.rb:73:in `execute_command'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/executable.rb:27:in `block in executable'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/pod_source_preparer.rb:66:in `block (2 levels) in run_prepare_command'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/pod_source_preparer.rb:60:in `chdir'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/pod_source_preparer.rb:60:in `block in run_prepare_command'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/pod_source_preparer.rb:59:in `run_prepare_command'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/pod_source_preparer.rb:37:in `prepare!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/pod_source_installer.rb:63:in `install!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:545:in `install_source_of_pod'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:496:in `block (2 levels) in install_pod_sources'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/user_interface.rb:86:in `titled_section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:495:in `block in install_pod_sources'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:478:in `each'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:478:in `install_pod_sources'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:235:in `block in download_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:234:in `download_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:157:in `install!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command/install.rb:51:in `run'
/Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/bin/pod:55:in `'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `'
Error output from CocoaPods:
↳
/bin/bash: line 3: /Users/shijingfu/Desktop/Flutter_controller/Pods/!ProtoCompiler/protoc: No such file or directory
Finished with error: Error running pod install
比较好的方法protoc = ENV['PWD'] + 'Pods/!ProtoCompiler/protoc'
更改成protoc = ENV['PWD'] + '/ios/Pods/!ProtoCompiler/protoc'
网友评论