close

前幾天升級Xcode到10.0後,原本的專案在建置時果不其然地又出現一堆警告,其中出現了 Not a Doxygen trailing comment,

解決方式是在 Build Settings -> Documentation Comments,把它改成No,這樣就OK了

 

另外一個是

conflicting return type in implementation of 'BOOL' (aka 'bool') vs 'int'

這個就把方法回傳型態改成bool就好了

arrow
arrow
    文章標籤
    Xcode
    全站熱搜

    Felix Tsai 發表在 痞客邦 留言(0) 人氣()