It depends on the specific license of the framework/library and this means you need to investigate it case by case as part of your due diligence. A lot of times you stumble across GREAT samples that are maybe licensed as GPL, for instance, and you know that including them in a binary app is NOT the legit way to go. But I believe al lot of what you need is either based on BSD or other loosely worded licenses that allow you to do with them whatever you like, including using and distributing them commercially at no cost.