Hurdles such as beauracracy, bribes, constant handing out of money, being seen as a cash cow. It takes a lot of time and patience. The more contacts in local gov't you have and the more money you can give them under the table, the faster things can/will get done. Money and contacts speak huge volumes here. Once you buy the land you have to find out if there are restrictions and you may have to get a VNA and you have to find reliable people to manage and build and this is NO EASY Feast. A local's definition of reliability is not the same a Europeans. Money flows from your bank account like water. Be prepared to spend much more than you are origianlly quoted. Time delays, shoddy work. You must be on site to surpervise daily. Can't rely on anyone but yourself to supervise. No matter what someone may tell you. You MUST be here yourself.
Speaking French helps, but the workers generally only speak Arab. Do you speak any of these?
Yes there are estate agents, notaries, bankers, etc, but it is not like in the UK. You are very much on your own. If you can't be here on a daily basis to supervise and watch and instruct, forget it. Yes, no problem is the mantra here, but guaranteed, there will be problems, because what you may think is common sense, is not so here, often just the opposite.
Just by asking these questions, I really do not think you are up to it. No offence, just honest help. Been there, done that. In all honesty, buy a ready built property. You may still make capital gains and you will also keep your youth.
I do not sell real estate, nor am I a developer or promoter, so I think I can advise you in an unbiased manner.
I hope I do not sound too bitter, I am not. I and many other Europeans living here have learnt the hard way. I have not candy coated it, but have given it to you straight up. Good luck in whatever you do. I am sure there is capital gains still to be made in Marrakech but prices are continually climbing.