Xcode 6 embedded binaries

We are creating an iOS 8 application on Xcode 6.1, which has the following project structure -

  • UI (Git Repo 1)
  • Framework (Git Repo 2)

Git Repo 2 is added as a submodule to Git Repo 1. The framework project is listed as "Embedded Binary File" as part of the user interface project. We have a couple of problems with this -

  • The embedded binary path refers to the developer's machine, and each developer must update the path after pulling the latest code from the repo.
    • If the above path is machine specific, how can we create Jenkins code?

Is there a better approach to handle the above situation?

+5
source share
1 answer

If you determine that embedded binaries are building products, it doesn't matter what the dev directory structures look like. This allows you to use Jenkins as you wish.

For one of the projects I'm working on, we use the workspace against subprojects, since our different libraries are different from git repos than the application itself.

Although this is for quick reference, this link describes the use of Relative To Build Products a bit.

Swift iOS module not deploying in expected debug directory

+4
source

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


All Articles