What steps will reproduce the problem?
1. Generate proxies for more than one web service and include them into project
2. Leave only single copy of each NSDate+XXX, USAdditions, USGlobals and xdn
files.
3. Import headers of all services in a single implementation file for usage.
3. Try to build
What is the expected output?
Successful build
What do you see instead?
Error saying "Duplicate declaration..." comes during build
What version of the product are you using? On what operating system?
wsdl2Objc 0.6 on. XCode 4.02
Simple solution is to include ifndef into the headers, like:
#ifndef _US_ADDITIONS_
#define _US_ADDITIONS_
// generated code
#endif
#ifndef _US_GLOBALS_
#define _US_GLOBALS_
// generated code
#endif
Regards,
Victor
Original issue reported on code.google.com by nakvic on 7 Jun 2011 at 8:59
Original issue reported on code.google.com by
nakvic
on 7 Jun 2011 at 8:59