What is an easy way to manage the source files that are used for different Xcode projects?

I'm immersed in iOS development, and I plan to create some basic applications that use my own reusable code. When I update files containing my reusable code, I would like these updates to appear in all Xcode projects that use them. How can I do this?

Thanks in advance for your help!

+3
source share
5 answers

It sounds like something you could use git and branch for.

+1
source

There are several ways to do this.

" " , ( ), ( ). , "" . ( , Visual/Solution , .)

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

.

- " " - ( ), , " ". : , - , , , .

+4

, Xcode,

+1

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

0

. iOS , - (, OS X).

( libStatic ):

1) libStatic

2) libStatic.xcodeproj App.xcodeproj. , .

( App.xcodeproj)

3) , liStatic

4)

5) "+" libStatic . /, libStatic ​​ ( ).

6) libStatic . , () , libStatic.

7) libStatic .

8) , ,

0

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


All Articles