When to check “Copy items if needed” for embedded binaries?

后端 未结 3 590
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-11 20:02

When I tried to put a third-party framework(installed by carthage) in the embedded binaries, I got such an option. I got confused, since \"Embedded binaries are binary files

3条回答
  •  迷失自我
    2021-01-11 20:09

    Copy items if needed usually (but not always, e.g. the project already contains this item) copies files into your project directory as a result you can use relative path(instead of absolute) safely. For example when you use some version control your team members will not have some troubles with solving issues with paths

    In case of third-party framework you can use $(PROJECT_DIR) in Build Settings -> Framework Search Paths

    [Create groups vs Create folder reference]

提交回复
热议问题