lundi 4 mai 2015

Use of undeclared identifier Amazons3client

I am trying to follow the tutorial http://ift.tt/1o3FFqc for uploading images to an s3 bucket. This code throws an error saying use of undeclared identifier Amazons3client and use of undeclared identifier s3. I have searched and have tried adding multiple imports and none have worked.

#import "AmazonObjcStuff.h"
#import <AWSCore/AWSCore.h>
#import <AWSS3/AWSS3.h>



@implementation AmazonObjcStuff : NSObject


- (void) someMethod {
    NSLog(@"SomeMethod Ran");
    AmazonS3Client *s3 = [[[AmazonS3Client alloc] initWithAccessKey:"************" withSecretKey:"*****************************"] autorelease];
}

@end




Aucun commentaire:

Enregistrer un commentaire