diff --git a/AudioShareSDK.h b/AudioShareSDK.h index d95ba80..ca7b485 100644 --- a/AudioShareSDK.h +++ b/AudioShareSDK.h @@ -2,6 +2,7 @@ // Copyright (C)2012 Jonatan Liljedahl #import +#import @interface AudioShare : NSObject diff --git a/README.md b/README.md index 0d7485e..0fcab68 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,17 @@ Don't forget to import the header: #import "AudioShareSDK.h" +For ARC-enabled projects, such as new Xcode 6 projects +------------------------------------------------------ +You must disable ARC for the `AudioShareSDK.m` file, or else your project will return errors and fail to build and run. + + 1. Select the project in the left-hand Project Navigator tree. + 2. Click on the "Build Phases" tab at the top. + 3. Click on "Compiler Sources" category to open the accordian arrow and show the enclosed files. + 4. Select to highlight the `AudioShareSDK.m` file. + 5. Double-click on the right-hand side of the selected row, under the "Compiler Flags" column. + 6. Type: '-fno-objc-arc' (without the single quotes) into the field, and press the return key to commit the new compiler source flag. + Export to AudioShare -------------------- The typical usage is to have a button or menu item labelled "Export to AudioShare" that @@ -82,6 +93,6 @@ and/or transferring sounds to/from the AudioShare app. If you do, I would appreciate if you drop me a message at lijon@kymatica.com -Copyright (C)2012-2013 Jonatan Liljedahl +Copyright (C)2012-2014 Jonatan Liljedahl http://kymatica.com