From 4991ff644eed120a8d9e36357a7a6c0253a2a0d8 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Thu, 3 Sep 2015 14:11:53 +0900 Subject: [PATCH] ios tutorials: make work with Xcode 6.4 Tutorial 2 to 5 requires to link with VideoToolBox and arm64 is needed for iphone 5/6. --- .../project.pbxproj | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/gst-sdk/tutorials/xcode iOS/GStreamer iOS Tutorials.xcodeproj/project.pbxproj b/gst-sdk/tutorials/xcode iOS/GStreamer iOS Tutorials.xcodeproj/project.pbxproj index b05f38cc0f..dd1c76eb7a 100644 --- a/gst-sdk/tutorials/xcode iOS/GStreamer iOS Tutorials.xcodeproj/project.pbxproj +++ b/gst-sdk/tutorials/xcode iOS/GStreamer iOS Tutorials.xcodeproj/project.pbxproj @@ -1005,7 +1005,7 @@ ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = 2; - VALID_ARCHS = "armv7 i386"; + VALID_ARCHS = "armv7 i386 arm64"; }; name = Debug; }; @@ -1016,7 +1016,7 @@ ONLY_ACTIVE_ARCH = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = 2; - VALID_ARCHS = "armv7 i386"; + VALID_ARCHS = "armv7 i386 arm64"; }; name = Release; }; @@ -1210,6 +1210,8 @@ QuartzCore, "-framework", AssetsLibrary, + "-weak_framework", + VideoToolBox, ); PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -1271,6 +1273,8 @@ QuartzCore, "-framework", AssetsLibrary, + "-weak_framework", + VideoToolBox, ); PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -1340,6 +1344,8 @@ QuartzCore, "-framework", AssetsLibrary, + "-weak_framework", + VideoToolBox, ); PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -1401,6 +1407,8 @@ QuartzCore, "-framework", AssetsLibrary, + "-weak_framework", + VideoToolBox, ); PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -1470,6 +1478,8 @@ QuartzCore, "-framework", AssetsLibrary, + "-weak_framework", + VideoToolBox, ); PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -1531,6 +1541,8 @@ QuartzCore, "-framework", AssetsLibrary, + "-weak_framework", + VideoToolBox, ); PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -1600,6 +1612,8 @@ QuartzCore, "-framework", AssetsLibrary, + "-weak_framework", + VideoToolBox, ); PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -1661,6 +1675,8 @@ QuartzCore, "-framework", AssetsLibrary, + "-weak_framework", + VideoToolBox, ); PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos;