Skip to content

Commit 955249f

Browse files
committed
[camera_avfoundation] Replace deprecated AVCaptureVideoOrientation
1 parent 5866014 commit 955249f

File tree

4 files changed

+13
-34
lines changed

4 files changed

+13
-34
lines changed

packages/camera/camera_avfoundation/example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
<string>arm64</string>
2626
</array>
2727
<key>MinimumOSVersion</key>
28-
<string>12.0</string>
28+
<string>13.0</string>
2929
</dict>
3030
</plist>

packages/camera/camera_avfoundation/example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '12.0'
2+
# platform :ios, '13.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

packages/camera/camera_avfoundation/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 9 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 60;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -95,6 +95,7 @@
9595
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
9696
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
9797
4A191381C3593DF1AC4E7559 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
98+
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
9899
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
99100
7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
100101
7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
@@ -258,6 +259,7 @@
258259
9740EEB11CF90186004384FC /* Flutter */ = {
259260
isa = PBXGroup;
260261
children = (
262+
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */,
261263
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
262264
9740EEB21CF90195004384FC /* Debug.xcconfig */,
263265
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
@@ -340,8 +342,6 @@
340342
03BB766E2665316900CE5A93 /* PBXTargetDependency */,
341343
);
342344
name = RunnerTests;
343-
packageProductDependencies = (
344-
);
345345
productName = camera_exampleTests;
346346
productReference = 03BB76682665316900CE5A93 /* RunnerTests.xctest */;
347347
productType = "com.apple.product-type.bundle.unit-test";
@@ -357,7 +357,6 @@
357357
97C146EC1CF9000F007C117D /* Resources */,
358358
9705A1C41CF9048500538489 /* Embed Frameworks */,
359359
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
360-
2B62C73988DE02487EF557D4 /* [CP] Copy Pods Resources */,
361360
);
362361
buildRules = (
363362
);
@@ -401,7 +400,7 @@
401400
);
402401
mainGroup = 97C146E51CF9000F007C117D;
403402
packageReferences = (
404-
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */,
403+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */,
405404
);
406405
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
407406
projectDirPath = "";
@@ -435,28 +434,6 @@
435434
/* End PBXResourcesBuildPhase section */
436435

437436
/* Begin PBXShellScriptBuildPhase section */
438-
2B62C73988DE02487EF557D4 /* [CP] Copy Pods Resources */ = {
439-
isa = PBXShellScriptBuildPhase;
440-
buildActionMask = 2147483647;
441-
files = (
442-
);
443-
inputPaths = (
444-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh",
445-
"${PODS_CONFIGURATION_BUILD_DIR}/camera_avfoundation/camera_avfoundation_privacy.bundle",
446-
"${PODS_CONFIGURATION_BUILD_DIR}/path_provider_foundation/path_provider_foundation_privacy.bundle",
447-
"${PODS_CONFIGURATION_BUILD_DIR}/video_player_avfoundation/video_player_avfoundation_privacy.bundle",
448-
);
449-
name = "[CP] Copy Pods Resources";
450-
outputPaths = (
451-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/camera_avfoundation_privacy.bundle",
452-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/path_provider_foundation_privacy.bundle",
453-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/video_player_avfoundation_privacy.bundle",
454-
);
455-
runOnlyForDeploymentPostprocessing = 0;
456-
shellPath = /bin/sh;
457-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
458-
showEnvVarsInLog = 0;
459-
};
460437
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
461438
isa = PBXShellScriptBuildPhase;
462439
alwaysOutOfDate = 1;
@@ -643,7 +620,7 @@
643620
CODE_SIGN_STYLE = Automatic;
644621
GCC_C_LANGUAGE_STANDARD = gnu11;
645622
INFOPLIST_FILE = RunnerTests/Info.plist;
646-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
623+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
647624
LD_RUNPATH_SEARCH_PATHS = (
648625
"$(inherited)",
649626
"@executable_path/Frameworks",
@@ -676,7 +653,7 @@
676653
CODE_SIGN_STYLE = Automatic;
677654
GCC_C_LANGUAGE_STANDARD = gnu11;
678655
INFOPLIST_FILE = RunnerTests/Info.plist;
679-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
656+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
680657
LD_RUNPATH_SEARCH_PATHS = (
681658
"$(inherited)",
682659
"@executable_path/Frameworks",
@@ -740,7 +717,7 @@
740717
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
741718
GCC_WARN_UNUSED_FUNCTION = YES;
742719
GCC_WARN_UNUSED_VARIABLE = YES;
743-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
720+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
744721
MTL_ENABLE_DEBUG_INFO = YES;
745722
ONLY_ACTIVE_ARCH = YES;
746723
SDKROOT = iphoneos;
@@ -790,7 +767,7 @@
790767
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
791768
GCC_WARN_UNUSED_FUNCTION = YES;
792769
GCC_WARN_UNUSED_VARIABLE = YES;
793-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
770+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
794771
MTL_ENABLE_DEBUG_INFO = NO;
795772
SDKROOT = iphoneos;
796773
TARGETED_DEVICE_FAMILY = "1,2";
@@ -879,7 +856,7 @@
879856
/* End XCConfigurationList section */
880857

881858
/* Begin XCLocalSwiftPackageReference section */
882-
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = {
859+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */ = {
883860
isa = XCLocalSwiftPackageReference;
884861
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
885862
};

packages/camera/camera_avfoundation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
buildConfiguration = "Debug"
4545
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4646
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
4748
shouldUseLaunchSchemeArgsEnv = "YES">
4849
<MacroExpansion>
4950
<BuildableReference
@@ -71,6 +72,7 @@
7172
buildConfiguration = "Debug"
7273
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7374
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
75+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
7476
launchStyle = "0"
7577
useCustomWorkingDirectory = "NO"
7678
ignoresPersistentStateOnLaunch = "NO"

0 commit comments

Comments
 (0)