Skip to content

Commit

Permalink
Change the xcode version from 10.0.0 to 9.2.0 to fix the release cart…
Browse files Browse the repository at this point in the history
…hage issue (aws-amplify#1099)
  • Loading branch information
Chunqiang SUN authored and rohandubal committed Nov 12, 2018
1 parent e242bce commit e7f47a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
release_carthage:
# Specify the Xcode version to use
macos:
xcode: "10.0.0"
xcode: "9.2.0"

steps:
- checkout
Expand Down
6 changes: 3 additions & 3 deletions CreateCarthageArchive.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# carthage archive | tee "carthageout.txt"
frameworkfilename=$(carthage archive | grep -o 'Created .*\.zip$' | grep -o '\S*\.zip$')

carthage archive | tee "carthageout.txt"
ls *.zip
frameworkfilename=$(cat carthageout.txt | grep -o 'Created .*\.zip$' | grep -o '\S*\.zip$')
if [ -z "$frameworkfilename" ];then
echo "Cannot find framework zip file from output of carthage archive"
exit 1
Expand Down

0 comments on commit e7f47a3

Please sign in to comment.