Я только начал с RACET Native. Я следил за Native Cli QuickStart из официальной документации. Это также означает, что я в курсе нативной версии React 0,61.2 < /strong>. < /P>
с тех пор я сделал какой -то базовый пользовательский интерфейс, проверив с результатом в симуляторе iPhone. Он работает при запуске RACET-CONGIOS , не касаясь ios/podfile слишком много. Теперь это становится проблемой, когда мне нужно установить дополнительные пакеты. Но это уже не сбои с по умолчанию Podfile![!] Invalid `Podfile` file: undefined method `[]' for nil:NilClass.
# from /Users/marcel/Projekte/WerBinIch/ios/Podfile:43
# -------------------------------------------
#
> use_native_modules!
# end
# -------------------------------------------
< /code>
ios /podfile < /strong> < /p>
platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
target 'WerBinIch' do
# Pods for WerBinIch
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/'
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
target 'WerBinIchTests' do
inherit! :search_paths
# Pods for testing
end
use_native_modules!
end
< /code>
Я понятия не имею, как справиться с этим! Я понятия не имею, как действительно работает Podfile и вещь с файлами Xcode! Я пытался удалить папки, выполняя сброс. Более того, я понятия не имею, что может означать сообщение об ошибке.
Подробнее здесь: https://stackoverflow.com/questions/584 ... r-nilnilcl
React Native - ios - неверный `podfile` файл: неопределенный метод` [] 'для nil: nilclass ⇐ IOS
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
React Native - iOS - Неверный файл Podfile: неопределенный метод `[]' для nil: NilClass
Anonymous » » в форуме IOS - 0 Ответы
- 19 Просмотры
-
Последнее сообщение Anonymous
-
-
-
React Native - iOS - Неверный файл Podfile: неопределенный метод `[]' для nil: NilClass
Anonymous » » в форуме IOS - 0 Ответы
- 24 Просмотры
-
Последнее сообщение Anonymous
-
-
-
React Native - ios - неверный `podfile` файл: неопределенный метод` [] 'для nil: nilclass
Anonymous » » в форуме IOS - 0 Ответы
- 8 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Установка модуля Flutter iOS Проблема с Ruby: неопределенный метод «map» для nil: NilClass
Anonymous » » в форуме IOS - 0 Ответы
- 14 Просмотры
-
Последнее сообщение Anonymous
-