Skip to content

EXC_BAD_ACCESS on function initWithAPIKey #21

Description

@hydex86

I'm getting an EXC_BAD_ACCESS when debugger is processing function initWithAPIWey on OFFlickrAPIContext class.

When debugger is at this point:

 - (id)initWithAPIKey:(NSString *)inKey sharedSecret:(NSString *)inSharedSecret
 {
    if ((self = [super init])) {
       key = [inKey copy];

On the last code line, I can see inKey has the value of the constant I defined on SampleAPIKey.h . inKey is a NSCFString and key is NSString. Key value is nil.

Do you know what could it happens? I'm using Xcode 4.

Thanks for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions