In
xcode, open the branch you want to merge from. Then click
Source Control-->Switch To Branch and (in the list) choose the branch you want to merge to.
xcode will open the branch you selected.
Now, select
Source Control-->Merge from Branch and select the branch you want to merge from (the one opened at the beginning).