我製作了一個應用程序(我的第一個應用程序),並啓用了ARC,分佈式應用程序(不在應用程序庫上),並開始獲取它在某些Mac上崩潰的報告。經過嘗試和他們的幫助後,我們發現問題是他們有一個32位處理器。所以我禁用了ARC,將該版本設置爲x86_64並且收到了一大堆錯誤消息。將SAFELY 64位應用程序轉換爲32/64位應用程序
所有的人都被分類了,現在我離開的警告(黃色的)的負載我。我擔心我忘記了一些事情,並且弄亂了記憶。你認爲什麼是最好的方式來從64位應用程序到32/64位應用程序而不會忘記什麼? 爲什麼ARC在第一時間使用,如果有很多Mac不兼容?
謝謝!
----- UPDATE ------
爲reuquested:
Update to recommended settings
Property 'delegate' requires method 'delegate' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
Property 'delegate' requires method 'setDelegate:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
'__bridge' casts have no effect when not using ARC
Variable 'loc_tip' is used uninitialized whenever 'if' condition is false
Variable 'loc_tip' is used uninitialized whenever '&&' condition is false
Conflicting parameter types in implementation of 'tableView:toolTipForCell:rect:tableColumn:row:mouseLocation:': 'NSInteger' (aka 'int') vs 'long'
我們很樂意看到實際的警告,以確定它們對應的潛在錯誤。 – 2013-03-07 12:08:08
「許多」在沒有數字的情況下頗具爭議;它當然不是「最」的,因爲自2006年以來,已經有64位兼容的Mac電腦,這是Macs去年的英特爾。第一款英特爾Mac僅擁有32位處理器,但大約一年之內,這些型號中的每一款都被兼容64位的後繼者取代。作爲一個非常粗略的猜測,人們可以說英特爾Mac 6/7中的人口是64位兼容的。 (爲了更好的估算,看到的Adium的和全方位集團的軟件更新的統計數據。) – 2013-03-08 05:23:50