fixed bug support xcode 6
update gitignore file