Successfully reported this slideshow.
Dark side of Xcode:
framework
A “Rebel” solution against the rigidity of Apple (maybe).
Library Vs Framework
“… a hierarchical directory that encapsulates shared
resources, such as a dynamic shared library, nib...
Framework: the only way to
distribute (easily) a static
library with resources
https://developer.apple.com/library/ios/tec...
Apple disallowing dynamically
linked libraries in iOS and also
removed iOS framework template
in Xcode
An open source solution:
iOS Universal Framework
An Xcode project template
Embedded Universal Framework
“Stable” version: M7
Remember to refactoring of open source libraries or sources in your fram...
A good solution, before
Xcode 5.1…
A new open source
way: iOS-Framework
How to create, develop, and distribute iOS Static
Frameworks quickly and efficiently
iOS-Framework
• Fast iterative compilation times
• Easy distribution and packaging
• No modifications to Xcode
• No tricker...
How to debug?
The only way is to use a project that implement the framework,
cause a crash in the project and then put bra...
The future?
CocoaPods…?
Links
https://github.com/kstenerud/iOS-Universal-Framework
https://github.com/kstenerud/iOS-Universal-Framework/
issues/3
...
Links
http://stackoverflow.com/questions/22323039/arm64-
architecture-in-xcode-5-1
http://stackoverflow.com/questions/223415...
Thanks
&
the Native Side of the
Force Be With You
Alessio Roberto aka @darthpelo
Dark side of Xcode: iOS Framework
Upcoming SlideShare
Loading in …5
×

Dark side of Xcode: iOS Framework

1,038 views

Published on

A brief history of the framework for iOS and practical advice on how to create your own native framework for iOS. My talk during Appsterdam TalkLab 03/20/2014

Published in: Technology
  • Be the first to comment

Dark side of Xcode: iOS Framework

  1. 1. Dark side of Xcode: framework A “Rebel” solution against the rigidity of Apple (maybe).
  2. 2. Library Vs Framework “… a hierarchical directory that encapsulates shared resources, such as a dynamic shared library, nib files, image files, localized strings, header files, and reference documentation in a single package.”
  3. 3. Framework: the only way to distribute (easily) a static library with resources https://developer.apple.com/library/ios/technotes/iOSStaticLibraries/ Introduction.html#//apple_ref/doc/uid/TP40012554-CH1-SW1 https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPFrameworks/ Frameworks.html
  4. 4. Apple disallowing dynamically linked libraries in iOS and also removed iOS framework template in Xcode
  5. 5. An open source solution: iOS Universal Framework An Xcode project template
  6. 6. Embedded Universal Framework “Stable” version: M7 Remember to refactoring of open source libraries or sources in your framework to avoid conflicts with third-part applications.
  7. 7. A good solution, before Xcode 5.1…
  8. 8. A new open source way: iOS-Framework How to create, develop, and distribute iOS Static Frameworks quickly and efficiently
  9. 9. iOS-Framework • Fast iterative compilation times • Easy distribution and packaging • No modifications to Xcode • No trickery with fake bundle targets • Works with the latest version of Xcode (5.1)
  10. 10. How to debug? The only way is to use a project that implement the framework, cause a crash in the project and then put brake points. To debug the framework you need to use it in other application, but break points in the framework code, dosen’t work.
  11. 11. The future? CocoaPods…?
  12. 12. Links https://github.com/kstenerud/iOS-Universal-Framework https://github.com/kstenerud/iOS-Universal-Framework/ issues/3 https://github.com/kstenerud/iOS-Universal-Framework/ issues/65
  13. 13. Links http://stackoverflow.com/questions/22323039/arm64- architecture-in-xcode-5-1 http://stackoverflow.com/questions/22341511/how-to-link-with- framework-without-arm64-support-in-xcode-5-1?lq=1 https://github.com/jverkoey/iOS-Framework
  14. 14. Thanks & the Native Side of the Force Be With You Alessio Roberto aka @darthpelo

×