cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud Platform SDK for iOS Re-generate proxy classes fails

former_member540015
Participant
0 Kudos

I've got two errors from the mac console app, but they actually don't help.

Generating proxy classes failed. - Error Log: CompilerError: 1 error (File: ProxyClassGenerator.swift, Function: generateProxyClasses(for:_:), Line: 196)

Error occurred during existing project modification. - Error Log: The operation couldn’t be completed. (Generator.ProxyClassGenerationError error 3.) (File: ExistingProjectModificator.swift, Function: modifyProject, Line: 89)

Somebody can tell what the "Generator.ProxyClassGenerationError error 3" error is?

I haven't found error table in official docs.

Thanks,

Valery

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Valery,

Such meaningless errors are not desired to reach the logs, but it seems that the proxy classes could not been generated in your case.

You can try to manually generate the proxy classes with the verbose logging enabled to get more information what the problem could be.

  1. Select "Install Tools" from the Assistant's menu.
  2. Execute the following command using the installed tools: "sapcpsdk-proxygenerator -v -m 'path_to_your_metadata'"

Thanks,

Adam

former_member540015
Participant
0 Kudos

Hi Adam!

Thank you for your comment. Command tool will throw exactly the same error, so unfortunately this is not a workaround nor answering my original question about weird Error # 3. As I have already found the root cause of this error which was a specific naming for one of my classes and changed it, I've been looking for error's numbers insight for the future development.