Skip to content

Instantly share code, notes, and snippets.

@neonichu
Created January 19, 2015 21:36
Show Gist options
  • Save neonichu/acd533ab9fcce4cf3a1b to your computer and use it in GitHub Desktop.
Save neonichu/acd533ab9fcce4cf3a1b to your computer and use it in GitHub Desktop.
OS support for Pods written in Swift

A common question regarding CocoaPods and Swift is which OS versions are supported.

  • Swift is supported on OS X 10.9 / iOS 7 and newer, as stated by Apple numerous times.
  • There is no support for building static archives with Swift (see http://openradar.appspot.com/radar?id=5536341827780608).
  • Dynamic frameworks are supported on all versions of OS X.
  • Dynamic frameworks are unsupported on iOS versions prior to 8:

ld: warning: embedded dylibs/frameworks only run on iOS 8 or later.

From this we can conclude that it is not possible to support Swift on any other platforms than OS X 10.9/10.10 and iOS 8.

@orta
Copy link

orta commented Jan 19, 2015

efficient, works for me.

@getaaron
Copy link

I made a few minor formatting changes, and added suggested clarifying opening and closing sentences in https://gist.github.com/getaaron/73a3a5eb776613681389.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment