Я просто обновляюсь до Xcode 6 и теперь в FacebookSDK.framework > Заголовки > FBOpenGraph.h У меня есть 2 предупреждения, которые читают
'atomic' attribute on property 'description' does not match the property inherited from NSObject
И второй читает
'copy' attribute on property 'description' does not match the property inherited from NSObject
Оба этих предупреждения в строке 69 в коде я добавил комментарий чуть выше этой строки Это файл .h, который я принимаю
/*
* Copyright 2010-present Facebook.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#import <Foundation/Foundation.h>
#import "FBGraphObject.h"
/*!
@protocol
@abstract
The `FBOpenGraphObject` protocol is the base protocol for use in posting and retrieving Open Graph objects.
It inherits from the `FBGraphObject` protocol; you may derive custome protocols from `FBOpenGraphObject` in order
implement typed access to your application custom objects.
@discussion
Represents an Open Graph custom object, to be used directly, or from which to
derive custom action protocols with custom properties.
*/
@protocol FBOpenGraphObject<FBGraphObject>
/*!
@property
@abstract Typed access to the object id
*/
@property (retain, nonatomic) NSString *id;
/*!
@property
@abstract Typed access to the object type, which is a string in the form mynamespace:mytype
*/
@property (retain, nonatomic) NSString *type;
/*!
@property
@abstract Typed access to object title
*/
@property (retain, nonatomic) NSString *title;
/*!
@property
@abstract Typed access to the object image property
*/
@property (retain, nonatomic) id image;
/*!
@property
@abstract Typed access to the object url property
*/
@property (retain, nonatomic) id url;
/*!
@property
@abstract Typed access to the object description property
*/
//*******************************************
//the line below this is where the warnings are
//&*********************************************
@property (retain, nonatomic) id description;
/*!
@property
@abstract Typed access to action data, which is a dictionary of custom properties
*/
@property (retain, nonatomic) id<FBGraphObject> data;
@end
Я также получаю эту ошибку, когда я запускаю свое приложение, не уверен, что это означает либо
registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later.
Спасибо за помощь заранее.