source: doc/xcode_frameworks.rst @ 1504b7c

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
Last change on this file since 1504b7c was 3438b42, checked in by Paul Brossier <piem@piem.org>, 8 years ago

dox/xcode_frameworks.rst: improve markup

  • Property mode set to 100644
File size: 943 bytes
RevLine 
[40dd715]1.. _xcode-frameworks-label:
2
3Using aubio frameworks in Xcode
4-------------------------------
5
6`Binary frameworks`_ are available and ready to use in your XCode project, for
7`iOS`_ and `macOS`_.
8
[3438b42]9#. Download and extract the corresponding ``framework.zip`` file from the `Download`_ page
[40dd715]10
[3438b42]11#. Select **Build Phases** in your project setting and unfold **Link Binary with Libraries**
[40dd715]12
[3438b42]13#. Add *AudioToolbox* and *Accelerate* system frameworks (or make sure they are listed)
[40dd715]14
[3438b42]15#. Add ``aubio.framework`` from the unzipped ``framework.zip``
[40dd715]16
17#. Include the aubio header in your code:
18
19  * in C/C++:
20
21  .. code-block:: c
22
23    #include <aubio/aubio.h>
24
25  * in Obj-C:
26
27  .. code-block:: obj-c
28
29    #import <aubio/aubio.h>
30
31  * in Swift:
32
33  .. code-block:: swift
34
35    import aubio
36
37.. _Binary frameworks: https://aubio.org/download
38.. _iOS: https://aubio.org/download#ios
39.. _macOS: https://aubio.org/download#osx
40.. _Download: https://aubio.org/download
Note: See TracBrowser for help on using the repository browser.