Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode4 Support #1

Closed
max-mapper opened this issue Jun 10, 2011 · 4 comments
Closed

XCode4 Support #1

max-mapper opened this issue Jun 10, 2011 · 4 comments

Comments

@max-mapper
Copy link

Hey Andrew,

Finally getting around to kicking the tires on this bad boy and I've run into a couple of speedbumps.

After changing the include files as per https://github.com/phonegap/phonegap-plugins/issues/21, when I call the upload function from Javascript it throws the following error:

ERROR: Class method 'upload:withDict:' not defined in class 'CouchDBAttachmentUploader'

Any idea whats happening internally? Sadly I'm not an Objective-C guy

Thanks,

Max

@andrewgleave
Copy link
Owner

Hi Max.

Is this on the iOS 5 WWDC beta?

On 10 Jun 2011, at 22:34, maxogden wrote:

Hey Andrew,

Finally getting around to kicking the tires on this bad boy and I've run into a couple of speedbumps.

After changing the include files as per https://github.com/phonegap/phonegap-plugins/issues/21, when I call the upload function from Javascript it throws the following error:

ERROR: Class method 'upload:withDict:' not defined in class 'CouchDBAttachmentUploader'

Any idea whats happening internally? Sadly I'm not an Objective-C guy

Thanks,

Max

Reply to this email directly or view it on GitHub:
#1

@max-mapper
Copy link
Author

Nope it's on iOS4 and XCode4

@andrewgleave
Copy link
Owner

It sounds like the plugin is not being registered properly – probably due to changes in the project template. If the plugin isn't being compiled with along with your project, you'll probably find this error. Only thing I can suggest is to make sure the plugin is being compiled correctly by checking in Xcode's build log.

@max-mapper
Copy link
Author

Nevermind! Found out it's a bug with newer PhoneGap -- should be fixed soon.

https://github.com/phonegap/phonegap-iphone/issues/123#issuecomment-1362582

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants