gpt4 book ai didi

ios - 如何读取 Classes 文件夹中的 Header 以在我自己的 cocoapods 中使用?

转载 作者:行者123 更新时间:2023-11-30 12:26:31 26 4
gpt4 key购买 nike

我制作了 Say 类以便在 Cocoapods 中使用,该类需要这样的标题:
enter image description here

还有我的 header.h:

#import <CommonCrypto/CommonCryptor.h>
#import <CommonCrypto/CommonDigest.h>
#import <CommonCrypto/CommonHMAC.h>

但是说类没有读取 Header.h
如何解决这个问题并将其添加到 Objective-C 桥接 header ?

最佳答案

请使用如下命名在您的项目中添加桥接 header 类

<#YourProjectName>-Bridging-Header.h

在此导入项目文件中所需的所有框架头文件类。

关于ios - 如何读取 Classes 文件夹中的 Header 以在我自己的 cocoapods 中使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44128638/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com