Skip to content

Commit

Permalink
Add cases
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom committed Aug 25, 2024
1 parent b9f6702 commit a26f59b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions app-ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,23 @@ Sometimes an error will occur if the JDK versions do not match. In the case of a
You select Xcode > Settings > Locations and set your $JAVA_HOME path manually.
JFYI: https://qiita.com/nacho4d/items/6d04c9287c55c26fca95
### Case3: You are using x86_64 Mac and want to build the project
If you are using x86_64 Mac and want to build the project, you need to specify the architecture when building XCFramework.
```shell
./gradlew app-ios-shared:assembleSharedXCFramework -Papp.ios.shared.arch=x86_64 --no-configuration-cache
```
Then, you can build the project with Xcode.
### Case4: Want to build the project for the device
If you want to build the project for the device, you need to specify the architecture when building XCFramework.
```shell
./gradlew app-ios-shared:assembleSharedXCFramework -Papp.ios.shared.arch=arm64 --no-configuration-cache
```
Then, you can build the project with Xcode.

0 comments on commit a26f59b

Please sign in to comment.