引入image_picker报错 无法运行
来源:6-4 StatelessWidget与基础组件【撑起Flutter的半边天】
 
			马俊宝
2022-03-22
引入image_picker导致项目无法运行
Launching lib/main.dart on iPhone 12 Pro in debug mode...
Running pod install...
CocoaPods' output:
↳
      Preparing
    Analyzing dependencies
    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
    Fetching external sources
    -> Fetching podspec for `Flutter` from `Flutter`
    -> Fetching podspec for `image_picker` from `.symlinks/plugins/image_picker/ios`
Error output from CocoaPods:
↳
    /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/rbconfig.rb:230: warning: Insecure world writable dir /opt/homebrew/bin in PATH, mode 040777
    /Users/majunbao/.gem/gems/ffi-1.15.5/lib/ffi/library.rb:275: [BUG] Bus Error at 0x0000000101044000
    ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
    -- Crash Report log information --------------------------------------------
       See Crash Report log file under the one of following:
         * ~/Library/Logs/DiagnosticReports
         * /Library/Logs/DiagnosticReports
       for more details.
    Don't forget to include the above Crash Report log file in bug reports.
   [NOTE]
    You may have encountered a bug in the Ruby interpreter or extension libraries.
    Bug reports are welcome.
    For details: https://www.ruby-lang.org/bugreport.html
    [IMPORTANT]
    Don't forget to include the Crash Report log file under
    DiagnosticReports directory in bug reports.
Error running pod install
Error launching application on iPhone 12 Pro.
写回答
	1回答
- 
				  CrazyCodeBoy 2022-03-22 将image_picker移除重新添加下看看 00
相似问题
