ref: 40dd7156a709ac0989b1f7cae35a1ddf5c3659d2
parent: e635771c5cd7496e0ec197b8c62ba4f134703469
author: Paul Brossier <piem@piem.org>
date: Fri Aug 26 11:36:29 EDT 2016
doc/xcode_frameworks.rst: added page on xcode frameworks
--- /dev/null
+++ b/doc/xcode_frameworks.rst
@@ -1,0 +1,41 @@
+.. _xcode-frameworks-label:
+
+Using aubio frameworks in Xcode
+-------------------------------
+
+`Binary frameworks`_ are available and ready to use in your XCode project, for
+`iOS`_ and `macOS`_.
+
+#. Download the ``framework.zip`` file from the `Download`_ page.
+
+#. Select 'Build Phases' in your project settings
+
+#. Unfold the 'Link Binary with Libraries' list, and add 'AudioToolbox and
+ Accelerate frameworks
+
+#. Also add ``aubio.framework`` from https://aubio.org/download.
+
+#. Include the aubio header in your code:
+
+ * in C/C++:
+
+ .. code-block:: c
+
+ #include <aubio/aubio.h>
+
+ * in Obj-C:
+
+ .. code-block:: obj-c
+
+ #import <aubio/aubio.h>
+
+ * in Swift:
+
+ .. code-block:: swift
+
+ import aubio
+
+.. _Binary frameworks: https://aubio.org/download
+.. _iOS: https://aubio.org/download#ios
+.. _macOS: https://aubio.org/download#osx
+.. _Download: https://aubio.org/download