Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
Pre-Integration script that works with mapbox/ios-sdk-examples#416
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabs committed Oct 5, 2020
1 parent 8e78c67 commit d20341c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions examples/mapbox/ios-sdk-examples_pod_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/sh
# Pre-Integration Script
# Bot: ios-sdk-examples main Examples Bot
# Script: ios_sdk_examples_pod_install

# MARK: - Update PATH
echo $PATH
export PATH=/usr/local/bin:.:$PATH
echo $PATH

# set verbose
set -v

cd ${XCS_PRIMARY_REPO_DIR}
pwd

# MARK: - project specific build commands

# WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
export LANG=en_US.UTF-8

# Versions of build dependencies
pod --version

# This version is heavy with pod
pod install --repo-update
wait

echo xed ${XCS_PRIMARY_REPO_DIR}/Examples.xcworkspace
wait

set +v

xcodebuild -showBuildSettings | grep PRODUCT_BUNDLE_IDENTIFIER
xcodebuild -showBuildSettings | grep CURRENT_PROJECT_VERSION
xcodebuild -showBuildSettings | grep CURRENT_SEMANTIC_VERSION
xcodebuild -showBuildSettings

0 comments on commit d20341c

Please sign in to comment.