Changes between Version 20 and Version 21 of Getting-Started/iPhone


Ignore:
Timestamp:
Aug 9, 2010 2:53:56 PM (14 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/iPhone

    v20 v21  
    6161Note that the exact paths may vary according to your SDK version. 
    6262 
     63== Common problems == 
     64 
     65=== Compilation error using iPhoneSimulator SDK version 3.2 === 
     66 
     67If you get this error during compilation: 
     68{{{ 
     69/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/include/available.h:111:6: 
     70error: #error __MAC_OS_X_VERSION_MAX_ALLOWED must be >= __MAC_OS_X_VERSION_MIN_REQUIRED 
     71}}} 
     72 
     73Add 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 
     84Go to System Preferences > Sound > Sound Effects and then uncheck and recheck "Play user interface sound effects". 
     85 
    6386== Other iPhone Projects == 
    6487