💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
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)