-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README.md for Compose Multiplatform/iOS development is required. #789
Comments
I may be able to create a draft for now, but I'm not quite sure if it will be correct. |
We are experiencing some issues with X64 architecture. However, for ARM users, we can refer to the README in the app-ios directory of the DroidKaigi 2024 conference app repository. I believe we are facing two distinct problems: running the app on a physical device and running it on an X64 |
Related discussion: |
I've added the Trouble shooting |
I can confirm that the build was successful on x64 after following the revised instructions! The current script will always build both debug and release builds, however, which adds a lot of time to each build. Maybe we could constrain it to just the debug build for normal development, and then create a separate release pipeline for that variant? |
@mannodermaus I agree. Could you rename it to "x86_64Debug" or something similar, and filter the debug version as "arm64SimulatorDebug"? |
@takahirom
|
@takahirom |
@takahirom I have patched it locally so that the configuration in Xcode dictates which XCFramework to build (debug or release). This works fairly well. I'll submit this proposal as a PR shortly and you can decide what to do with it. 🙇♂️
# Initialize the target architecture
target_arch=""
+target_configuration=""
+if [[ "$CONFIGURATION" == *"Debug"* ]]; then
+ target_configuration="Debug"
+elif [[ "$CONFIGURATION" == *"Release"* ]]; then
+ target_configuration="Release"
+fi
-./gradlew assembleSharedXCFramework --no-configuration-cache -Papp.ios.shared.arch=$target_arch
+./gradlew assembleShared${target_configuration}XCFramework --no-configuration-cache -Papp.ios.shared.arch=$target_arch |
@Corvus400 However, I think you can run @mannodermaus Thanks! |
@takahirom |
@takahirom The steps we tried are as follows
|
A fair amount of knowledge should be required, but nowhere is it mentioned what operations are needed to build the environment or in everyday development.
It might be nice if the README.md was placed in a module such as app-ios-shared and linked from the README.md in the project root.
The text was updated successfully, but these errors were encountered: