macos - auval:错误:类数据没有必填字段:== 组件类型
问题描述
尝试在 macOS 上编写 AUv3。我收到以下错误auval
:
VERIFYING CLASS INFO
ERROR: Class Data does not have required field:<type> == componentType
似乎某种元数据配置错误。
这是什么意思?
解决方案
这种解决方法对我有用:
- (NSDictionary<NSString *, id> *)getFullState {
NSDictionary* pluginState = [data.controller getState];
NSDictionary* superState = [super fullState];
NSMutableDictionary* stateRes = [NSMutableDictionary dictionaryWithDictionary:pluginState];
[stateRes addEntriesFromDictionary:superState];
return stateRes;
}
推荐阅读
- json - Angular,如何订阅嵌套的 JSON 对象?
- odata - 如何将 $filter 添加到 XML 中的 OData 聚合绑定
- javascript - 如何重用一个组件确实在多个组件之间挂载了等效的钩子
- xml - XSL 将 XML 转换为更小的 XML
- node.js - 使用 NodeJS/Puppeteer 下载多个图像
- python - 为什么在尝试计算具有较大初始值的值时总是出现溢出错误?
- python - 使用 Cmake 配置暗网时出错
- linux - “中断处理程序的中断服务程序”是什么意思?
- javascript - 在 Vue App 中使用动态目录的 webpack require.context() 的解决方法
- sas - 使用 sas proc sql 从库中选择第 n 个数据集