Skip to content

Commit ef33c34

Browse files
committed
moving Packages.swift to root
1 parent e72a7e3 commit ef33c34

File tree

4 files changed

+48
-4
lines changed

4 files changed

+48
-4
lines changed
File renamed without changes.

ios/stream_webrtc_flutter/Package.swift renamed to Package.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ let package = Package(
2121
dependencies: [
2222
.product(name: "StreamWebRTC", package: "stream-video-swift-webrtc")
2323
],
24+
path: "ios/stream_webrtc_flutter/Sources/stream_webrtc_flutter",
2425
resources: [
2526
// If you have PrivacyInfo.xcprivacy or other resources:
2627
// .process("PrivacyInfo.xcprivacy")
27-
]
28+
],
29+
publicHeadersPath: "include"
2830
)
2931
]
3032
)

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1818
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1919
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
20+
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
2021
/* End PBXBuildFile section */
2122

2223
/* Begin PBXContainerItemProxy section */
@@ -67,6 +68,7 @@
6768
BA896DE0E3457D7F8E7B874C /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
6869
EBDE73226368E7C4C301B721 /* 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>"; };
6970
F5CFB2CC6A32D774511849CE /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
71+
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
7072
/* End PBXFileReference section */
7173

7274
/* Begin PBXFrameworksBuildPhase section */
@@ -82,6 +84,7 @@
8284
isa = PBXFrameworksBuildPhase;
8385
buildActionMask = 2147483647;
8486
files = (
87+
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
8588
5CDFF0275A08E50A6164A3F8 /* libPods-Runner.a in Frameworks */,
8689
);
8790
runOnlyForDeploymentPostprocessing = 0;
@@ -100,6 +103,7 @@
100103
9740EEB11CF90186004384FC /* Flutter */ = {
101104
isa = PBXGroup;
102105
children = (
106+
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */,
103107
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
104108
9740EEB21CF90195004384FC /* Debug.xcconfig */,
105109
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
@@ -199,6 +203,9 @@
199203
productType = "com.apple.product-type.bundle.unit-test";
200204
};
201205
97C146ED1CF9000F007C117D /* Runner */ = {
206+
packageProductDependencies = (
207+
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */,
208+
);
202209
isa = PBXNativeTarget;
203210
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
204211
buildPhases = (
@@ -225,6 +232,9 @@
225232

226233
/* Begin PBXProject section */
227234
97C146E61CF9000F007C117D /* Project object */ = {
235+
packageReferences = (
236+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */,
237+
);
228238
isa = PBXProject;
229239
attributes = {
230240
LastUpgradeCheck = 1510;
@@ -481,7 +491,7 @@
481491
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
482492
GCC_WARN_UNUSED_FUNCTION = YES;
483493
GCC_WARN_UNUSED_VARIABLE = YES;
484-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
494+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
485495
MTL_ENABLE_DEBUG_INFO = NO;
486496
SDKROOT = iphoneos;
487497
SUPPORTED_PLATFORMS = iphoneos;
@@ -597,7 +607,7 @@
597607
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
598608
GCC_WARN_UNUSED_FUNCTION = YES;
599609
GCC_WARN_UNUSED_VARIABLE = YES;
600-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
610+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
601611
MTL_ENABLE_DEBUG_INFO = YES;
602612
ONLY_ACTIVE_ARCH = YES;
603613
SDKROOT = iphoneos;
@@ -646,7 +656,7 @@
646656
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
647657
GCC_WARN_UNUSED_FUNCTION = YES;
648658
GCC_WARN_UNUSED_VARIABLE = YES;
649-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
659+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
650660
MTL_ENABLE_DEBUG_INFO = NO;
651661
SDKROOT = iphoneos;
652662
SUPPORTED_PLATFORMS = iphoneos;
@@ -725,6 +735,18 @@
725735
defaultConfigurationName = Release;
726736
};
727737
/* End XCConfigurationList section */
738+
/* Begin XCLocalSwiftPackageReference section */
739+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = {
740+
isa = XCLocalSwiftPackageReference;
741+
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
742+
};
743+
/* End XCLocalSwiftPackageReference section */
744+
/* Begin XCSwiftPackageProductDependency section */
745+
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */ = {
746+
isa = XCSwiftPackageProductDependency;
747+
productName = FlutterGeneratedPluginSwiftPackage;
748+
};
749+
/* End XCSwiftPackageProductDependency section */
728750
};
729751
rootObject = 97C146E61CF9000F007C117D /* Project object */;
730752
}

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
8+
<PreActions>
9+
<ExecutionAction
10+
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
11+
<ActionContent
12+
title = "Run Prepare Flutter Framework Script"
13+
scriptText = "/bin/sh &quot;$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh&quot; prepare&#10;">
14+
<EnvironmentBuildable>
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
18+
BuildableName = "Runner.app"
19+
BlueprintName = "Runner"
20+
ReferencedContainer = "container:Runner.xcodeproj">
21+
</BuildableReference>
22+
</EnvironmentBuildable>
23+
</ActionContent>
24+
</ExecutionAction>
25+
</PreActions>
826
<BuildActionEntries>
927
<BuildActionEntry
1028
buildForTesting = "YES"
@@ -26,6 +44,7 @@
2644
buildConfiguration = "Debug"
2745
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2846
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2948
shouldUseLaunchSchemeArgsEnv = "YES">
3049
<MacroExpansion>
3150
<BuildableReference
@@ -54,6 +73,7 @@
5473
buildConfiguration = "Debug"
5574
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5675
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
76+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
5777
launchStyle = "0"
5878
useCustomWorkingDirectory = "NO"
5979
ignoresPersistentStateOnLaunch = "NO"

0 commit comments

Comments
 (0)