Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ABTesting] Add as SwiftPM library #12473

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions IntegrationTesting/ClientApp/ClientApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
EAA0A9C82AD84E6A00C28FCD /* swift-import-test.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAA0A9A82AD84C2A00C28FCD /* swift-import-test.swift */; };
EAA0A9C92AD84E7000C28FCD /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EA1269B729EDF98A00D79E66 /* Assets.xcassets */; };
EAA0A9CA2AD84E7000C28FCD /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA1269B329EDF98800D79E66 /* AppDelegate.swift */; };
EAC57E5C2B97A9FD007D9065 /* FirebaseABTesting in Frameworks */ = {isa = PBXBuildFile; productRef = EAC57E5B2B97A9FD007D9065 /* FirebaseABTesting */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand Down Expand Up @@ -117,6 +118,7 @@
EA7DF59929EF3326005664A7 /* FirebaseDynamicLinks in Frameworks */,
EA7DF59D29EF3326005664A7 /* FirebaseFirestoreCombine-Community in Frameworks */,
EA7DF5A929EF3327005664A7 /* FirebaseInstallations in Frameworks */,
EAC57E5C2B97A9FD007D9065 /* FirebaseABTesting in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -168,6 +170,7 @@
EAA0A9B22AD84E0800C28FCD /* ClientApp-iOS13 */,
EA1269B129EDF98800D79E66 /* Products */,
413203AEE08A47DF84F65AED /* Pods */,
EAC57E5A2B97A9FD007D9065 /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -286,6 +289,13 @@
path = "Preview Content";
sourceTree = "<group>";
};
EAC57E5A2B97A9FD007D9065 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -330,6 +340,7 @@
EA7DF5B429EF3328005664A7 /* FirebaseStorage */,
EA7DF5B629EF3328005664A7 /* FirebaseStorageCombine-Community */,
EA0BC0FE29F06D5B005B8AEE /* FirebaseAnalyticsOnDeviceConversion */,
EAC57E5B2B97A9FD007D9065 /* FirebaseABTesting */,
);
productName = ClientApp;
productReference = EA1269B029EDF98800D79E66 /* ClientApp.app */;
Expand Down Expand Up @@ -1128,6 +1139,10 @@
isa = XCSwiftPackageProductDependency;
productName = FirebaseAnalyticsSwift;
};
EAC57E5B2B97A9FD007D9065 /* FirebaseABTesting */ = {
isa = XCSwiftPackageProductDependency;
productName = FirebaseABTesting;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = EA1269A829EDF98800D79E66 /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
// TODO(ncooke3): Figure out why this isn't working on CocoaPods.
import Firebase
#endif // !COCOAPODS
// NOTE(ncooke3): `FirebaseABTesting` is not listed as a library.
import FirebaseABTesting
import FirebaseAnalytics
import FirebaseAppCheck
Expand Down
4 changes: 4 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ let package = Package(
name: "Firebase",
platforms: [.iOS(.v11), .macCatalyst(.v13), .macOS(.v10_13), .tvOS(.v12), .watchOS(.v7)],
products: [
.library(
ncooke3 marked this conversation as resolved.
Show resolved Hide resolved
name: "FirebaseABTesting",
targets: ["FirebaseABTesting"]
),
.library(
name: "FirebaseAnalytics",
targets: ["FirebaseAnalyticsTarget"]
Expand Down
Loading