Hi Andrew,
The most commonly used one (worldwide) is myfitness pal. It sets these requirements for you based on your personal details (height/weight/body comp goals) and activity levels. You have to pay to be able to adjust macros. Myfitness pal also syncs with Training Peaks if you are setting out your training plan using this platform.
Alternatively you can just use a spread sheet and calculate the nutrition content of the foods you are consuming using food databases such as https://nutritiondata.self.com or https://fdc.nal.usda.gov This way you can set your own energy and macro nutrient requirements and track.
There are a lot of other tracking apps it’s a case of testing some out and seeing which ones are your preference. Many of them are based around weight loss.
Perhaps others will contribute to your post and offer other suggestions.
Hope this helps
Rebecca – Uphill Athlete Dietitian