Skip to content

Instantly share code, notes, and snippets.

View vojtaBelovsky's full-sized avatar

Vojta Belovsky vojtaBelovsky

View GitHub Profile
# 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"