I've always been partial to the idea that kids (and adults) who don't like vegetables don't like them not because vegetables are tasteless and disgusting, but rather that how they are prepared makes them tasteless and disgusting. You can make most vegetables pretty tasty just by cooking them in a way that makes them so.
I think that same idea could work here.
I know dark chocolate isn't the sweetest thing in the world and is a bit of an acquired taste. So you may have to do some things to make it more palatable for your daughter. The easiest thing that comes to my mind is to put dark chocolate chips in cookies. You could also dip strawberries or other fruit in dark chocolate. Go hit up Google for some ideas.
Boiled nuts fall in that same category where it takes some getting used to them to like them plain. It might be worth trying to add a honey glaze to them or season them with different spices (maybe a BBQ seasoning mix or something reminiscent of sweet and sour sauce). If it still works, you could try incorporating the nuts into peanut brittle or something like that. Again, Google will be your friend here.
Try different things. Try lots of different things. Involve your daughter in deciding what to make and in actually making it. Hopefully you can find a solution.
If you are still struggling, ask her doctor for ideas or other treatments. I can't imagine they've never seen someone who couldn't stand boiled nuts before or don't have some other treatments available. Get a second opinion if her primary doctor isn't helpful.
If all else fails, you may have to explain that even though it sucks, your daughter still just needs to do it like taking any other nasty medicine. Use this as a last resort.