| 63 | == Common problems == |
| 64 | |
| 65 | === Compilation error using iPhoneSimulator SDK version 3.2 === |
| 66 | |
| 67 | If you get this error during compilation: |
| 68 | {{{ |
| 69 | /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/include/available.h:111:6: |
| 70 | error: #error __MAC_OS_X_VERSION_MAX_ALLOWED must be >= __MAC_OS_X_VERSION_MIN_REQUIRED |
| 71 | }}} |
| 72 | |
| 73 | Add this in your '''{{{config_site.h}}}''': |
| 74 | |
| 75 | {{{ |
| 76 | #undef __MAC_OS_X_VERSION_MIN_REQUIRED |
| 77 | #undef __MAC_OS_X_VERSION_MAX_ALLOWED |
| 78 | #define __MAC_OS_X_VERSION_MIN_REQUIRED __MAC_OS_X_VERSION_10_4 |
| 79 | #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_OS_X_VERSION_10_5 |
| 80 | }}} |
| 81 | |
| 82 | === Sound not working in the simulator === |
| 83 | |
| 84 | Go to System Preferences > Sound > Sound Effects and then uncheck and recheck "Play user interface sound effects". |
| 85 | |