SlideShare a Scribd company logo
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 files,
image files, localized strings, header files, and
reference documentation in a single package.”
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
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
Dark side of Xcode: iOS Framework
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.
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 trickery with fake bundle targets
• Works with the latest version of Xcode (5.1)
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.
The future?
CocoaPods…?
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
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
Thanks
&
the Native Side of the
Force Be With You
Alessio Roberto aka @darthpelo

More Related Content

PDF
Start-up of You, Visual Summary
PPTX
C++ shared libraries and loading
PPT
Introduction to libraries in india and china
PDF
Fantastic four machine_learning_java_libraries
PDF
Asymmetry of phoenix contexts
PPTX
Low level programming: C libraries
PPTX
javaScriptLibrariesFrameworks.pptx
PDF
Final copyofopensourcesites softwareandpresentationoutlineforslideshowfinal5-...
Start-up of You, Visual Summary
C++ shared libraries and loading
Introduction to libraries in india and china
Fantastic four machine_learning_java_libraries
Asymmetry of phoenix contexts
Low level programming: C libraries
javaScriptLibrariesFrameworks.pptx
Final copyofopensourcesites softwareandpresentationoutlineforslideshowfinal5-...

Similar to Dark side of Xcode: iOS Framework (20)

PDF
Copyofopensourcesites softwareandpresentationoutlineforslideshowfinal5-10-12
PPTX
Top 10 Libraries of Java.pptx
PDF
Third party libraries and OSGi - a complicated relationship
PPTX
Lecture semantic dataaccess_presentation
PPT
UMBEL: Subject Concepts Layer for the Web
PPT
Tldr solr-courseload
PPTX
Scala and its Ecosystem
PPT
Eclipse Memory Analyzer - More Than Just a Heap Walker
PPT
Eclipse Memory Analyzer
PPTX
OA - Shared Canvas - TEI - Biblissima project
PPTX
Comet project
PDF
Difference between a library and a framework
DOC
Jasper report dependencies [by sc]
PPTX
Sviluppare applicazioni nell'era dei "Big Data" con Scala e Spark - Mario Car...
PPTX
Strategies and Tools for Model Reuse with Capella
PPT
Of Cataloging & Context
PPTX
java oops and java very important for .pptx
PPTX
java oops compilation object class inheritance.pptx
PDF
Automating the Generation of Benchmark Suites
PDF
Catmandu / LibreCat Project
Copyofopensourcesites softwareandpresentationoutlineforslideshowfinal5-10-12
Top 10 Libraries of Java.pptx
Third party libraries and OSGi - a complicated relationship
Lecture semantic dataaccess_presentation
UMBEL: Subject Concepts Layer for the Web
Tldr solr-courseload
Scala and its Ecosystem
Eclipse Memory Analyzer - More Than Just a Heap Walker
Eclipse Memory Analyzer
OA - Shared Canvas - TEI - Biblissima project
Comet project
Difference between a library and a framework
Jasper report dependencies [by sc]
Sviluppare applicazioni nell'era dei "Big Data" con Scala e Spark - Mario Car...
Strategies and Tools for Model Reuse with Capella
Of Cataloging & Context
java oops and java very important for .pptx
java oops compilation object class inheritance.pptx
Automating the Generation of Benchmark Suites
Catmandu / LibreCat Project
Ad

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
Teaching material agriculture food technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Cloud computing and distributed systems.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Electronic commerce courselecture one. Pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Approach and Philosophy of On baking technology
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Teaching material agriculture food technology
Programs and apps: productivity, graphics, security and other tools
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Unlocking AI with Model Context Protocol (MCP)
Mobile App Security Testing_ A Comprehensive Guide.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Per capita expenditure prediction using model stacking based on satellite ima...
Cloud computing and distributed systems.
MYSQL Presentation for SQL database connectivity
Electronic commerce courselecture one. Pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine learning based COVID-19 study performance prediction
20250228 LYD VKU AI Blended-Learning.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Ad

Dark side of Xcode: iOS Framework