Update Gemfile and Rakefile to work with TestFlight