gpt4 book ai didi

ios - libBlocksKit.a 中无法识别的选择器

转载 作者:行者123 更新时间:2023-11-28 22:36:11 25 4
gpt4 key购买 nike

如果我在我的项目中使用 UIActionSheet+BlocksKit.h 类别文件中的操作表函数,那么它将崩溃(例如:+[UIActionsheet actionSheetWithTitle:] 无法识别的选择器)。 libBlockKit.a 库中的 UIActionSheet+BlocksKit.h。我正在使用 this lib请帮助我。

最佳答案

在build设置中将 -ObjC 添加到 Other Linker Flags (OTHER_LDFLAGS)。

参见 http://developer.apple.com/library/mac/#qa/qa1490/_index.html

关于ios - libBlocksKit.a 中无法识别的选择器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15925645/

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