"iSCKit" is SuperCollider on iOS7 later, it forked "supercollider iOS" project.
- Download or Clone the project.
-
Launch iSCKit.xcodeproj using XCode Location : [project root] > [projects] > [iSCKit] > iSCKit.xcodeproj
-
Select 'iSCKit' scheme XCode launching, please select target 'iSCKit' scheme and select 'iOS Device' (not Simulators). (iSCKit can use on iOS devices only, cannot use on iOS Simulators).
-
Run It generate 'libsndfile', 'libscsynth' and 'libiSCKit' on [lib] direcotry.
Please make sure that generate 3 static library files above.
Location : [project root] > [lib]
This project is sample app using iSCKit. It is done getting ready to use iSCKit.
-
Launch iSCApp.xcodeproj using XCode It need to already generate 'libsndfile', 'libscsynth' and 'libiSCKit'.
Location : [project root] > [projects] > [iSCApp] > iSCApp.xcodeproj -
Run iSCKit must use iOS devices.
If this process succeed, iSCKit is available. -
Check Supercollider Log Please make sure suppercollider log message on this app, then select 'live' tab, iSCApp sound sine wave ( {SinOsc.ar()}.play ).
-
Project Location Project directory must be located same position of iSCKit directory like to iSCApp directory.
-
'Header Search Path' (Build Settings) Add [project root] > [iSupercolliderKit] path. ex. $(PROJECT_DIR)/../../
-
'Library Search Path' (Build Settings) Add [project root] > [lib] path.
ex. $(PROJECT_DIR)/../../iSupercolliderKit/lib -
'Objective-C Automatic Reference Counting' (Build Setting) Set 'YES'.
-
'PreProcessor Macros' (Build Setting) Set 'SC_IPHONE' on 'Debug', and 'SC_IPHONE NDEBUG' on 'Release'.
-
'Other Linker Flags' (Build Setting) Add '-lsndfile -lscsynth -liSCKit'.
-
Copy and add 'SCClassLibrary' directory in iSCApp directory. When you add this directory on xcode, please select 'Create folder reference'.
-
Add Frameworks below. AVFoundation.framework
CoreMIDI.framework
Accelerate.framework
CFNetwork.framework
CoreFoundation.framework
CoreGraphics.framework
AudioToolbox.framework
MediaPlayer.framework
UIKit.framework
Foundation.framework
If you use Swift language, please add libstdc++.dylib.