代码之家  ›  专栏  ›  技术社区  ›  Hans

Delphi SDKtransform:macossdk中的许多错误和缺少的类

  •  0
  • Hans  · 技术社区  · 4 年前

    我用过 SDKtransform 多年来(通过执行) SDK Transform Assistant )来实现Delphi中未包含的iOS和OSX框架。

    但是,越来越多的类无法转换,并且没有包含在output.pas头文件中。现在我需要转换 AVAudioEngine AVFoundation 在MacOS 11(Big Sur)中,但是SDKtransform失败,日志中添加了许多这样的行:

    "WARN: cannot add ObjCInterface AVAudioEngine - base class unknown"
    

    API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
    @interface AVAudioEngine : NSObject {
    @private
        void *_impl;
    }
    - (instancetype)init;
    - (void)attachNode:(AVAudioNode *)node;
    - (void)detachNode:(AVAudioNode *)node;
    ...
    @property (readonly, nonatomic) BOOL isInManualRenderingMode API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0));
    ...
    @end // AVAudioEngine
    

    如何自动转换这种类型的标题定义?

    0 回复  |  直到 4 年前