From 414808926e08c21605eda3ed037669a64a954061 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 30 Nov 2024 07:01:31 +1100 Subject: [PATCH] have counter use local package references the "counter" example should reference FlutterSwift locally rather than from GitHub --- .../ios/Runner.xcodeproj/project.pbxproj | 34 +++++++++---------- .../macos/Runner.xcodeproj/project.pbxproj | 34 +++++++++---------- 2 files changed, 32 insertions(+), 36 deletions(-) diff --git a/Examples/counter/ios/Runner.xcodeproj/project.pbxproj b/Examples/counter/ios/Runner.xcodeproj/project.pbxproj index c272ded..495de68 100644 --- a/Examples/counter/ios/Runner.xcodeproj/project.pbxproj +++ b/Examples/counter/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 54; + objectVersion = 60; objects = { /* Begin PBXBuildFile section */ @@ -14,8 +14,8 @@ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; + D324D9B32CFA543B00232790 /* FlutterSwift in Frameworks */ = {isa = PBXBuildFile; productRef = D324D9B22CFA543B00232790 /* FlutterSwift */; }; D39114E12CE16C5600C10972 /* Logging in Frameworks */ = {isa = PBXBuildFile; productRef = D39114E02CE16C5600C10972 /* Logging */; }; - D3D9C38D2BE8DB2B0030D2B5 /* FlutterSwift in Frameworks */ = {isa = PBXBuildFile; productRef = D3D9C38C2BE8DB2B0030D2B5 /* FlutterSwift */; }; D3D9C3902BE8DB400030D2B5 /* runner.swift in Sources */ = {isa = PBXBuildFile; fileRef = D3D9C38E2BE8DB400030D2B5 /* runner.swift */; }; /* End PBXBuildFile section */ @@ -67,7 +67,7 @@ buildActionMask = 2147483647; files = ( D39114E12CE16C5600C10972 /* Logging in Frameworks */, - D3D9C38D2BE8DB2B0030D2B5 /* FlutterSwift in Frameworks */, + D324D9B32CFA543B00232790 /* FlutterSwift in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -174,8 +174,8 @@ ); name = Runner; packageProductDependencies = ( - D3D9C38C2BE8DB2B0030D2B5 /* FlutterSwift */, D39114E02CE16C5600C10972 /* Logging */, + D324D9B22CFA543B00232790 /* FlutterSwift */, ); productName = Runner; productReference = 97C146EE1CF9000F007C117D /* Runner.app */; @@ -211,8 +211,8 @@ ); mainGroup = 97C146E51CF9000F007C117D; packageReferences = ( - D3D9C38B2BE8DB2B0030D2B5 /* XCRemoteSwiftPackageReference "FlutterSwift" */, D39114DF2CE16C5600C10972 /* XCRemoteSwiftPackageReference "swift-log" */, + D324D9B12CFA543B00232790 /* XCLocalSwiftPackageReference "../../../../FlutterSwift" */, ); productRefGroup = 97C146EF1CF9000F007C117D /* Products */; projectDirPath = ""; @@ -646,6 +646,13 @@ }; /* End XCConfigurationList section */ +/* Begin XCLocalSwiftPackageReference section */ + D324D9B12CFA543B00232790 /* XCLocalSwiftPackageReference "../../../../FlutterSwift" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = ../../../../FlutterSwift; + }; +/* End XCLocalSwiftPackageReference section */ + /* Begin XCRemoteSwiftPackageReference section */ D39114DF2CE16C5600C10972 /* XCRemoteSwiftPackageReference "swift-log" */ = { isa = XCRemoteSwiftPackageReference; @@ -655,27 +662,18 @@ kind = branch; }; }; - D3D9C38B2BE8DB2B0030D2B5 /* XCRemoteSwiftPackageReference "FlutterSwift" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/PADL/FlutterSwift"; - requirement = { - branch = main; - kind = branch; - }; - }; /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ + D324D9B22CFA543B00232790 /* FlutterSwift */ = { + isa = XCSwiftPackageProductDependency; + productName = FlutterSwift; + }; D39114E02CE16C5600C10972 /* Logging */ = { isa = XCSwiftPackageProductDependency; package = D39114DF2CE16C5600C10972 /* XCRemoteSwiftPackageReference "swift-log" */; productName = Logging; }; - D3D9C38C2BE8DB2B0030D2B5 /* FlutterSwift */ = { - isa = XCSwiftPackageProductDependency; - package = D3D9C38B2BE8DB2B0030D2B5 /* XCRemoteSwiftPackageReference "FlutterSwift" */; - productName = FlutterSwift; - }; /* End XCSwiftPackageProductDependency section */ }; rootObject = 97C146E61CF9000F007C117D /* Project object */; diff --git a/Examples/counter/macos/Runner.xcodeproj/project.pbxproj b/Examples/counter/macos/Runner.xcodeproj/project.pbxproj index f78b0b3..7f725ea 100644 --- a/Examples/counter/macos/Runner.xcodeproj/project.pbxproj +++ b/Examples/counter/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 54; + objectVersion = 60; objects = { /* Begin PBXAggregateTarget section */ @@ -27,8 +27,8 @@ 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; + D324D9B02CFA541D00232790 /* FlutterSwift in Frameworks */ = {isa = PBXBuildFile; productRef = D324D9AF2CFA541D00232790 /* FlutterSwift */; }; D39114DE2CE16C0300C10972 /* Logging in Frameworks */ = {isa = PBXBuildFile; productRef = D39114DD2CE16C0300C10972 /* Logging */; }; - D3D9C3832BE8D26E0030D2B5 /* FlutterSwift in Frameworks */ = {isa = PBXBuildFile; productRef = D3D9C3822BE8D26E0030D2B5 /* FlutterSwift */; }; D3D9C38A2BE8D3790030D2B5 /* runner.swift in Sources */ = {isa = PBXBuildFile; fileRef = D3D9C3862BE8D3790030D2B5 /* runner.swift */; }; /* End PBXBuildFile section */ @@ -97,7 +97,7 @@ buildActionMask = 2147483647; files = ( D39114DE2CE16C0300C10972 /* Logging in Frameworks */, - D3D9C3832BE8D26E0030D2B5 /* FlutterSwift in Frameworks */, + D324D9B02CFA541D00232790 /* FlutterSwift in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -233,8 +233,8 @@ ); name = Runner; packageProductDependencies = ( - D3D9C3822BE8D26E0030D2B5 /* FlutterSwift */, D39114DD2CE16C0300C10972 /* Logging */, + D324D9AF2CFA541D00232790 /* FlutterSwift */, ); productName = Runner; productReference = 33CC10ED2044A3C60003C045 /* counter.app */; @@ -281,8 +281,8 @@ ); mainGroup = 33CC10E42044A3C60003C045; packageReferences = ( - D3D9C3812BE8D1DE0030D2B5 /* XCRemoteSwiftPackageReference "FlutterSwift" */, D39114DC2CE16C0300C10972 /* XCRemoteSwiftPackageReference "swift-log" */, + D324D9AE2CFA541D00232790 /* XCLocalSwiftPackageReference "../../../../FlutterSwift" */, ); productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; projectDirPath = ""; @@ -732,6 +732,13 @@ }; /* End XCConfigurationList section */ +/* Begin XCLocalSwiftPackageReference section */ + D324D9AE2CFA541D00232790 /* XCLocalSwiftPackageReference "../../../../FlutterSwift" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = ../../../../FlutterSwift; + }; +/* End XCLocalSwiftPackageReference section */ + /* Begin XCRemoteSwiftPackageReference section */ D39114DC2CE16C0300C10972 /* XCRemoteSwiftPackageReference "swift-log" */ = { isa = XCRemoteSwiftPackageReference; @@ -741,27 +748,18 @@ minimumVersion = 1.6.1; }; }; - D3D9C3812BE8D1DE0030D2B5 /* XCRemoteSwiftPackageReference "FlutterSwift" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/PADL/FlutterSwift"; - requirement = { - branch = main; - kind = branch; - }; - }; /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ + D324D9AF2CFA541D00232790 /* FlutterSwift */ = { + isa = XCSwiftPackageProductDependency; + productName = FlutterSwift; + }; D39114DD2CE16C0300C10972 /* Logging */ = { isa = XCSwiftPackageProductDependency; package = D39114DC2CE16C0300C10972 /* XCRemoteSwiftPackageReference "swift-log" */; productName = Logging; }; - D3D9C3822BE8D26E0030D2B5 /* FlutterSwift */ = { - isa = XCSwiftPackageProductDependency; - package = D3D9C3812BE8D1DE0030D2B5 /* XCRemoteSwiftPackageReference "FlutterSwift" */; - productName = FlutterSwift; - }; /* End XCSwiftPackageProductDependency section */ }; rootObject = 33CC10E52044A3C60003C045 /* Project object */;