This commit is contained in:
Mayel de Borniol 2023-12-17 16:24:45 +00:00
parent 4fc61b9be5
commit 3f27c43219
4 changed files with 8 additions and 6 deletions

View file

@ -65,6 +65,7 @@ mogrify = "https://github.com/chaskiq/mogrify.git#identify-option"
#bonfire_encrypt = "https://github.com/bonfire-networks/bonfire_encrypt#main"
# phoenix_live_view = "https://github.com/phoenixframework/phoenix_live_view#main"
live_view_native = "https://github.com/bonfire-networks/live_view_native#wip"
# surface = "https://github.com/surface-ui/surface"
# surface_catalogue = "https://github.com/surface-ui/surface_catalogue" # Testing a UI component library

View file

@ -224,7 +224,7 @@
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
@ -386,8 +386,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/liveview-native/liveview-client-swiftui";
requirement = {
branch = main;
kind = branch;
kind = exactVersion;
version = "0.2.0-beta.2";
};
};
/* End XCRemoteSwiftPackageReference section */

View file

@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/liveview-native/liveview-client-swiftui",
"state" : {
"branch" : "main",
"revision" : "bfeda67de2d77e671ed1a101385a0e91f2cfe7e8"
"revision" : "862e3c95b49bf8fedfb199bbd092f1a0774a1b35",
"version" : "0.2.0-beta.2"
}
},
{

View file

@ -3,6 +3,7 @@ import LiveViewNative
struct ContentView: View {
var body: some View {
LiveView(.automatic(development: .localhost(port: 4000, path: "/"), production: .custom(URL(string: "https://campground.bonfire.cafe/")!)))
LiveView(.automatic(URL(string: "https://campground.bonfire.cafe/")!))
// LiveView(.automatic(development: .localhost(port: 4000, path: "/"), production: .custom(URL(string: "https://campground.bonfire.cafe/")!)))
}
}