Place the bacon cubes on a frying pan over medium heat and cook until golden.
200 g bacon
Split the onion lengthwise and cut it into thin slices. Add the onions to the pan along with the bacon, and turn the heat down slightly. Fry until the onions collapse and become clear.
1 onion
Add the apple cubes and sprinkle with sugar. Let the apples simmer in the pan until they are soft and slightly cooked. There should be some apple pieces left so that it doesn't become completely mush. Taste and add more sugar if needed.