未知参数类型' _bool' eazureblobstoragefile和异常' *** - [__ nsarraym objectatexedSubscript:]

发布于 2025-02-12 05:17:53 字数 470 浏览 0 评论 0原文

错误的错误参数类型“ _bool”中的错误

- [eazureblobStoragefile配置:键:容器:token:]。扩展RCTConvert以支持此类型。

Exception '*** -[__NSArrayM objectAtIndexedSubscript:]: index 3 beyond bounds [0 .. 2]' was thrown while invoking configure on target EAzureBlobStorageFile with params

and the fix of adding RCTReadString(input, "__attribute__((__unused__ ))” ||不适用,因为它已经在版本上进行了纠正我正在使用的,即IM在iOS上工作,顺便说一句

“反应态”:“ 0.66.4”

“反应 - 启用启动式螺旋存储”:“^2.0.3”,

The errors

Unknown argument type '_Bool' in method -[EAzureBlobStorageFile configure:key:container:token:]. Extend RCTConvert to support this type.

Exception '*** -[__NSArrayM objectAtIndexedSubscript:]: index 3 beyond bounds [0 .. 2]' was thrown while invoking configure on target EAzureBlobStorageFile with params

and the fix of adding RCTReadString(input, "__attribute__((__unused__))") || does not apply as it was already corrected on the version im using, im working on iOS by the way

"react-native": "0.66.4"

"react-native-azure-blob-storage": "^2.0.3",

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

流年里的时光 2025-02-19 05:17:53

您可以遵循解决上述问题的解决方案之一;

代码: -

 静态bool rctparseunused(const char **输入)
{
  返回rctreadstring(输入,“ __attribute __(((未使用)))”)||
         rctreadstring(输入,“ __attribute __(((__ unused__)))” ||
         rctreadstring(输入,“ __unused”);
}
 

有关更多信息,请参阅以下链接: -

One of the workaround you can follow to resolve the above issue;

Code:-

static BOOL RCTParseUnused(const char **input)
{
  return RCTReadString(input, "__attribute__((unused))") ||
         RCTReadString(input, "__attribute__((__unused__))") ||
         RCTReadString(input, "__unused");
}

For more information please refer the below links:-

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文