Skip to content

Commit

Permalink
Setup iOS demo app to run
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedol committed Dec 20, 2024
1 parent 7b87f2e commit 1127485
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ios/app/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"YES\" = \"$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED\" ]; then\n echo \"Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \\\"YES\\\"\"\n exit 0\nfi\ncd \"$SRCROOT/..\"\n./gradlew :composeApp:embedAndSignAppleFrameworkForXcode\n";
shellScript = "if [ \"YES\" = \"$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED\" ]; then\n echo \"Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \\\"YES\\\"\"\n exit 0\nfi\ncd \"$SRCROOT/../..\"\n./gradlew :ios:framework:embedAndSignAppleFrameworkForXcode\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down Expand Up @@ -390,4 +390,4 @@
/* End XCConfigurationList section */
};
rootObject = 7555FF73242A565900829871 /* Project object */;
}
}
Binary file not shown.
4 changes: 2 additions & 2 deletions ios/app/iosApp/ContentView.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import UIKit
import SwiftUI
import ComposeApp
import ComposeDataTableKt

struct ComposeView: UIViewControllerRepresentable {
func makeUIViewController(context: Context) -> UIViewController {
MainViewControllerKt.MainViewController()
MainViewControllerKt.mainViewController()
}

func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {

rootProject.name = "compose-data-table"

include(":android", ":desktop", ":ios", ":demo-common", ":data-table", ":data-table-material3")
include(":android", ":desktop", ":ios:framework", ":demo-common", ":data-table", ":data-table-material3")

refreshVersions {
file("build/tmp/refreshVersions").mkdirs()
Expand Down

0 comments on commit 1127485

Please sign in to comment.