Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

问题求助 #5

Open
JesseZhu opened this issue Jun 6, 2018 · 4 comments
Open

问题求助 #5

JesseZhu opened this issue Jun 6, 2018 · 4 comments

Comments

@JesseZhu
Copy link

JesseZhu commented Jun 6, 2018

你给的Demo跑了下 能生成代码,但是编译报错了
"OBJC_CLASS$_STC8D66EE30C77FC994D030F531F686D1CD", referenced from:
objc-class-ref in AppDelegate.o

是由于 混淆后
#ifndef AFHTTPSessionManager
#define AFHTTPSessionManager STC8D66EE30C77FC994D030F531F686D1CD
#endif
找不到对应的类,这种问是要把类名也要搞成“_STC8D66......” 吗?

@chenxiancai
Copy link
Owner

@JesseZhu 没报错啊,你是不是哪里没配置好,有详细教程!

@JesseZhu
Copy link
Author

JesseZhu commented Jun 7, 2018

谢谢,找到原因了,原来是pod里面的三方库的PCH文件也做了相应修改。

@Wuou
Copy link

Wuou commented Jun 8, 2018

怎么解决的啊?

@chenxiancai
Copy link
Owner

@Wuou 按照博客的流程操作,pod的pch也会加入混淆头文件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants