Permalink
Browse files

Update readme with steps you need to understand to use this template

  • Loading branch information...
1 parent 8dc28c0 commit 590ee594e3f70edb549bf9717efbb09133108f63 Johannes Schriewer committed Nov 19, 2012
Showing with 13 additions and 1 deletion.
  1. +13 −1 README.md
View
@@ -3,13 +3,25 @@ Project and Static Library template that can be built in Xcode as one Project or
# Building
Just open the `ProjectUsingLibrary` project and click build
+## Required for building
+1. Library as a Subproject
+2. Dependency of Library Subproject in Project
+3. Header search path in Project has to include Subproject
+4. Link to Library `*.a` files in Project
+
# Releasing
Open a terminal, change to the `StaticLibrary` Folder and run `build.sh` it will create a static library for iOS and the Simulator and merge them together into a universal library.
All output will be dropped to `StaticLibrary/lib` (Universal static library and header files in subdir `include`)
+## Required for linking
+1. Drop Distribution package of Library into Project
+2. Header search path in Project has to include provided headers
+3. Link to Library `*.a` files in Project
+
# Modification
If you want to add files to the library do not open the library project directly, use the project that uses the library and expand the subproject.
You'll have to setup header file copying in the build phases tab of the library project.
-Beware: If the library project is open for itself in another instance of Xcode it will not build or expand when included as subproject (Xcode locks the project if open and disallows parallel use!)
+Beware: If the library project is open for itself in another instance of Xcode it will not build or expand when included as subproject (Xcode locks the project if open and disallows parallel use!)
+

0 comments on commit 590ee59

Please sign in to comment.