Skip to content

Commit

Permalink
Update package_script.sh,echo xcode version
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaBilbo authored Oct 11, 2024
1 parent eb50074 commit cb69e73
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions iOS/APIExample-SwiftUI/package_script.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

xcode_version=$(xcodebuild -version)
echo "Xcode Version Information:"
echo "$xcode_version"

http_proxy=http://10.10.114.51:1080 https_proxy=http://10.10.114.51:1080 pod install --repo-update
if [ $? -eq 0 ]; then
Expand All @@ -14,4 +16,4 @@ current_datetime=$(date +'%Y-%m-%d_%H-%M-%S')
echo $current_datetime
project_name=$(echo $script_path | rev | cut -d'/' -f1 | rev)
echo $project_name
zip -r ${project_name}_${current_datetime}.zip .
zip -r ${project_name}_${current_datetime}.zip .

0 comments on commit cb69e73

Please sign in to comment.