This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pre-Integration script that works with mapbox/ios-sdk-examples#416
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 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,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 |