-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/allow-content-to-be-displaye-statusb…
…ar-when-scrolling
- Loading branch information
Showing
10 changed files
with
104 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
|
||
# Check if SDK_NAME and ARCHS environment variables are set | ||
if [ -z "$SDK_NAME" ] || [ -z "$ARCHS" ]; then | ||
echo "Error: SDK_NAME or ARCHS environment variable is not set" | ||
exit 1 | ||
fi | ||
|
||
# Initialize the target architecture | ||
target_arch="" | ||
|
||
# Determine the target architecture based on SDK_NAME and ARCHS | ||
if [[ "$SDK_NAME" == *"simulator"* ]]; then | ||
if [[ "$ARCHS" == *"arm64"* ]]; then | ||
target_arch="arm64SimulatorDebug" | ||
elif [[ "$ARCHS" == *"x86_64"* ]]; then | ||
target_arch="x86_64" | ||
fi | ||
elif [[ "$SDK_NAME" == *"iphoneos"* ]] && [[ "$ARCHS" == *"arm64"* ]]; then | ||
target_arch="arm64" | ||
fi | ||
|
||
# Check if a valid target architecture was determined | ||
if [ -z "$target_arch" ]; then | ||
echo "Error: Unable to determine target architecture from SDK_NAME=$SDK_NAME and ARCHS=$ARCHS" | ||
exit 1 | ||
fi | ||
|
||
# Execute Gradle command with the determined architecture | ||
echo "Building for architecture: $target_arch" | ||
./gradlew assembleSharedXCFramework --no-configuration-cache -Papp.ios.shared.arch=$target_arch | ||
|
||
echo "Build completed for $target_arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters