-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
chore(ios,mac): support build on Apple Silicon using Xcode 15.3 #11302
Merged
Merged
Changes from 6 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ad6095a
remove openjdk 8 dependency for ios builds
sgschantz 985d49b
script to call another script without cleaning environment
sgschantz 534741a
create separate script for setting the version of the bundle
sgschantz 2880661
tagged and untagged versions of set-bundle-versions script
sgschantz 00e850c
add script to update version string in settings
sgschantz f40e1ff
change all mac project settings minimum supported version from 10.10 …
sgschantz ebb6631
change macOS target version to 10.13, update versions in markdown fil…
sgschantz 99be7c9
updated version of Sentry to 8.24.0
sgschantz e883802
chore(mac): increase maximum size of dmg to 30MB
sgschantz 1a86ed2
chore(ios): force new build
mcdurdin a59850e
chore(ios): force new build
mcdurdin ec64a98
chore(ios): modify version scripts
sgschantz fbd4367
chore(ios): create script to upload sentry debug symbol file
sgschantz e7b2855
chore(ios): change from set -eu to set -e
sgschantz 3abcb35
chore(ios): exit build phase script to experiment
sgschantz 42e54da
chore(ios): experiment -> change order of build task 'Embed Frameworks'
sgschantz f9c699e
chore(ios): allow underscore to avoid unexpected Xcode 15.3 lint error
sgschantz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
# Calls script in xcode-utils to update the version | ||
# true: applies VERSION_WITH_TAG to custom KeymanVersionWithTag plist member used for in-app display | ||
# updates the version string for Settings | ||
|
||
source "$KEYMAN_ROOT/resources/build/xcode-utils.sh" | ||
|
||
phaseSetBundleVersions true | ||
|
||
setSettingsBundleVersion |
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,7 @@ | ||
#!/bin/bash | ||
|
||
# Calls script in xcode-utils to update the version | ||
# true: applies VERSION_WITH_TAG to custom KeymanVersionWithTag plist member used for in-app display | ||
|
||
source "$KEYMAN_ROOT/resources/build/xcode-utils.sh" | ||
phaseSetBundleVersions true |
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,6 @@ | ||
#!/bin/bash | ||
|
||
# Calls script in xcode-utils to update the version | ||
|
||
source "$KEYMAN_ROOT/resources/build/xcode-utils.sh" | ||
phaseSetBundleVersions |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's see if we can move this to resources/build/mac as well A18S1 |
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,11 @@ | ||
#!/bin/bash | ||
|
||
echo "wrap script for arch $(arch)" | ||
if [[ $(arch) == i386 ]] && [[ -f /usr/local/bin/bash ]]; then | ||
/usr/local/bin/bash -l "$@" || exit $? | ||
elif [[ $(arch) == arm64 ]] && [[ -f /opt/homebrew/bin/bash ]]; then | ||
/opt/homebrew/bin/bash -l "$@" || exit $? | ||
else | ||
>&2 echo "Could not start build due to missing homebrew bash" | ||
exit 55 | ||
fi |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be using
env
throughout to signify that we want the bash version from the path, even though we are attempting to run the scripts with the correct version of bash.