3
請幫幫忙,我想我要瘋了,但我有一個現有的應用程序,它是專爲32位的標準設備。然而,當我在它有問題的64位運行,我得到以下幾點:
CoreData: warning: Property 'jobId' is a 64 bit scalar type on class 'JobSummary'
that does not match its entity's property's 32 bit scalar type.
Implicit coercion to 32 bits in the database is not recommended.
jobId
是NSInteger
是他們的事情,我需要做它在兩個工作嗎?目前它是一個或另一個。
問題是'int','NSNumber'等等是他們想要的。他們從平臺變爲平臺,實際上是不可移植的。 – 2014-08-28 11:29:58
與基元不同,NSNumber應該是可移植的。 – 2014-10-29 10:33:30