Skip to content

Commit

Permalink
revert deleting i386 for simulator
Browse files Browse the repository at this point in the history
Because simulator of old device type (like 'iPhone 5') needs i386 binary.
If remove i386, it can't launch the app on 'iPhone 5' device.
  • Loading branch information
Watson1978 committed Jan 9, 2015
1 parent 3db51d8 commit a7e2d90
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/motion/project/template/ios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ def pre_build_actions(platform)

desc "Build the simulator version"
task :simulator do
# No longer build for i386 by default.
App.config.archs['iPhoneSimulator'].delete('i386') if App.config.archs['iPhoneSimulator'].include?('x86_64')

pre_build_actions('iPhoneSimulator')
App.build('iPhoneSimulator')
end
Expand Down

0 comments on commit a7e2d90

Please sign in to comment.