I added pod ‘AFNetworking’ in line 25. It failed.
If eliminated this. It could actually pod efficiently.
“dependencies”: {
“@react-native-community/cli-platform-ios”: “^10.2.0”,
“@react-navigation/native”: “^6.1.6”,
“@react-navigation/native-stack”: “^6.9.12”,
“react”: “18.2.0”,
“react-native”: “0.71.3”,
“react-native-safe-area-context”: “^4.5.0”,
“react-native-screens”: “^3.20.0”
},
piccolo@Piccolos-MacBook-Professional ios % pod set up warn A number of Podfiles had been discovered: ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/Podfile. Selecting ios/Podfile robotically. If you need to pick out a unique one, you'll be able to configure it through "mission.ios.sourceDir". You'll be able to study extra about it right here: https://github.com/react-native-community/cli/blob/grasp/docs/configuration.md Auto-linking React Native modules for goal
AwesomeTSProject1`: RNScreens and react-native-safe-area-context
Framework construct kind is static library
[Codegen] Producing ./construct/generated/ios/React-Codegen.podspec.json
Analyzing dependencies
[Codegen] Discovered FBReactNativeSpec
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
/Customers/piccolo/.rvm/gems/ruby-2.7.6/bin/pod set up
Report
Stack
CocoaPods : 1.12.0
Ruby : ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [arm64-darwin22]
RubyGems : 3.1.6
Host : macOS 13.2.1 (22D68)
Xcode : 14.2 (14C18)
Git : git model 2.37.1 (Apple Git-137.1)
Ruby lib dir : /Customers/piccolo/.rvm/rubies/ruby-2.7.6/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
tsinghua-git-cocoapods - git - https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git @ df8b24482fa59993de7c32511f2aebde33eea25c
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
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, min_ios_version_supported
prepare_react_native_project!
# In case you are utilizing a `react-native-flipper` your iOS construct will fail when `NO_FLIPPER=1` is about.
# as a result of `react-native-flipper` is determined by (FlipperKit,...) that can be excluded
#
# To repair this it's also possible to exclude `react-native-flipper` utilizing a `react-native.config.js`
# ```js
# module.exports = {
# dependencies: {
# ...(course of.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.places "Configuring Pod with #{linkage}ally linked Frameworks".inexperienced
use_frameworks! :linkage => linkage.to_sym
finish
goal 'AwesomeTSProject1' do
pod 'AFNetworking'
config = use_native_modules!
# Flags change relying on the env values.
flags = get_default_flags()
use_react_native!(
:path => config[:reactNativePath],
# Hermes is now enabled by default. Disable by setting this flag to false.
# Upcoming variations of React Native could depend on get_default_flags(), however
# we make it specific right here to assist within the React Native improve course of.
# :hermes_enabled => flags[:hermes_enabled],
:hermes_enabled => true,
:fabric_enabled => flags[:fabric_enabled],
# Permits Flipper.
#
# Observe that when you have use_frameworks! enabled, Flipper is not going to work and
# you must disable the subsequent line.
:flipper_configuration => flipper_config,
# An absolute path to your utility root.
:app_path => "#{Pod::Config.occasion.installation_root}/.."
)
goal 'AwesomeTSProject1Tests' do
inherit! :full
# Pods for testing
finish
post_install do |installer|
react_native_post_install(
installer,
# Set `mac_catalyst_enabled` to `true` with a view to apply patches
# essential for Mac Catalyst builds
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
finish
finish
Error
LoadError - dlopen(/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried: '/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file (/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle), however incompatible platform (have 'iOS', want 'macOS')), '/System/Volumes/Preboot/Cryptexes/OS/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (no such file), '/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file (/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle), however incompatible platform (have 'iOS', want 'macOS')) - /Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi.rb:5:in `require'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi.rb:5:in `rescue in <prime (required)>'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi.rb:2:in `<prime (required)>'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ethon-0.16.0/lib/ethon.rb:3:in `require'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/ethon-0.16.0/lib/ethon.rb:3:in `<prime (required)>'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `require'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<prime (required)>'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:440:in `require'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:440:in `download_typhoeus_impl_async'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:372:in `download_and_save_with_retries_async'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:365:in `download_file_async'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:338:in `download_file'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:284:in `ensure_versions_file_loaded'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:208:in `search'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/supply/mixture.rb:83:in `block in search'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/supply/mixture.rb:83:in `choose'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/supply/mixture.rb:83:in `search'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:416:in `create_set_from_sources'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:385:in `find_cached_set'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:360:in `specifications_for_dependency'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:165:in `search_for'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:274:in `block in sort_dependencies'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:267:in `every'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:267:in `sort_by'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:267:in `sort_by!'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:267:in `sort_dependencies'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:in `block in sort_dependencies'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in `with_no_such_dependency_error_handling'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:in `sort_dependencies'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:754:in `push_state_for_requirements'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:288:in `push_initial_state'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:210:in `start_resolution'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/molinillo-0.8.0/lib/molinillo/decision.rb:168:in `resolve'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:94:in `resolve'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:1082:in `block in resolve_dependencies'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/user_interface.rb:64:in `part'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:1080:in `resolve_dependencies'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:125:in `analyze'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:422:in `analyze'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/user_interface.rb:64:in `part'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:243:in `resolve_dependencies'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:162:in `set up!'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/command/set up.rb:52:in `run'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/lib/cocoapods/command.rb:52:in `run'
/Customers/piccolo/Information/Piccolo/SelfApp/RN/AwesomeTSProject1/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.12.0/bin/pod:55:in `<prime (required)>'
/Customers/piccolo/.rvm/gems/ruby-2.7.6/bin/pod:23:in `load'
/Customers/piccolo/.rvm/gems/ruby-2.7.6/bin/pod:23:in `<most important>'
/Customers/piccolo/.rvm/gems/ruby-2.7.6/bin/ruby_executable_hooks:22:in `eval'
/Customers/piccolo/.rvm/gems/ruby-2.7.6/bin/ruby_executable_hooks:22:in `<most important>'
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/points/new
You’ll want to first learn the contributing information for particulars on methods to correctly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/grasp/CONTRIBUTING.md
Remember to anonymize any personal information!
Searching for associated points on cocoapods/cocoapods…
Trying to find inspections failed: undefined methodology map' for nil:NilClass