1

I received this error when I imported the DropboxSDK:

enter image description here

Is is very strange, but I noticed that both the dropbox sdk header folder and one of the .h files I am using in another part of my app have this file: Base64Transcoder

I tried changing my other one to Base64Transcoder2, but the error persists. What might the solution be to this problem?

Alessandro
  • 4,000
  • 12
  • 63
  • 131
  • Did you clean and then rebuild? Did you change all references to Base64Transcoder to Base64Transcoder2? Can you simply not include one of the .o file with the conflicting symbols? – GoZoner Mar 04 '13 at 22:03
  • I didn't clean, i'll try – Alessandro Mar 05 '13 at 10:44

1 Answers1

2

You probably need to add that .m class file to Project->Target ->Build Phases -> Compile Sources.

EDIT:

This is a good answer. Undefined symbols for architecture armv7

Community
  • 1
  • 1
Obj-Swift
  • 2,802
  • 3
  • 29
  • 50
  • Have you tried all three solutions provided in the link above? – Obj-Swift Mar 05 '13 at 16:02
  • Yes, the errors vanish if I remove also 1 other file named NSData+Base64Additions.m, but at that point my SMTP email don't work any more – Alessandro Mar 05 '13 at 17:29
  • For some reason if I add the old dropbox sdk v 1.2.2, everything works fine, but if I use the latest 1.3.3, with the exact same files, there is the error. I noticed that the error vanishes if I remove a part of the code including size_t outBufferEstLength = EstimateBas64EncodedDataSize([self length]) + 1; – Alessandro Mar 05 '13 at 18:40