美文网首页
-Swift.h' file not found

-Swift.h' file not found

作者: 青椒辣不辣 | 来源:发表于2020-04-01 17:46 被阅读0次

当你修改了Display Name 值变为 APP名字

-               PRODUCT_NAME = "$(TARGET_NAME)";
+               PRODUCT_NAME = "APP名字";

方法一

把原来的改掉即可

#import "APP名字-Swift.h"
image.png image.png

方法二

$(SWIFT_MODULE_NAME)-Swift.h

把此处的引用值改为你想要的固定值 ,这样就不用改来改去了, 随便你的Display Name 变化
比如 把上述值改为

swiftheader-Swift.h

使用时

#import "swiftheader-Swift.h"

即可

相关文章

网友评论

      本文标题:-Swift.h' file not found

      本文链接:https://www.haomeiwen.com/subject/hkiauhtx.html