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


Ignore:
Timestamp:
Oct 7, 2016 5:57:06 AM (8 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/iPhone

    v92 v93  
    7676=== Setting minimum supported iOS version === 
    7777 
    78 By 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 {{{ 
    80 CFLAGS="-miphoneos-version-min=6.0" LDFLAGS="-miphoneos-version-min=6.0" ./configure-iphone 
    81 }}} 
    82  
    83 If 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 {{{ 
    85 ld: warning: object file (...) was built for newer iOS version (10.0) than being linked (6.0) 
     78If you want to specify the minimum supported iOS version, you can set {{{MIN_IOS}}} environment variable before running {{{{configure-iphone}}}, for example: 
     79{{{ 
     80export MIN_IOS="-miphoneos-version-min=8.0" 
     81}}} 
     82 
     83The default setting is iOS 7.0. If you don't want to specify this flag, you can set {{{MIN_IOS}}} to a single space instead ({{{export MIN_IOS=" "}}}) Note that if 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 (7.0) 
    8686}}} 
    8787