cancel
Showing results for 
Search instead for 
Did you mean: 

Error "Cannot find type 'EntityValue' in scope" On sap iOS Assistant app

d_debiase21
Explorer

Hi,

I'm trying to create a Simple app with Sap Ios Assistant after the creation of the project in Xcode, when I try to build I receive a lots of error, in attach I put a screen of errors.

have Someone any idea how to solve this issue ?

schermata-2021-10-28-alle-194648.png

Best Regards,

Davide

Accepted Solutions (1)

Accepted Solutions (1)

perage
Participant

I have the same issue, and not sure if this is the whole truth, but it seems SAP needs to update the framework for Apple silicon chips. Try building it for your actual device and not the simulator - that worked fine for me.

d_debiase21
Explorer
0 Kudos

Hi ,

seams also for me works in that way, is there any chance of knowing when the frameworks will update?

Thanks,

Davide

perage
Participant
0 Kudos

Answers (2)

Answers (2)

d_debiase21
Explorer
0 Kudos

Hi Evan,

i have the import SAPOdata

schermata-2021-10-29-alle-112729.png

but when I try to compile the code he still give me the errors

i also found this error :

schermata-2021-10-29-alle-141229.png

perage
Participant
0 Kudos

I have the same issue with an old app after updating to Xcode 13. Tried to re-add the frameworks, but it didn’t help. Haven’t used a lot of time troubleshooting, but will update if I find it 🙂

perage
Participant
0 Kudos

d_debiase21 Do you have an intel Mac or a Mac with Apple Silicon? (M1)

d_debiase21
Explorer
0 Kudos

Hi I have a M1 Mac.

evanireland
Advisor
Advisor
0 Kudos

Does the CustomerDemographic have at the top:

import SAPOData

(without this import, the errors you mentioned might occur).

If the import is missing (and wasn't accidentally deleted but was missing since the file was generated), please file a bug report for the Assistant.