Changes between Version 91 and Version 92 of Getting-Started/iPhone


Ignore:
Timestamp:
Oct 6, 2016 3:03:38 AM (8 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/iPhone

    v91 v92  
    7474}}} 
    7575 
     76=== Setting minimum supported iOS version === 
     77 
     78By default, PJSIP will be built for the latest iOS version supported by the iOS SDK. If you want to support older iOS versions, you need to specify the minimum supported version when running {{{configure-iphone}}}, such as: 
     79{{{ 
     80CFLAGS="-miphoneos-version-min=6.0" LDFLAGS="-miphoneos-version-min=6.0" ./configure-iphone 
     81}}} 
     82 
     83If you don't set the minimum iOS version, you may encounter linker warning in your XCode app, which may lead to crashes when running on older iOS versions: 
     84{{{ 
     85ld: warning: object file (...) was built for newer iOS version (10.0) than being linked (6.0) 
     86}}} 
     87 
    7688=== Simulator === 
    7789 
     
    8597 
    8698Note that the exact paths may vary according to your SDK version. 
    87 If you use iOS SDK '''before''' version 7.0, you can configure it this way instead: 
    88 {{{ 
    89 ARCH="-arch i386" CFLAGS="-O2 -m32 -miphoneos-version-min=4.0" LDFLAGS="-O2 -m32 -miphoneos-version-min=4.0" ./configure-iphone 
    90 }}} 
    9199 
    92100[[BR]]