在Xcode 5.0.1中,以iOS6測試

  • warning: Declaration of views_handler_argument::init(&$view, &$options) should be compatible with views_handler::init(&$view, $options) in /home/xnvgu7/public_html/sites/all/modules/views/handlers/views_handler_argument.inc on line 745.
  • warning: Declaration of views_handler_filter::options_validate(&$form, &$form_state) should be compatible with views_handler::options_validate($form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/handlers/views_handler_filter.inc on line 585.
  • warning: Declaration of views_handler_filter::options_submit(&$form, &$form_state) should be compatible with views_handler::options_submit($form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/handlers/views_handler_filter.inc on line 585.
  • warning: Declaration of views_handler_filter_boolean_operator::value_validate(&$form, &$form_state) should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 149.
  • warning: Declaration of views_plugin_style_default::options(&$options) should be compatible with views_object::options() in /home/xnvgu7/public_html/sites/all/modules/views/plugins/views_plugin_style_default.inc on line 25.
  • warning: Declaration of views_plugin_row::options_validate($form, &$form_state) should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • warning: Declaration of views_plugin_row::options_submit($form, &$form_state) should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.

有了iOS7,必需將Xcode升級到Xcode 5,但是iOS simulator只有iOS7。若要測iOS6,該如何做?

現在以Xcode 5.0.1為例,教大家如何在Xcode 5.0.1中測試iOS6:

  1. Product/Destination/More Simulators。
  2. 會出現下載畫面,有「iOS 6.1 Simulator」及「iOS6.0 Simulator」可下載。
  3. 下載後,Product/Destination/iPhone及其他各個device都會出現iOS7丶iOS6.1丶iOS6.0可供選擇。
  4. 此時,Run,會出現iOS Simulator failed to install the application.
  5. 到iOS Simulator內,去除那個app即可。參考http://stackoverflow.com/questions/18746093/xcode-5-ios-simulator-failed-to-install-application-every-time-i-switch-simu answer94。