| 76 | === Setting minimum supported iOS version === |
| 77 | |
| 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) |
| 86 | }}} |
| 87 | |