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
# Copy resolve_conflicts.sh file to the root of your project ( where .xcodeproj package is ) | |
# Open terminal, navigate to the project's folder and run the script using command: sh resolve_conflicts.sh | |
# All credits goes to Sergey Chehuta | |
projectfile=`find -d . -name 'project.pbxproj'` | |
projectdir=`echo *.xcodeproj` | |
projectfile="${projectdir}/project.pbxproj" | |
tempfile="${projectdir}/project.pbxproj.out" | |
savefile="${projectdir}/project.pbxproj.mergesave" |