ios - XCodeproj empty after cloning from Git -


i have swift project utilizes 2 libraries: sqlite , swiftcsv project. can found on: https://github.com/stephencelis/sqlite.swift , https://github.com/naoty/swiftcsv respectively. followed instructions on each respective github readme incorporate projects project works fine, when push project github , have teammate of mine clone project, swiftcsv , sqlite projects turn empty teammate has re-add them project. have been trying google different responses maybe looking wrong keywords. ideas on how fix this?

you should (and may be) adding above projects repo submodules (if not, read on them).

if used submodules, not automatically checked out when clone repository. can, however, use clone's --recursive flag ensure submodules checked out when first clones project:

git clone --recursive git@github.com:your/project.git 

if project has been cloned, 1 can check out submodules running following incantation within project directory:

git submodule update --init 

note: xcode smart letting check out submodules within xcode itself. check source control menu , see if sqlite.swift or swiftcsv show under working copies.

if merely downloaded projects , dragged them xcode project (rather use submodules, instructed above), they'll referencing directories outside of project. make sure move them project's directory before dragging them xcode project. if don't, projects appear red/unavailable on subsequent clones.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -