facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
118.16k stars 24.21k forks source link

Question: Got *'react/components/view/AccessibilityPrimitives.h' file not found in AccessibilityProps.h* after upgrade to RN 0.61.0 #27697

Closed zyangSir closed 4 years ago

zyangSir commented 4 years ago

hi fb guys: my podfile is as below:


Uncomment this line to define a global platform for your project

platform :ios, '9.0'

Uncomment the next line to activate CDN boost up!

source 'https://github.com/CocoaPods/Specs.git'

target 'ABC do

Uncomment this line if you're using Swift or would like to use dynamic frameworks

use_frameworks!

RN Core Code

pod 'React', :path => '../RN/node_modules/react-native/' pod 'React-Core', :path => '../RN/node_modules/react-native/' pod 'React-CoreModules', :path => '../RN/node_modules/react-native/React/CoreModules/' pod 'React-Core/DevSupport', :path => '../RN/node_modules/react-native/'

RN Common Code Base

pod 'React-cxxreact', :path => '../RN/node_modules/react-native/ReactCommon/cxxreact' pod 'React-jsi', :path => '../RN/node_modules/react-native/ReactCommon/jsi' pod 'React-jsiexecutor', :path => '../RN/node_modules/react-native/ReactCommon/jsiexecutor' pod 'React-jsinspector', :path => '../RN/node_modules/react-native/ReactCommon/jsinspector' pod 'ReactCommon/turbomodule/core', :path => '../RN/node_modules/react-native/ReactCommon/' pod 'Yoga', :path => '../RN/node_modules/react-native/ReactCommon/yoga'

RN Official Lib

pod 'React-RCTBlob', :path => '../RN/node_modules/react-native/Libraries/Blob/' pod 'React-ART', :path => '../RN/node_modules/react-native/Libraries/ART/' pod 'React-RCTActionSheet', :path => '../RN/node_modules/react-native/Libraries/ActionSheetIOS/' pod 'React-RCTImage', :path => '../RN/node_modules/react-native/Libraries/Image/' pod 'React-RCTNetwork', :path => '../RN/node_modules/react-native/Libraries/Network/' pod 'React-RCTText', :path => '../RN/node_modules/react-native/Libraries/Text/' pod 'React-RCTVibration', :path => '../RN/node_modules/react-native/Libraries/Vibration/' pod 'React-RCTSettings', :path => '../RN/node_modules/react-native/Libraries/Settings/' pod 'React-RCTLinking', :path => '../RN/node_modules/react-native/Libraries/LinkingIOS/' pod 'React-RCTAnimation', :path => '../RN/node_modules/react-native/Libraries/NativeAnimation/'

pod 'FBLazyVector', :podspec => '../RN/node_modules/react-native/Libraries/FBLazyVector/FBLazyVector.podspec' pod 'FBReactNativeSpec', :podspec => '../RN/node_modules/react-native/Libraries/FBReactNativeSpec/FBReactNativeSpec.podspec' pod 'RCTRequired', :podspec => '../RN/node_modules/react-native/Libraries/RCTRequired/RCTRequired.podspec' pod 'RCTTypeSafety', :podspec => '../RN/node_modules/react-native/Libraries/TypeSafety/RCTTypeSafety.podspec'

RN 3rd Plugins

pod 'DoubleConversion', :podspec => '../RN/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' pod 'glog', :podspec => '../RN/node_modules/react-native/third-party-podspecs/glog.podspec' pod 'Folly', :podspec => '../RN/node_modules/react-native/third-party-podspecs/Folly.podspec' pod 'ReactNativeNavigation', :podspec => '../RN/node_modules/react-native-navigation/ReactNativeNavigation.podspec'

视图模型类, MVVM设计模式使用

pod 'ReactiveViewModel', '~> 0.3'

简洁优雅的轻量级约束布局库

pod 'Masonry', '~> 1.0.0'

小巧快速的内存/磁盘缓存库

pod 'YYCache', '~> 1.0.4'

小而美的弹出提醒框

pod 'SVProgressHUD', '~> 2.2.5'

Crash 收集平台

pod 'Bugly', '~> 2.5.0'

target 'ABCTests' do inherit! :search_paths

Pods for testing

end

end


Pod install is OK, but get compiler err during building:

'react/components/view/AccessibilityPrimitives.h' file not found in AccessibilityProps.h

react-native-bot commented 4 years ago

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

👉 Click here if you want to report a reproducible bug or regression in React Native.