-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
186 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
BUNDLE_PATH: "vendor/bundle" |
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,17 @@ | ||
# Description | ||
|
||
> Why is this change required? What problem does it solve? | ||
# Changes made | ||
|
||
> Please list the specific changes made in this pull request. | ||
# Checklist | ||
|
||
- The branch should be rebased onto the `develop` branch for whole tests. | ||
- [ ] APIs have been properly documented (if relevant). | ||
- [ ] The documentation has been updated (if relevant). | ||
- [ ] New unit tests have been written (if relevant). | ||
- [ ] All `UserObjectTestCase` tests has passed successfully locally, included flacky disabled ones. | ||
- [ ] The demo has been updated (if relevant). | ||
- [ ] Issues are linked to the PR, if any. |
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 |
---|---|---|
|
@@ -12,6 +12,5 @@ xcuserdata | |
/fastlane/*.xml | ||
|
||
/vendor | ||
/.bundle | ||
|
||
.vscode |
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 @@ | ||
3.1.3 |
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 @@ | ||
14.3 |
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
2 changes: 1 addition & 1 deletion
2
Demo/SRGUserData-demo.xcodeproj/xcshareddata/xcschemes/SRGUserData-demo.xcscheme
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 |
---|---|---|
|
@@ -7,4 +7,3 @@ | |
source 'https://rubygems.org' | ||
|
||
gem 'fastlane' | ||
gem 'xcode-install' |
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,24 @@ | ||
#!/bin/bash | ||
|
||
# This script attempts to apply write permission on XC mapping files, to avoid MappingModelCompile errors. | ||
# It should be applied as a pre-action of a target build. | ||
|
||
REPOSITORY_FOLDER=$1 | ||
|
||
echo "SRGUserData: pre-action started." | ||
|
||
if [[ -z "${REPOSITORY_FOLDER}" ]]; then | ||
echo "SRGUserData: a repository folder must be provided." | ||
exit 1 | ||
fi | ||
|
||
# Get SRGUserData CoreData checkout path. | ||
SRG_USER_DATA_DATA="${REPOSITORY_FOLDER}/Sources/SRGUserData/Data" | ||
|
||
if [[ -z "${SRG_USER_DATA_DATA}" ]]; then | ||
echo "SRGUserData: warning, SRGUserData Data folder does not exist." | ||
exit 0 | ||
fi | ||
|
||
find "$SRG_USER_DATA_DATA" -type d -name "*.xcmappingmodel" -exec chmod +w {}/xcmapping.xml \; | ||
echo "SRGUserData: the xcmapping.xml files have write permission now." |
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,25 @@ | ||
#!/bin/bash | ||
|
||
# This script attempts to install the local ruby version if not installed. | ||
|
||
REPOSITORY_FOLDER=$1 | ||
|
||
if [[ -z "${REPOSITORY_FOLDER}" ]]; then | ||
echo "A repository folder must be provided." | ||
exit 1 | ||
fi | ||
|
||
RUBY_VERSION=$(cat "${REPOSITORY_FOLDER}/.ruby-version") | ||
|
||
if [[ -z "${RUBY_VERSION}" ]]; then | ||
echo "A local ruby version must be provided in .ruby-version file. See rbenv local command." | ||
exit 1 | ||
fi | ||
|
||
if ! rbenv versions | grep "${RUBY_VERSION}" &> /dev/null; then | ||
echo "Need to install Ruby ${RUBY_VERSION}." | ||
rbenv install "${RUBY_VERSION}" | ||
echo "Ruby ${RUBY_VERSION} now installed." | ||
else | ||
echo "Ruby ${RUBY_VERSION} already installed." | ||
fi |
Oops, something went wrong.