This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'pathname' | |
APP_ROOT_PATH = Pathname.new File.expand_path('../', __FILE__) | |
POD_ROOT_PATH = Pathname.new File.expand_path("#{APP_ROOT_PATH}/Pods") | |
POD_LOCK_PATH = Pathname.new File.expand_path("#{APP_ROOT_PATH}/Podfile.lock") | |
# This script fixes common build hiccups, | |
# such as corrupt Xcode index or cocoapods being out of sync | |
Dir.chdir APP_ROOT_PATH do |