Skip to content

Commit

Permalink
setup makefile, readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ry-itto committed Aug 10, 2024
1 parent 8d40d22 commit 0c0accc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
10 changes: 7 additions & 3 deletions app-ios/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ SCHEME_NAME_APP := DroidKaigi2024App
setup:
brew bundle --no-lock


.PHONY: open
open:
open $(PROJECT_FILE)
Expand All @@ -21,6 +20,11 @@ build-app-debug: build-kmp-module
xcodebuild -project $(PROJECT_FILE) \
-scheme $(SCHEME_NAME_APP) \
-configuration Debug \
-destination 'generic/platform=iOS Simulator' \
clean build
-destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5" \
clean build | xcbeautify

# Gradle Utility
.PHONY: gradle-clean
gradle-clean:
cd .. && \
./gradlew --stop && ./gradlew clean
1 change: 1 addition & 0 deletions app-ios/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ let package = Package(
.target(
name: "TimetableFeature",
dependencies: [
.kmpClient,
.kmpModule,
.firebaseAuth,
.firebaseRemoteConfig,
Expand Down
10 changes: 2 additions & 8 deletions app-ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ Official iOS App for DroidKaigi 2024.
### Must

- Xcode 15.4 or higher

- You can install via [Xcodes](https://www.xcodes.app/) (Recommended)

- JDK 17
- You can install via [SDKMAN](https://sdkman.io)

### Option

- Homebrew
- for Build output formatting

Expand All @@ -26,14 +28,6 @@ Official iOS App for DroidKaigi 2024.
This iOS app's almost all of source code is located in Swift Package Manager source. This structure is inspired by [isowords](https://github.com/pointfreeco/isowords).
The feature modules in this iOS app are made independent of each other. (e.g. `TimetableFeature` shouldn't depend on `TiemtableDetailFeature`. )

### App Module

```mermaid
```

## For your information

- Now DroidKaigi 2024 iOS App supports only Xcode. Build and run from Android Studio may not work.


0 comments on commit 0c0accc

Please sign in to comment.