cancel
Showing results for 
Search instead for 
Did you mean: 

SAP IOS SDK Issue

ipravir
Active Contributor
0 Kudos

Hello Experts,

I have downloaded the new version of SAP Cloud Platform SDK for iOS (XCode 12.3) and trying to create a sample application.

Getting more than 999+ errors while compiling the project.

It seems, project is not able to recognise any of SAP frameworks and respective packages.

Please help me to solve these errors, am I missing something? Or something need to be maintained in project side or any other setting in MacBook side.

screenshot-2021-03-04-at-191229.png

Best Regards,

Praveer

View Entire Topic
former_member190800
Contributor

Hi Praveer, are you updating a project which was generated with an older version of the SDK (pre 5.1?). I wonder if your search paths are still looking for frameworks, instead of xcframework?

ipravir
Active Contributor
0 Kudos

Hi Stan,

No, I am creating a new project using create new option from IOS Assistant.

Selected "Sample Application" option, followed the all steps and generated a new project.

Regards,

Praveer.

former_member190800
Contributor
0 Kudos

Can you share the specific version of the SAP SDK you downloaded ie. 6.0, 6.0.1? Also, can you share a screenshot of the project settings, including the section “Frameworks, Libraries, and Embedded Content”?

I would also do a “Clean Build Folder”, it’s also somewhat likely that it’s an Xcode caching issue.

ipravir
Active Contributor
0 Kudos

Hi Stan,

Using SAP SDK Version 5.1.10.

Please find attached screen of project setting.

screenshot-2021-03-04-at-193702.png

screenshot-2021-03-04-at-193838.png

Regards,

Praveer.

former_member190800
Contributor
0 Kudos

Ah I see, iOS 12 should not be supported. You should set the minimum deployment target >= iOS 13.0.

ipravir
Active Contributor
0 Kudos

Hi Stan,

I have changed deployment target to >= 13.0, but still getting all errors.

screenshot-2021-03-04-at-215716.png

screenshot-2021-03-04-at-215952.png

Regards,

Praveer

ipravir
Active Contributor
0 Kudos

Hi Stan,

Any hint to solve this issues.

Regards,

Praveer.

AlexGiguere
Contributor

if you are using an Apple Silicon Mac, when building for the simulator

you need to exclude arm64 in your Target Architecture (Excluded Architectures) under build settings, otherwise it will failed,

try to compile on a real device or choose any iOS Device (arm64) when you compile

alex

ipravir
Active Contributor
0 Kudos

Hi Stan,

Thanks for the input. Now it's working fine.

Regards,

Praveer.

screenshot-2021-03-09-at-104325.png