用cocopods安装RestKit后遇到一个奇怪的问题。 在用cocopods解决我项目的RestKit依赖项并试图构build它之后,我面对这个错误: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 我search,但无法find任何明确的解决scheme。 这里有一些镜头: PODS: – AFNetworking (1.3.3) – RestKit (0.20.3): – RestKit/Core – RestKit/Core (0.20.3): – RestKit/CoreData – RestKit/Network – RestKit/ObjectMapping – RestKit/CoreData (0.20.3) – RestKit/Network (0.20.3): – AFNetworking (~> 1.3.0) – RestKit/ObjectMapping – RestKit/Support – SOCKit […]
我对RestKit是全新的,我正在挣扎。 JSON: { "teams": [ { "id": 1, "name": "Team A" }, { "id": 2, "name": "Team B" } ], "users": [ { "id": 1, "name": "cameron", "teamId": 1 }, { "id": 2, "name": "paul", "teamId": 2 } ] } CoreData: @interface Team : NSManagedObject @property (nonatomic, retain) NSNumber * teamId; @property (nonatomic, retain) NSString […]