React Native:Jenkins:RCTAccessibilityManager上的构建代码。m:error:使用未声明的标识符';JSCategory';

React Native:Jenkins:RCTAccessibilityManager上的构建代码。m:error:使用未声明的标识符';JSCategory';,jenkins,react-native,Jenkins,React Native,我正在尝试在jenkins服务器上构建Unity+React应用程序。我在Jenkins服务器上使用CoCoapod。我正在将pod文件复制到src/Unity目录并运行'pod install' 我的播客文件如下: platform :ios, "7.0" pod 'React' pod 'React/Core' pod 'React/RCTText' pod 'React/RCTNetwork' pod 'React/RCTWebSocket' pod 'React/RCTImage' po

我正在尝试在jenkins服务器上构建Unity+React应用程序。我在Jenkins服务器上使用CoCoapod。我正在将pod文件复制到src/Unity目录并运行'pod install'

我的播客文件如下:

platform :ios, "7.0"
pod 'React'
pod 'React/Core'
pod 'React/RCTText'
pod 'React/RCTNetwork'
pod 'React/RCTWebSocket'
pod 'React/RCTImage'
pod 'React/RCTLinkingIOS'
pod 'React/RCTAdSupport'
pod 'React/RCTSettings'
pod 'React/RCTActionSheet'
pod 'React/ART'
xcodebuild build -workspace AppName.xcworkspace -scheme Pods -  configuration Release ARCHS="armv7 arm64" -sdk iphoneos CONFIGURATION_BUILD_DIR=bin/iPhone/Release
我的生成命令如下所示:

platform :ios, "7.0"
pod 'React'
pod 'React/Core'
pod 'React/RCTText'
pod 'React/RCTNetwork'
pod 'React/RCTWebSocket'
pod 'React/RCTImage'
pod 'React/RCTLinkingIOS'
pod 'React/RCTAdSupport'
pod 'React/RCTSettings'
pod 'React/RCTActionSheet'
pod 'React/ART'
xcodebuild build -workspace AppName.xcworkspace -scheme Pods -  configuration Release ARCHS="armv7 arm64" -sdk iphoneos CONFIGURATION_BUILD_DIR=bin/iPhone/Release
生成步骤显示以下错误:

/Users/sprocket/workspace/BarnStormer-iOS-Experimental/bin/app/game/build/iphone/src/Pods/React/React/Modules/RCTAccessibilityManager.m:133:28: error: expected ';' in 'for' statement specifier
02:38:16         for (NSString *__nonnull JSCategory in JSMultipliers) { 
02:38:16       /Users/sprocket/workspace/BarnStormer-iOS-Experimental/bin/app/game/build/iphone/src/Pods/React/React/Modules/RCTAccessibilityManager.m:133:28: error: use of undeclared identifier 'JSCategory'
02:38:16       /Users/sprocket/workspace/BarnStormer-iOS-Experimental/bin/app/game/build/iphone/src/Pods/React/React/Modules/RCTAccessibilityManager.m:134:33: error: use of undeclared identifier 'JSCategory'
02:38:16           NSNumber *m = JSMultipliers[JSCategory];
02:38:16                                       ^
02:38:16       /Users/sprocket/workspace/BarnStormer-iOS-Experimental/bin/app/game/build/iphone/src/Pods/React/React/Modules/RCTAccessibilityManager.m:135:71: error: use of undeclared identifier 'JSCategory'
02:38:16           NSString *UIKitCategory = [self.class UIKitCategoryFromJSCategory:JSCategory];
JSCategory似乎是React核心的一部分,我仍然得到这个错误。感谢您的帮助