-
Notifications
You must be signed in to change notification settings - Fork 748
Open
Labels
buga bug in one of the componentsa bug in one of the components
Description
Description
just build using xcode for ios. the xcode tell that
/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m:152:5: Use of undeclared identifier 'RCTAppDelegate'
/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m:152:21: Use of undeclared identifier 'appDelegate'
/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m:152:51: Expected expression
/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m:152:36: Use of undeclared identifier 'RCTAppDelegate'
/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m:152:53: Missing '[' at start of message send expression
/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m:152:94: Expected ']'
/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m:153:19: Use of undeclared identifier 'appDelegate'
Steps to reproduce
just build using xcode
More Info
I think we need to add s.dependency 'React-RCTAppDelegate' into the pod file . like below
Code snippet
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'lib/package.json')))
Pod::Spec.new do |s|
s.name = "ReactNativeUiLib"
s.version = package['version']
s.summary = "React Native UI Library"
s.authors = "Wix.com"
s.homepage = package['homepage']
s.license = package['license']
s.platforms = { :ios => "9.0", :tvos => "9.2" }
s.module_name = 'ReactNativeUiLib'
s.source = { :git => "https://github.com/wix/react-native-ui-lib.git", :tag => "#{s.version}" }
s.source_files = "lib/ios/**/*.{h,m}"
s.dependency 'React'
s.dependency 'React-RCTAppDelegate'
s.frameworks = 'UIKit'
end
Environment
- React Native version: 0.81.5
- React Native UI Lib version: 8.0.0
Affected platforms
- Android
- iOS
- Web
Metadata
Metadata
Assignees
Labels
buga bug in one of the componentsa bug in one of the components