开发者

A problem when add Library in Xcode

开发者 https://www.devze.com 2023-01-12 03:24 出处:网络
i try to add ZipArchive folder that contain source code, then drag and drop to my project when i try to in开发者_StackOverflow社区clude

i try to add ZipArchive folder that contain source code, then drag and drop to my project

when i try to in开发者_StackOverflow社区clude

#import "ZipArchive/ZipArchive.h"

why it report error: ZipArchive/ZipArchive.h: No such file or directory

if i import

#import "ZipArchive.h"

it will work, what is my fault?


When you add a folder to your project, it will ask you to add a folder reference or a group. If you add a group, everything will be put at the top level of your application bundle. But if you use a folder reference, it will actually be in the folder, and you can use ZipArchive/ZipArchive.h.

A problem when add Library in Xcode

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号