Revert "Fix framework search paths for recent Xcodes, in a hopefully-backwards-compatible way..."

This reverts commit 2ec55c1404fe7368a03a53beff4596577654876c.