Update to 1.2.8
Add the required and optional frameworks in the linkwith attribute