Add supper for Extension and  Framework targets

You can use `-[NSBundle sharedFrameworksPath]` here instead.