In my Firemonkey multi device project the IDE keeps adding the unit "FireDAC.VCLUI.Wait" to my uses in a data module of my project. This unit keeps me from building the project, because it can't resolve the name in Android or iOS. The strange thing is that it previously didn't do this and I haven't added/changed anything to this data module.
I know some component add units to the uses but as I said it's a firemonkey project not a VCL project so it shouldn't add this.
How can I keep the IDE from adding this unit?
Place a
IFDGUIxWaitCursorcomponent on your data module and set itsProviderproperty to'FMX'(FireMonkey).Remove that unit from the uses section, so the IDE will now set the one corresponding to Firemonkey instead of VCL.