8.0 ios build issue
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- objective-c, react-native
- 领域
- build-system, mobile
调研方向
使用 React Native 0.81.5 和 React Native UI Lib 8.0.0 复现 iOS 构建,然后检查 lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m 的第 152-153 行附近。检查 issue 中显示的 podspec 依赖项,并验证 Xcode 构建是否能够在没有 RCTAppDelegate 错误的情况下完成。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- TypeScript
- 星标
- 7.2k
- 派生
- 749
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wix/react-native-ui-lib 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
wix/react-native-ui-lib#4022 ·
维护者通常 1 天内回复
-
SortableGridList does not forward props to its inner ScrollView (inconsistent with SortableList)可能已有人在做 @yinminqian 于 177 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
wix/react-native-ui-lib#4002 ·
维护者通常 1 天内回复
-
RN 0.85.0 StyleSheet.absoluteFillObject is removed可能已有人在做 @ChrisJamesC 于 84 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
wix/react-native-ui-lib#3965 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
asBaseComponent: stale module-level colorScheme prevents re-render on scheme switch back可能已有人在做 @huytdps13400 于 38 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 85/100
wix/react-native-ui-lib#3945 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 35/100
wix/react-native-ui-lib#4044 · 1 条评论 ·
维护者通常 1 天内回复
查看 wix/react-native-ui-lib 的全部 Issue
相似的 Issue
-
account bug communication lecture
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area:tui bug platform:macos
难度 2/5 1-3 小时 新手友好度 68/100
anthropics/claude-code#109005 ·
-
难度 2/5 1-3 小时 新手友好度 87/100
openedx/end-to-end-tests#196 ·
维护者通常 1 天内回复
-
area:tooling good first issue
难度 2/5 1-3 小时 新手友好度 68/100
interledger/publisher-tools#1007 ·
维护者通常 1 天内回复
-
priority/medium roadmap/v1.1.1 stakeholder/rapr type/bug
难度 2/5 1-3 小时 新手友好度 83/100
databrickslabs/ontos#1420 ·
维护者通常 3 天内回复