cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot generate OData proxy class

Former Member
0 Kudos

I'm developing iOS app with SAP fiori for iOS. When I tried to generate OData class using ProxyGenerator, I had this error:

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures}

-bash: /usr/local/bin/sapcpsdk-proxygenerator: cannot execute binary file

Anyone know how to resolve this?

Thanks a lot.

Angxiao

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Solved this issue by relink the sapcpsdk-* from sdk folder to /usr/local/bin using command sudo ln -s SOURCE DESTINATION

Answers (1)

Answers (1)

former_member467951
Participant
0 Kudos

A very wild guess, can it be a permission issue, as the error message looks like a OS security feature. Do chmod 777 momentarily and retry.