Q.How to Get Fig Trees to Bear Fruit
(2) Fig trees will not produce any fruit. Trees are pruned and covered in late fall and uncovered in spring. Dead or unhealthy branches are cut away and trees appear to grow healthy branches and leaves in spring and summer, but produce no figs.

Certified GKH Gardening Expert
There are actually various reasons as to why the trees may not be producing, and pinpointing the cause is the only way to fix the issue. This article should help you with that: https://www.gardeningknowhow.com/edible/fruits/figs/fig-tree-is-producing-fruit.htm