When do I need to check "Copy items if necessary" for embedded binaries?

enter image description hereWhen I tried to put a third-party framework (installed by Carthage) in the embedded binaries, I got this opportunity. I am confused because "embedded binaries are binaries that are copied to your application package when building the project", this is a copy, not a link, why do I need a copy of this copy?

+6
source share
3 answers

" " . , ( ). "", , , , , , .

+10

, . , , . , , , , , , , .

, :

  • , ,
  • , .

: , XCode , .

+1

Copy items if neededusually (but not always, for example, the project already contains this element) copies files to the directory of your project, as a result you can safely use relative path(instead of the absolute one). For example, when you use any version control, your team members will not have problems resolving path problems

In the case of a third-party framework, you can use $(PROJECT_DIR)inBuild Settings -> Framework Search Paths

Create Groups vs. Create Folder Link

0
source

Source: https://habr.com/ru/post/1648170/


All Articles