ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
1) 将所需美狐SDK资源文件导入项目中;(Import the required Meihu SDK resource files into the project;) 2) 在 info.plist 文件中配置允许网络安全传输:添加App Transport Security Settings,设置为字典类型,添加key“Allow Arbitrary Loads”值设置为YES(In info Configure allow network security transmission in plist file: add “App Transport Security Settings”, set it to dictionary type, add key "allow arbitrary loads" and set it to YES) ![](https://img.kancloud.cn/27/b6/27b682fa29005e65350162bcd196e623_988x82.png) 3) 将 server.cer 证书 添加到项目中,并保证在 Build Phases —>Copy Bundle Resources 里已经添加,如果没有的话则点 击+号进行添加。(Set server.cer certificate is added to the project and guaranteed in build phases - > copy bundle resources has been added. If not, click the + sign to add.) 4) TARGETS-General-Frameworks,Libraries,and Embedded Content,FaceLandMark.framework改为 Embed & Sign,如图所示: (TARGETS-General-Frameworks,Libraries,and Embedded Content,FaceLandMark.framework set Embed & Sign,like:) ![](https://img.kancloud.cn/c2/0f/c20fcd1656fb643416f87bd9517c01ef_1252x580.png)