Xcode Multiple Dependencies in Multiple platform app

I have an app for Mac OS and iOS in the same project. I am trying to use Mongokitten, Nio, and a Nio extension. However the last dependency keeps on disappearing and sometimes the other two. does anyone knows a fix to disappearing dependencies even though they are imported just fine.