uts插件[uni-usercapturescreen]编译失败
14:16:49.163 error: uni_modules/uni-usercapturescreen/utssdk/app-ios/src/index.swift:16:20: error: 找不到名称“utsSubscriptGetValue”。
14:16:49.163 error: uni_modules/uni-usercapturescreen/utssdk/app-ios/src/index.swift:21:38: error: cannot find 'utsSubscriptCheckValueIfPresent' in scope
14:16:49.163 error: value of type 'UTSJSONObject' has no subscripts
14:16:49.163 at uni_modules/uni-usercapturescreen/utssdk/interface.uts:8:2
14:16:49.163 6 | 截屏文件路径(仅Android返回)
14:16:49.163 7 | /
14:16:49.163 8 | path ?: string
14:16:49.163 | ^
14:16:49.163 9 | }
14:16:49.163 10 |
14:16:49.163 error: uni_modules/uni-usercapturescreen/utssdk/app-ios/src/index.swift:45:20: error: cannot find 'utsSubscriptGetValue' in scope
14:16:49.163 error: uni_modules/uni-usercapturescreen/utssdk/app-ios/src/index.swift:74:20: error: cannot find 'utsSubscriptGetValue' in scope
14:16:49.163 error: uni_modules/uni-usercapturescreen/utssdk/app-ios/src/index.swift:79:40: error: cannot find 'utsSubscriptCheckValue' in scope
14:16:49.163 error: uni_modules/uni-usercapturescreen/utssdk/app-ios/src/index.swift:81:41: error: cannot find 'utsSubscriptCheckValueIfPresent' in scope
14:16:49.163 error: uni_modules/uni-usercapturescreen/utssdk/app-ios/src/index.swift:83:38: error: cannot find 'utsSubscriptCheckValueIfPresent' in scope
14:16:49.163 error: uni_modules/uni-usercapturescreen/utssdk/app-ios/src/index.swift:85:42: error: cannot find 'utsSubscriptCheckValueIfPresent' in scope
14:16:49.163 error: value of type 'UTSJSONObject' has no subscripts
14:16:49.163 at uni_modules/uni-usercapturescreen/utssdk/interface.uts:50:2
9***@qq.com
- 发布:2026-10-22 14:21
- 更新:2026-10-22 14:21
- 阅读:47
0 个回复