Fixes in iOS and OSX files generator