Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.
/ Weakness Public archive

Demonstrates using a dynamic framework with iOS 7

Notifications You must be signed in to change notification settings

quellish/Weakness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Weakness Demonstrates loading a dynamic framework on iOS 7.

##Dynamic Framework loading on iOS < 8

Apple recently introduced dynamic frameworks to iOS and the Xcode tool set. Dynamic frameworks have long been a vital part of developing for MacOS, but Xcode did not support building them for iOS. Static frameworks have always been possible, but Xcode's support for them has been limited and cumbersome. Until recently, Xcode could not build dynamic frameworks for deployment on iOS.

Publically, dynamic frameworks are only supported on iOS 8 and later. Fortunately dynamic frameworks can be loaded by applications and used on earlier versions of iOS. If you have avoided using dynamic frameworks because you need to deploy on iOS 7, there is hope.

Doing so is fairly straightforward. The application must weak link against the framework. To do so, in your application target's "Link Binary With Libraries" Build Phase, designate the framework as "Optional". This will weakly link against the framework.

Once you have done so, you must follow the established guidelines for using weakly linked bundle resources, classes and symbols.

From: Dynamic Frameworks on iOS 7

About

Demonstrates using a dynamic framework with iOS 7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published