Skip to content
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

✨ Added a shell script to create the XCFramework needed when developing the iOS side. #1161

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/assemble_xc_framework.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/zsh

cd ../
./gradlew :app-io-shared:assembleSharedReleaseXCFramework
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug alone was not enough, so we also ran the assembleXCFramework in Release.

Copy link
Member

@takahirom takahirom Sep 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the iOS app currently doesn't use a debug framework so maybe we can remove it?
It is better to be able to use it to streamline the build though.

Copy link
Member

@takahirom takahirom Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have strong opinion about this but there are a fastlane script to do this. Maybe iOS enginers are familiar with that way.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have any opinion on this? @RyuNen344

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@takahirom @RyuNen344 @ry-itto
Our goal is to facilitate iOS development, so of course if there is a better way, we would prefer it.🙌

./gradlew :app-io-shared:assembleSharedDebugXCFramework
echo -e "\a"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I specified this because I want a sound to be played when the output is completed.

Loading