I had the same experience trying to write a plugin for Logic Pro early this year. None of the old documentation or examples were relevant, and I never did find anything from Apple that did work. I finally used someone else's framework as a starting point.