Xcode4加快方法

  • 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.

Xcode4加快方法:2011年11月10日星期四

Xcode4很慢,尤其在舊Mac上(我的Mac mini是2GHz Intel Core 2 Duo,memory 1G DDR2、Bus 667Mhz),以下是三個加快方法(注意:先用Xcode4打開Xcode3的project或已用Xcode4產生了project):

1. Xcode4此時是關閉的,找到Xcode4所在位置,我的情形是Macintosh HD/Developer/Developer4,用右鍵Click Macintosh HD/Developer/Developer4/Applications/Xcode/簡介(如圖一),此時出現圖二,勾選"在32位元模式中開啟"(如圖二星號處)

 

圖一:

圖二:

 

2. 在Xcode4開啟後,Click Xcdoe/Preference(如圖三),此時出現圖四,不勾選"Show live issues 啟"(如圖四星號處)

圖三:

圖四:

(3) Xcode4此時是關閉的,找到project所在位置,我的情形Lab1,用右鍵Click Lab1.xcodeproj/顯示套件內容(如圖一),此時出現圖二,右鍵Click"project.xcworkspace"/丟到拉圾桶(如圖二星號處)

圖五:

圖六:

 

本文參考:

http://stackoverflow.com/questions/6355667/xcode-4-slow-performance