Changeset 5453


Ignore:
Timestamp:
Oct 7, 2016 5:49:14 AM (8 years ago)
Author:
ming
Message:

Re #1941: Add support to specify min iOS versions in configure-iphone and update the default for ipjsua sample app

Location:
pjproject/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/configure-iphone

    r5150 r5453  
    1919  echo "             SDK." 
    2020  echo "  ARCH       Optional flags to specify target architecture, e.g." 
    21   echo "             ARCH='-arch armv6'. Default is armv7." 
     21  echo "             ARCH=\"-arch armv6\". Default is armv7." 
     22  echo "  MIN_IOS    Optional flags to specify minimum supported iOS" 
     23  echo "             versions, e.g. MIN_IOS=\"-miphoneos-version-min=10.0\". " 
     24  echo "             Default is 7.0." 
    2225  echo "" 
    2326  exit 0 
     
    116119export ARCH_VAL=`echo ${ARCH} | sed 's/\-arch //' | sed -e 's/^[ \t]*//;s/[ \t]*$//' ` 
    117120 
     121if test "${MIN_IOS}" = ""; then 
     122  MIN_IOS="7.0" 
     123  echo "$F: MIN_IOS is not specified, choosing ${MIN_IOS}" 
     124  CFLAGS="${CFLAGS} -miphoneos-version-min=${MIN_IOS}" 
     125  LDFLAGS="${LDFLAGS} -miphoneos-version-min=${MIN_IOS}" 
     126fi 
     127 
    118128# Set CXX if not set 
    119129if test "${CXX}" = ""; then 
  • pjproject/trunk/pjsip-apps/src/pjsua/ios/ipjsua.xcodeproj/project.pbxproj

    r5443 r5453  
    88 
    99/* Begin PBXBuildFile section */ 
    10                 3A31F1B01DA4F54B007C23A3 /* libstdc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A31F1AF1DA4F54B007C23A3 /* libstdc++.tbd */; }; 
    1110                3A31F1B21DA4F568007C23A3 /* libwebrtc.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A31F1B11DA4F568007C23A3 /* libwebrtc.a */; }; 
    1211                3AA31FF618F3FB4C00112C3D /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AA31FE918F3FB4C00112C3D /* AudioToolbox.framework */; }; 
     
    2322                3AA3200118F3FB4C00112C3D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AA31FF418F3FB4C00112C3D /* CoreGraphics.framework */; }; 
    2423                3AA3200218F3FB4C00112C3D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AA31FF518F3FB4C00112C3D /* UIKit.framework */; }; 
     24                3AB0EC581DA76B39008A0F62 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AB0EC571DA76B39008A0F62 /* libc++.tbd */; }; 
    2525                3ADCCD171715338D0007BE8E /* pjsua.png in Resources */ = {isa = PBXBuildFile; fileRef = 3ADCCD161715338D0007BE8E /* pjsua.png */; }; 
    2626                3ADCCD2D172E40120007BE8E /* pjsua_app_cli.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD28172E40120007BE8E /* pjsua_app_cli.c */; }; 
     
    5959 
    6060/* Begin PBXFileReference section */ 
    61                 3A31F1AF1DA4F54B007C23A3 /* libstdc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libstdc++.tbd"; path = "usr/lib/libstdc++.tbd"; sourceTree = SDKROOT; }; 
    62                 3A31F1B11DA4F568007C23A3 /* libwebrtc.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libwebrtc.a; path = libwebrtc.a; sourceTree = "<group>"; }; 
     61                3A31F1B11DA4F568007C23A3 /* libwebrtc.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libwebrtc.a; sourceTree = "<group>"; }; 
    6362                3AA31FE918F3FB4C00112C3D /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 
    6463                3AA31FEA18F3FB4C00112C3D /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 
     
    7473                3AA31FF418F3FB4C00112C3D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 
    7574                3AA31FF518F3FB4C00112C3D /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 
     75                3AB0EC571DA76B39008A0F62 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; 
    7676                3ADCCD161715338D0007BE8E /* pjsua.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = pjsua.png; sourceTree = "<group>"; }; 
    7777                3ADCCD28172E40120007BE8E /* pjsua_app_cli.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pjsua_app_cli.c; path = ../../pjsua_app_cli.c; sourceTree = "<group>"; }; 
     
    119119                        buildActionMask = 2147483647; 
    120120                        files = ( 
    121                                 3A31F1B01DA4F54B007C23A3 /* libstdc++.tbd in Frameworks */, 
     121                                3AB0EC581DA76B39008A0F62 /* libc++.tbd in Frameworks */, 
    122122                                E5E991EC1B67A45500017E67 /* libpjmedia-codec.a in Frameworks */, 
    123123                                3AA31FF818F3FB4C00112C3D /* CFNetwork.framework in Frameworks */, 
     
    191191                        isa = PBXGroup; 
    192192                        children = ( 
    193                                 3A31F1AF1DA4F54B007C23A3 /* libstdc++.tbd */, 
     193                                3AB0EC571DA76B39008A0F62 /* libc++.tbd */, 
    194194                                3AA31FE918F3FB4C00112C3D /* AudioToolbox.framework */, 
    195195                                3AA31FEA18F3FB4C00112C3D /* AVFoundation.framework */, 
     
    403403                                GCC_WARN_UNINITIALIZED_AUTOS = YES; 
    404404                                GCC_WARN_UNUSED_VARIABLE = YES; 
    405                                 IPHONEOS_DEPLOYMENT_TARGET = 6.0; 
     405                                IPHONEOS_DEPLOYMENT_TARGET = 7.0; 
    406406                                SDKROOT = iphoneos; 
    407407                                TARGETED_DEVICE_FAMILY = "1,2"; 
     
    425425                                GCC_WARN_UNINITIALIZED_AUTOS = YES; 
    426426                                GCC_WARN_UNUSED_VARIABLE = YES; 
    427                                 IPHONEOS_DEPLOYMENT_TARGET = 6.0; 
     427                                IPHONEOS_DEPLOYMENT_TARGET = 7.0; 
    428428                                OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; 
    429429                                SDKROOT = iphoneos; 
  • pjproject/trunk/pjsip-apps/src/pjsua/ios/ipjsua/ipjsua-Info.plist

    r4464 r5453  
    4343                <string>UIInterfaceOrientationPortraitUpsideDown</string> 
    4444        </array> 
     45        <key>UIRequiresFullScreen</key> 
     46        <true/> 
    4547</dict> 
    4648</plist> 
Note: See TracChangeset for help on using the changeset viewer.