Friday, August 19, 2022
HomeiOS Developmentios - Cannot run my challenge after put in file_picker: ^4.6.1

ios – Cannot run my challenge after put in file_picker: ^4.6.1


I put in file_picker: ^4.6.1 and after I can not run my challenge. With out file_picker: ^4.6.1 my challenge works nicely.

My debug console:

Launching lib/fundamental.dart on iPhone 13 mini in debug mode… Operating pod
set up… CocoaPods’ output: ↳
Getting ready

Analyzing dependencies

Inspecting targets to combine
  Utilizing `ARCHS` setting to construct architectures of goal `Pods-Runner`: (``)

Discovering Podfile adjustments
  A file_picker
  - Flutter
  - google_maps_flutter
  - image_picker_ios
  - open_file
  - path_provider_ios

Fetching exterior sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `file_picker` from `.symlinks/plugins/file_picker/ios`
-> Fetching podspec for `google_maps_flutter` from `.symlinks/plugins/google_maps_flutter/ios`
-> Fetching podspec for `image_picker_ios` from `.symlinks/plugins/image_picker_ios/ios`
-> Fetching podspec for `open_file` from `.symlinks/plugins/open_file/ios`
-> Fetching podspec for `path_provider_ios` from `.symlinks/plugins/path_provider_ios/ios`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning native as a result of checking is just carried out in repo replace
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning native as a result of checking is just carried out in repo replace

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

### Command

```
/usr/native/bin/pod set up --verbose
```

### Report

* What did you do?

* What did you count on to occur?

* What occurred as a substitute?


### Stack

```
   CocoaPods : 1.11.3
        Ruby : ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
    RubyGems : 3.0.3.1
        Host : macOS 12.4 (21F79)
       Xcode : 13.4.1 (13F100)
         Git : git model 2.32.1 (Apple Git-133)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
```

### Plugins

```
cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0
```

### Podfile

```ruby
# Uncomment this line to outline a world platform to your challenge
# platform :ios, '9.0'

# CocoaPods analytics sends community stats synchronously affecting flutter construct latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

challenge 'Runner', {
  'Debug' => :debug,
  'Profile' => :launch,
  'Launch' => :launch,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.be part of('..', 'Flutter', 'Generated.xcconfig'),

FILE)
until File.exist?(generated_xcode_build_settings_path)
increase “#{generated_xcode_build_settings_path} should exist. In case you’re working pod set up manually, be certain that flutter pub get is
executed first”
finish

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT=(.*)/)
    return matches[1].strip if matches
  finish
  increase "FLUTTER_ROOT not present in #{generated_xcode_build_settings_path}. Strive deleting Generated.xcconfig, then run flutter pub get"
finish

require File.expand_path(File.be part of('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

goal 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
finish

post_install do |installer|
  installer.pods_project.targets.every do |goal|
    flutter_additional_ios_build_settings(goal)
  finish
finish
```

### Error

```
LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle,

0x0009): tried:
‘/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle’ (mach-o
file, however is an incompatible structure (have ‘x86_64’, want
‘arm64e’)) – /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require' /System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require’
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi.rb:5:in rescue in <high (required)>' /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi.rb:2:in <high (required)>’
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require' /System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require’
/Library/Ruby/Gems/2.6.0/gems/ethon-0.14.0/lib/ethon.rb:3:in <high (required)>' /System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require’
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require' /Library/Ruby/Gems/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in <high (required)>’
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require' /System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:440:in download_typhoeus_impl_async' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:372:in download_and_save_with_retries_async’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:365:in download_file_async' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:338:in download_file’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:284:in ensure_versions_file_loaded' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:208:in search’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/supply/mixture.rb:83:in
block in search' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/supply/mixture.rb:83:in choose’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/supply/mixture.rb:83:in
search' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:416:in create_set_from_sources’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:385:in
find_cached_set' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:360:in specifications_for_dependency’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:165:in
search_for' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:274:in block in sort_dependencies’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in
every' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in sort_by’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in
sort_by!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in sort_dependencies’
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:in
block in sort_dependencies' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in with_no_such_dependency_error_handling’
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:in
sort_dependencies' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:754:in push_state_for_requirements’
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:744:in
require_nested_dependencies_for' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:727:in activate_new_spec’
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:684:in
attempt_to_activate' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:254:in process_topmost_state’
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:182:in
resolve' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in resolve’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in
resolve' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in block in resolve_dependencies’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in
part' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in resolve_dependencies’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in analyze’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in
block in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in part’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in
resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in set up!’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command/set up.rb:52:in
run' /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in run’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in
run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/bin/pod:55:in <high (required)>’
/usr/native/bin/pod:23:in load' /usr/native/bin/pod:23:in
“`

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

Seek for current GitHub points much like yours:
https://github.com/CocoaPods/CocoaPods/search?q=dlopenpercent28percent2FLibrarypercent2FRubypercent2FGemspercent2F2.6.0percent2Fgemspercent2Fffi-1.15.5percent2Flibpercent2Fffi_c.bundlepercent2C+0x0009percent29percent3A+triedpercent3A+%27percent2FLibrarypercent2FRubypercent2FGemspercent2F2.6.0percent2Fgemspercent2Fffi-1.15.5percent2Flibpercent2Fffi_c.bundlepercent27+%28mach-o+filepercent2C+however+is+an+incompatible+structure+%28have+%27x86_64percent27percent2C+want+%27arm64epercent27percent29percent29+-+%2FLibrarypercent2FRubypercent2FGemspercent2F2.6.0percent2Fgemspercent2Fffi-1.15.5percent2Flibpercent2Fffi_c.bundle&kind=Points

If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/points/new

You should definitely first learn the contributing information for particulars on how one can correctly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/grasp/CONTRIBUTING.md

Do not forget to anonymize any non-public knowledge!

In search of associated points on cocoapods/cocoapods...

Error output from CocoaPods: ↳
Looking for inspections failed: undefined technique `map’ for nil:NilClass

[!] Robotically assigning platform `iOS` with model `9.0` heading in the right direction `Runner` as a result of no platform was specified. Please specify a

platform for this goal in your Podfile. See
https://guides.cocoapods.org/syntax/podfile.html#platform.

Error working pod set up Error launching utility on iPhone 13
mini.

flutter physician:

[✓] Flutter (Channel steady, 3.0.1, on macOS 12.4 21F79 darwin-arm,
locale en-GB)

[✓] Android toolchain – develop for Android gadgets (Android SDK
model 32.1.0-rc1)

[✓] Xcode – develop for iOS and macOS (Xcode 13.4.1)

[✓] Chrome – develop for the online

[✓] Android Studio (model 2021.2)

[✓] Related system (3 obtainable)

[✓] HTTP Host Availability

• No points discovered!

COCOAPODS: 1.11.3

MacBook Air M1 MacOS Monterey Model 12.4 (21F79)

XCODE Model 13.4.1 (13F100)

Working with iPhone 13 mini

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments