Skip to content

Commit 6933ae5

Browse files
committed
Update 2014-12-25-Pod-Authors-Guide-to-CocoaPods-Frameworks.markdown
Thanks to @neonacho & @getaroon.
1 parent 2728965 commit 6933ae5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

_posts/2014-12-25-Pod-Authors-Guide-to-CocoaPods-Frameworks.markdown

+19
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,25 @@ We have seen this error a few times during development.
197197
An error like above can appear, if you develop a framework in Xcode, and you alter header visibility to fix build problems like described previously and try to ensure a clean build state by executing the Clean action (**⌘+
198198
⇧+K** in Xcode). In this situation, it can be helpful to nuke the products build directory (alas `DerivedData`) manually from the file system.
199199
200+
201+
## Availability
202+
203+
CocoaPods only supports Swift on OS X 10.9 and newer, and iOS 8 and newer.
204+
205+
Here's why:
206+
207+
- Swift is supported on OS X 10.9 / iOS 7 and newer, as stated by Apple numerous times.
208+
- There is [no support for building static archives with Swift](http://openradar.appspot.com/radar?id=5536341827780608).
209+
- Dynamic frameworks are supported on all versions of OS X.
210+
- Dynamic frameworks are unsupported on iOS versions prior to 8:
211+
212+
> ld: warning: embedded dylibs/frameworks only run on iOS 8 or later.
213+
214+
From this we can conclude that it is **not possible** to support Swift on any platforms earlier than OS X 10.9 and iOS 8.
215+
216+
To use Swift libraries on apps that support iOS 7, you must manually copy the files into your application project.
217+
218+
200219
## Updating
201220
202221
To install the latest Beta of CocoaPods you can run:

0 commit comments

Comments
 (0)