From 30538ace803d5c6933eb9eb61ba79e56a47cca53 Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 6 Jan 2015 20:54:22 +0900 Subject: [PATCH] revert deleting i386 for simulator 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. --- NEWS | 2 -- lib/motion/project/template/ios.rb | 3 --- 2 files changed, 5 deletions(-) diff --git a/NEWS b/NEWS index bd3dbe55..64c96657 100644 --- a/NEWS +++ b/NEWS @@ -7,8 +7,6 @@ * [iOS] Fixed a bug where it couldn't debug with `rake device debug=1' on device. Now, debugging only support `armv7' in `app.archs['iPhoneOS']'. (i.e. app.archs['iPhoneOS'] = ['armv7']) - * [iOS] Removed compiling `i386' for iOS simulator in order to reduce compile - time. By default, `x86_64' only will be built for simulator. * [iOS] Fixed a bug where it could not deploy app to iOS 8.2 beta 3 device. * [iOS] Fixed a bug where it could not deploy app which contained Watch app. * [OSX] Fixed a bug where NSString#initWithXXX would trigger a crash by double diff --git a/lib/motion/project/template/ios.rb b/lib/motion/project/template/ios.rb index 0475fba1..80044e9c 100644 --- a/lib/motion/project/template/ios.rb +++ b/lib/motion/project/template/ios.rb @@ -64,9 +64,6 @@ namespace :build do 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