A little dishwater soap usually has enough scent to discourage ants and other pests, for a little while. It works best against aphids, because dishwater is so slippery, the bugs have a harder time hanging onto the smooth surfaces when it is soapy wet.
Do not overdo it. Spaying soapy water too frequently eventually deteriorates the protective woody or waxy coating all plants have.
I have had success growing apple from seed, but was not able to keep them alive after the second year. Either the trees were not strong and disease resistant, or my soil choice was all wrong.
The secret to starting the apple seed is to keep the seed lightly moist in a very cold place for 3 to 5 months until the roots sprout. Check weekly. A sandwich bag with a paper towel inside is perfect. Leave it in the coldest part of the fridge, or in the freezer door.
Check out my past results:
Young seed grown trees seem to be better protected when growing in clusters when younger. Maybe because it gives the roots and trunk better strength and protection against extreme temperatures and wind, or the soil stays healthier.
https://ecency.com/bonsai/@creativetruth/apple-trees-first-year-saplings-in-a-cluster-bonsai
Young trees benefit from much more cool shade since the roots are shallow, while more mature tree need direct sunlight but still require the roots to stay cool if kept in a planter pot.
Good luck @cesarj21
Thank you so much for taking the time to give me all that wonderful advice, it really helps me a lot. I read, and I will try to apply all of it in my gardening, for I am but a beginner still. I will try a little bit of the soap, for the fruit flies and the ants.
Winter is approaching, so I might just get the apple seeds to a shady place in the garden, where they might sprout in the cold. You’ll see, next spring I’ll present to you my apple sprouts.
Best wishes to you.