Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Add a guide for making Podspecs for closed source Obj-C projects (Fra…
Browse files Browse the repository at this point in the history
…meworks, Libraries, Bundles)
  • Loading branch information
MaxGabriel committed Apr 28, 2013
1 parent b3d8c7a commit abfb85b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
22 changes: 22 additions & 0 deletions source/guides/closed_source_pods.html.md
@@ -0,0 +1,22 @@
## Making a Podspec for a closed source projects

If your company releases a closed source library for iOS or OS X, you can still create a Podspec for them using the standard Podspec DSL.

### Bundles

Bundles are handled like any other resource:

s.resource = 'BundleName.bundle'

### Frameworks

s.frameworks = 'FrameworkName'
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/FrameworkName"' }
s.preserve_paths = 'FrameworkName.framework'
s.source_files = 'FrameworkName.framework/Headers/*.{h}'

### Libraries

s.library = 'LibraryName'
s.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '$(PODS_ROOT)/LibraryName' }
s.preserve_paths = 'LibraryName.a'
2 changes: 2 additions & 0 deletions source/guides/index.html.slim
Expand Up @@ -22,6 +22,8 @@ title: Guides
== link_to 'Integrating a project', "integrating_a_project.html"
p
== link_to 'Dependency versioning', "dependency_versioning.html"
p
== link_to 'Podspecs for Closed Source Libraries', "closed_source_pods.html"

h3 Intermediate
p
Expand Down
2 changes: 1 addition & 1 deletion source/typeahead.json

Large diffs are not rendered by default.

0 comments on commit abfb85b

Please sign in to comment.