Skip to content

Commit

Permalink
build: Adds grpc integration
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvesh-sharma-yral committed Dec 11, 2024
1 parent 7d88c89 commit 4cb8f8f
Show file tree
Hide file tree
Showing 5 changed files with 1,268 additions and 2 deletions.
93 changes: 92 additions & 1 deletion iosApp/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
AC09A9FA2CDB7A5D009A39A4 /* SwiftBindings+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = AC09A9F92CDB7A5D009A39A4 /* SwiftBindings+Extensions.swift */; };
AC09AA742CDD210D009A39A4 /* Data+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = AC09AA732CDD2107009A39A4 /* Data+Extensions.swift */; };
AC0E49C42CEBA6F0002DC158 /* secp256k1 in Frameworks */ = {isa = PBXBuildFile; productRef = AC0E49C32CEBA6F0002DC158 /* secp256k1 */; };
AC6BECAA2D09D52B002E2021 /* CGRPCZlib in Frameworks */ = {isa = PBXBuildFile; productRef = AC6BECA92D09D52B002E2021 /* CGRPCZlib */; };
AC6BECAC2D09D52B002E2021 /* GRPC in Frameworks */ = {isa = PBXBuildFile; productRef = AC6BECAB2D09D52B002E2021 /* GRPC */; };
AC6BECAE2D09D52B002E2021 /* GRPCReflectionService in Frameworks */ = {isa = PBXBuildFile; productRef = AC6BECAD2D09D52B002E2021 /* GRPCReflectionService */; };
AC6BECB02D09D52B002E2021 /* protoc-gen-grpc-swift in Frameworks */ = {isa = PBXBuildFile; productRef = AC6BECAF2D09D52B002E2021 /* protoc-gen-grpc-swift */; };
AC6BECB22D09D541002E2021 /* CGRPCZlib in Frameworks */ = {isa = PBXBuildFile; productRef = AC6BECB12D09D541002E2021 /* CGRPCZlib */; };
AC6BECB42D09D541002E2021 /* GRPC in Frameworks */ = {isa = PBXBuildFile; productRef = AC6BECB32D09D541002E2021 /* GRPC */; };
AC6BECB62D09D541002E2021 /* GRPCReflectionService in Frameworks */ = {isa = PBXBuildFile; productRef = AC6BECB52D09D541002E2021 /* GRPCReflectionService */; };
AC6BECB82D09D55B002E2021 /* protoc-gen-grpc-swift in Frameworks */ = {isa = PBXBuildFile; productRef = AC6BECB72D09D55B002E2021 /* protoc-gen-grpc-swift */; };
AC6CBA802CE46CA6002454F8 /* libyral_mobile_swift_binding.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AC09A9F72CDB78B9009A39A4 /* libyral_mobile_swift_binding.a */; };
ACB815372CF9D4FF00104B7B /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = ACB815342CF9CE0800104B7B /* GoogleService-Info.plist */; };
ACB815482CFA146800104B7B /* FirebaseCore in Frameworks */ = {isa = PBXBuildFile; productRef = ACB815472CFA146800104B7B /* FirebaseCore */; };
Expand All @@ -40,6 +48,12 @@
ACD941D12CFF5B720038FCB6 /* secp256k1 in Frameworks */ = {isa = PBXBuildFile; productRef = ACD941D02CFF5B720038FCB6 /* secp256k1 */; };
ACD941D32CFF5B8B0038FCB6 /* secp256k1 in Frameworks */ = {isa = PBXBuildFile; productRef = ACD941D22CFF5B8B0038FCB6 /* secp256k1 */; };
ACD941D92CFF63D90038FCB6 /* libyral_mobile_swift_binding.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AC09A9F72CDB78B9009A39A4 /* libyral_mobile_swift_binding.a */; };
ACF4EFC62D09CC0400086ADF /* ml_feed.proto in Sources */ = {isa = PBXBuildFile; fileRef = ACF4EFC42D09CC0400086ADF /* ml_feed.proto */; };
ACF4EFC72D09CC0400086ADF /* ml_feed.proto in Sources */ = {isa = PBXBuildFile; fileRef = ACF4EFC42D09CC0400086ADF /* ml_feed.proto */; };
ACF4EFCA2D09D39400086ADF /* ml_feed.grpc.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACF4EFC82D09D39400086ADF /* ml_feed.grpc.swift */; };
ACF4EFCB2D09D39400086ADF /* ml_feed.pb.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACF4EFC92D09D39400086ADF /* ml_feed.pb.swift */; };
ACF4EFCC2D09D39400086ADF /* ml_feed.grpc.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACF4EFC82D09D39400086ADF /* ml_feed.grpc.swift */; };
ACF4EFCD2D09D39400086ADF /* ml_feed.pb.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACF4EFC92D09D39400086ADF /* ml_feed.pb.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -62,6 +76,9 @@
ACD941B92CFF575C0038FCB6 /* Info-Staging.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Info-Staging.plist"; path = "/Users/sarveshsharma/Desktop/yral-mobile/iosApp/Staging/Info-Staging.plist"; sourceTree = "<absolute>"; };
ACD941BA2CFF579A0038FCB6 /* GoogleService-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
ACD941BE2CFF58B10038FCB6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
ACF4EFC42D09CC0400086ADF /* ml_feed.proto */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.protobuf; path = ml_feed.proto; sourceTree = "<group>"; };
ACF4EFC82D09D39400086ADF /* ml_feed.grpc.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ml_feed.grpc.swift; sourceTree = "<group>"; };
ACF4EFC92D09D39400086ADF /* ml_feed.pb.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ml_feed.pb.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -70,12 +87,16 @@
buildActionMask = 2147483647;
files = (
AC6CBA802CE46CA6002454F8 /* libyral_mobile_swift_binding.a in Frameworks */,
AC6BECAC2D09D52B002E2021 /* GRPC in Frameworks */,
ACD941D12CFF5B720038FCB6 /* secp256k1 in Frameworks */,
AC0E49C42CEBA6F0002DC158 /* secp256k1 in Frameworks */,
ACD941C22CFF5B3D0038FCB6 /* FirebaseAnalytics in Frameworks */,
ACD941802CFF55BB0038FCB6 /* FirebaseAnalyticsWithoutAdIdSupport in Frameworks */,
ACD941C42CFF5B3D0038FCB6 /* FirebaseCore in Frameworks */,
ACD941C62CFF5B3D0038FCB6 /* FirebaseCrashlytics in Frameworks */,
AC6BECAA2D09D52B002E2021 /* CGRPCZlib in Frameworks */,
AC6BECB02D09D52B002E2021 /* protoc-gen-grpc-swift in Frameworks */,
AC6BECAE2D09D52B002E2021 /* GRPCReflectionService in Frameworks */,
ACB815482CFA146800104B7B /* FirebaseCore in Frameworks */,
ACD941822CFF55BB0038FCB6 /* FirebaseCrashlytics in Frameworks */,
);
Expand All @@ -85,8 +106,12 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
AC6BECB42D09D541002E2021 /* GRPC in Frameworks */,
ACD941C82CFF5B5B0038FCB6 /* FirebaseAnalytics in Frameworks */,
ACD941D92CFF63D90038FCB6 /* libyral_mobile_swift_binding.a in Frameworks */,
AC6BECB62D09D541002E2021 /* GRPCReflectionService in Frameworks */,
AC6BECB82D09D55B002E2021 /* protoc-gen-grpc-swift in Frameworks */,
AC6BECB22D09D541002E2021 /* CGRPCZlib in Frameworks */,
ACD941D32CFF5B8B0038FCB6 /* secp256k1 in Frameworks */,
ACD941CA2CFF5B5B0038FCB6 /* FirebaseAnalyticsOnDeviceConversion in Frameworks */,
ACD941CE2CFF5B5B0038FCB6 /* FirebaseCrashlytics in Frameworks */,
Expand Down Expand Up @@ -130,6 +155,7 @@
7555FF7D242A565900829871 /* iosApp */ = {
isa = PBXGroup;
children = (
ACF4EFC52D09CC0400086ADF /* grpc */,
058557BA273AAA24004C7B11 /* Assets.xcassets */,
7555FF82242A565900829871 /* ContentView.swift */,
AC09AA1E2CDBB69B009A39A4 /* Extensions */,
Expand Down Expand Up @@ -194,6 +220,16 @@
path = Staging;
sourceTree = "<group>";
};
ACF4EFC52D09CC0400086ADF /* grpc */ = {
isa = PBXGroup;
children = (
ACF4EFC82D09D39400086ADF /* ml_feed.grpc.swift */,
ACF4EFC92D09D39400086ADF /* ml_feed.pb.swift */,
ACF4EFC42D09CC0400086ADF /* ml_feed.proto */,
);
path = grpc;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -264,6 +300,7 @@
packageReferences = (
ACD941C02CFF5B3D0038FCB6 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */,
ACD941CF2CFF5B720038FCB6 /* XCRemoteSwiftPackageReference "swift-secp256k1" */,
AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */,
);
productRefGroup = 7555FF7C242A565900829871 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -374,7 +411,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n./build-rust.sh\n";
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n#./build-rust.sh\n";
};
ACD941852CFF575C0038FCB6 /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -426,10 +463,13 @@
files = (
2152FB042600AC8F00CF470E /* IosApp.swift in Sources */,
AC09A9B22CDB775C009A39A4 /* yral-mobile-swift-binding.swift in Sources */,
ACF4EFCA2D09D39400086ADF /* ml_feed.grpc.swift in Sources */,
ACF4EFCB2D09D39400086ADF /* ml_feed.pb.swift in Sources */,
AC09A9B32CDB775C009A39A4 /* SwiftBridgeCore.swift in Sources */,
AC09AA742CDD210D009A39A4 /* Data+Extensions.swift in Sources */,
AC09A9FA2CDB7A5D009A39A4 /* SwiftBindings+Extensions.swift in Sources */,
7555FF83242A565900829871 /* ContentView.swift in Sources */,
ACF4EFC72D09CC0400086ADF /* ml_feed.proto in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -439,10 +479,13 @@
files = (
ACD941872CFF575C0038FCB6 /* IosApp.swift in Sources */,
ACD941882CFF575C0038FCB6 /* yral-mobile-swift-binding.swift in Sources */,
ACF4EFCC2D09D39400086ADF /* ml_feed.grpc.swift in Sources */,
ACF4EFCD2D09D39400086ADF /* ml_feed.pb.swift in Sources */,
ACD941892CFF575C0038FCB6 /* SwiftBridgeCore.swift in Sources */,
ACD9418A2CFF575C0038FCB6 /* Data+Extensions.swift in Sources */,
ACD9418B2CFF575C0038FCB6 /* SwiftBindings+Extensions.swift in Sources */,
ACD9418C2CFF575C0038FCB6 /* ContentView.swift in Sources */,
ACF4EFC62D09CC0400086ADF /* ml_feed.proto in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -728,6 +771,14 @@
minimumVersion = 0.18.0;
};
};
AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/grpc/grpc-swift.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 1.24.2;
};
};
ACB815382CFA146800104B7B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/firebase/firebase-ios-sdk.git";
Expand Down Expand Up @@ -768,6 +819,46 @@
package = AC0E49C22CEBA6F0002DC158 /* XCRemoteSwiftPackageReference "swift-secp256k1" */;
productName = secp256k1;
};
AC6BECA92D09D52B002E2021 /* CGRPCZlib */ = {
isa = XCSwiftPackageProductDependency;
package = AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */;
productName = CGRPCZlib;
};
AC6BECAB2D09D52B002E2021 /* GRPC */ = {
isa = XCSwiftPackageProductDependency;
package = AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */;
productName = GRPC;
};
AC6BECAD2D09D52B002E2021 /* GRPCReflectionService */ = {
isa = XCSwiftPackageProductDependency;
package = AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */;
productName = GRPCReflectionService;
};
AC6BECAF2D09D52B002E2021 /* protoc-gen-grpc-swift */ = {
isa = XCSwiftPackageProductDependency;
package = AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */;
productName = "protoc-gen-grpc-swift";
};
AC6BECB12D09D541002E2021 /* CGRPCZlib */ = {
isa = XCSwiftPackageProductDependency;
package = AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */;
productName = CGRPCZlib;
};
AC6BECB32D09D541002E2021 /* GRPC */ = {
isa = XCSwiftPackageProductDependency;
package = AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */;
productName = GRPC;
};
AC6BECB52D09D541002E2021 /* GRPCReflectionService */ = {
isa = XCSwiftPackageProductDependency;
package = AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */;
productName = GRPCReflectionService;
};
AC6BECB72D09D55B002E2021 /* protoc-gen-grpc-swift */ = {
isa = XCSwiftPackageProductDependency;
package = AC6BECA82D09D52B002E2021 /* XCRemoteSwiftPackageReference "grpc-swift" */;
productName = "protoc-gen-grpc-swift";
};
ACB815472CFA146800104B7B /* FirebaseCore */ = {
isa = XCSwiftPackageProductDependency;
package = ACB815382CFA146800104B7B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "e83acd66c47b7b14963301da43d3bb7254e3f7caa10d651f8f0f22850a65d063",
"originHash" : "a0965f4e9b93edf9c178ef89aced2538f8fa62f7e25153cc3136373d5a8ed2b1",
"pins" : [
{
"identity" : "abseil-cpp-binary",
Expand Down Expand Up @@ -64,6 +64,15 @@
"version" : "1.65.1"
}
},
{
"identity" : "grpc-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/grpc/grpc-swift.git",
"state" : {
"revision" : "8c5e99d0255c373e0330730d191a3423c57373fb",
"version" : "1.24.2"
}
},
{
"identity" : "gtm-session-fetcher",
"kind" : "remoteSourceControl",
Expand Down Expand Up @@ -109,6 +118,87 @@
"version" : "2.4.0"
}
},
{
"identity" : "swift-atomics",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-atomics.git",
"state" : {
"revision" : "cd142fd2f64be2100422d658e7411e39489da985",
"version" : "1.2.0"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections.git",
"state" : {
"revision" : "671108c96644956dddcd89dd59c203dcdb36cec7",
"version" : "1.1.4"
}
},
{
"identity" : "swift-http-types",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-http-types",
"state" : {
"revision" : "ef18d829e8b92d731ad27bb81583edd2094d1ce3",
"version" : "1.3.1"
}
},
{
"identity" : "swift-log",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-log.git",
"state" : {
"revision" : "96a2f8a0fa41e9e09af4585e2724c4e825410b91",
"version" : "1.6.2"
}
},
{
"identity" : "swift-nio",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio.git",
"state" : {
"revision" : "dca6594f65308c761a9c409e09fbf35f48d50d34",
"version" : "2.77.0"
}
},
{
"identity" : "swift-nio-extras",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-extras.git",
"state" : {
"revision" : "2e9746cfc57554f70b650b021b6ae4738abef3e6",
"version" : "1.24.1"
}
},
{
"identity" : "swift-nio-http2",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-http2.git",
"state" : {
"revision" : "eaa71bb6ae082eee5a07407b1ad0cbd8f48f9dca",
"version" : "1.34.1"
}
},
{
"identity" : "swift-nio-ssl",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-ssl.git",
"state" : {
"revision" : "c7e95421334b1068490b5d41314a50e70bab23d1",
"version" : "2.29.0"
}
},
{
"identity" : "swift-nio-transport-services",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-transport-services.git",
"state" : {
"revision" : "bbd5e63cf949b7db0c9edaf7a21e141c52afe214",
"version" : "1.23.0"
}
},
{
"identity" : "swift-protobuf",
"kind" : "remoteSourceControl",
Expand All @@ -126,6 +216,15 @@
"revision" : "57ce9af6db14e0114af631ace25231a9d0ccccbd",
"version" : "0.18.0"
}
},
{
"identity" : "swift-system",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-system.git",
"state" : {
"revision" : "c8a44d836fe7913603e246acab7c528c2e780168",
"version" : "1.4.0"
}
}
],
"version" : 3
Expand Down
Loading

0 comments on commit 4cb8f8f

Please sign in to comment.