There are many synthetic strategies that are available to prepare cocrystals.  However, it may be difficult to prepare single cocrystals for X-ray diffraction, as it has been known to take up to 6 months to prepare these materials.
Cocrystals are typically generated through slow evaporation of solutions of the two components.  This approach has been successful with molecules of complementary hydrogen bonding properties, in which case cocrystallization is likely to be thermodynamically favored. 
Many other methods exist in order to produce cocrystals.  Crystallizing with a molar excess of one cocrystal former may produce a cocrystal by a decrease in solubility of that one component.  Another method to synthesize cocrystals is to conduct the crystallization in a slurry.  As with any crystallization, solvent considerations are important.  Changing the solvent will change the intermolecular interactions and possibly lead to cocrystal formation.  Also, by changing the solvent, phase considerations may be utilized.  The role of a solvent in nucleation of cocrystals remains poorly understood but critical in order to obtain a cocrystal from solution.
Cooling molten mixture of cocrystal formers often affords cocrystals. Seeding can be useful.  Another approach that exploits phase change is sublimation which often forms hydrates.
Grinding, both heat and liquid-assisted, is employed to produce cocrystal, e.g., using a mortar and pestle, using a ball mill, or using a vibratory mill.  In liquid-assisted grinding, or kneading, a small or substoichiometric amount of liquid (solvent) is added to the grinding mixture.  This method was developed in order to increase the rate of cocrystal formation, but has advantages over neat grinding such as increased yield, ability to control polymorph production, better product crystallinity, and applies to a significantly larger scope of cocrystal formers.  and nucleation through seeding.
Supercritical fluids (SCFs) serve as a medium for growing cocrystals. Crystal growth is achieved due to unique properties of SCFs by using different supercritical fluid properties: supercritical  solvent power, anti-solvent effect and its atomization enhancement.
Using intermediate phases to synthesize solid-state compounds is also employed. The use of a hydrate or an amorphous phase as an intermediate during synthesis in a solid-state route has proven successful in forming a cocrystal.  Also, the use of a metastable polymorphic form of one cocrystal former can be employed.  In this method, the metastable form acts as an unstable intermediate on the nucleation pathway to a cocrystal.  As always, a clear connection between pairwise components of the cocrystal is needed in addition to the thermodynamic requirements in order to form these compounds.
Importantly, the phase that is obtained is independent of the synthetic methodology used. It may seem facile to synthesize these materials, but on the contrary the synthesis is far from routine.