Skip to content

Commit

Permalink
have counter use local package references
Browse files Browse the repository at this point in the history
the "counter" example should reference FlutterSwift locally rather than from
GitHub
  • Loading branch information
lhoward committed Nov 29, 2024
1 parent 4b4fbd7 commit 4148089
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 36 deletions.
34 changes: 16 additions & 18 deletions Examples/counter/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 54;
objectVersion = 60;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -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 */

Expand Down Expand Up @@ -67,7 +67,7 @@
buildActionMask = 2147483647;
files = (
D39114E12CE16C5600C10972 /* Logging in Frameworks */,
D3D9C38D2BE8DB2B0030D2B5 /* FlutterSwift in Frameworks */,
D324D9B32CFA543B00232790 /* FlutterSwift in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -174,8 +174,8 @@
);
name = Runner;
packageProductDependencies = (
D3D9C38C2BE8DB2B0030D2B5 /* FlutterSwift */,
D39114E02CE16C5600C10972 /* Logging */,
D324D9B22CFA543B00232790 /* FlutterSwift */,
);
productName = Runner;
productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
Expand Down Expand Up @@ -211,8 +211,8 @@
);
mainGroup = 97C146E51CF9000F007C117D;
packageReferences = (
D3D9C38B2BE8DB2B0030D2B5 /* XCRemoteSwiftPackageReference "FlutterSwift" */,
D39114DF2CE16C5600C10972 /* XCRemoteSwiftPackageReference "swift-log" */,
D324D9B12CFA543B00232790 /* XCLocalSwiftPackageReference "../../../../FlutterSwift" */,
);
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -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;
Expand All @@ -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 */;
Expand Down
34 changes: 16 additions & 18 deletions Examples/counter/macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 54;
objectVersion = 60;
objects = {

/* Begin PBXAggregateTarget section */
Expand All @@ -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 */

Expand Down Expand Up @@ -97,7 +97,7 @@
buildActionMask = 2147483647;
files = (
D39114DE2CE16C0300C10972 /* Logging in Frameworks */,
D3D9C3832BE8D26E0030D2B5 /* FlutterSwift in Frameworks */,
D324D9B02CFA541D00232790 /* FlutterSwift in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -233,8 +233,8 @@
);
name = Runner;
packageProductDependencies = (
D3D9C3822BE8D26E0030D2B5 /* FlutterSwift */,
D39114DD2CE16C0300C10972 /* Logging */,
D324D9AF2CFA541D00232790 /* FlutterSwift */,
);
productName = Runner;
productReference = 33CC10ED2044A3C60003C045 /* counter.app */;
Expand Down Expand Up @@ -281,8 +281,8 @@
);
mainGroup = 33CC10E42044A3C60003C045;
packageReferences = (
D3D9C3812BE8D1DE0030D2B5 /* XCRemoteSwiftPackageReference "FlutterSwift" */,
D39114DC2CE16C0300C10972 /* XCRemoteSwiftPackageReference "swift-log" */,
D324D9AE2CFA541D00232790 /* XCLocalSwiftPackageReference "../../../../FlutterSwift" */,
);
productRefGroup = 33CC10EE2044A3C60003C045 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -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;
Expand All @@ -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 */;
Expand Down

0 comments on commit 4148089

Please sign in to comment.