cancel
Showing results for 
Search instead for 
Did you mean: 

Getting "Module 'SAPCommon' was created for incompatible target arm64-apple-ios12.0" error

ipravir
Active Contributor
0 Kudos

Hi,

I have downloaded the latest SAP IOS SDK version 4.0.26 and developed a sample application .

I am getting "Module 'SAPCommon' was created for incompatible target arm64-apple-ios12.0:" error message on added SAPCommon module.

I have already enabled Build Libraries for Distribution option to Yes and also cleared the build cache, but still getting the same above error.

Please let me know, if any other setting need to be change.

Regards,

Praveer.

former_member190800
Contributor
0 Kudos

Hi Praveer, unless you have a very good reason to be on 4.x code line, you should download 5.1.x or 6.0.
6.0 is recommended for new apps and supports iOS 14+; 5.1.x supports iOS 13+.

Accepted Solutions (0)

Answers (1)

Answers (1)

ipravir
Active Contributor
0 Kudos

Hi Stan,

I have downloaded the 6.0.0 version of SAP IOS SDK and added the required frameworks into my existing projects.

But getting error saying "Cannot find OnlineODataProvider in scope", even required frameworks already added. Please find more details in attached picture.

Regards,

Praveer

former_member190800
Contributor
0 Kudos

Can you confirm that they are correctly linked/embedded to your app target in the General Target Settings? I confirmed in my own app that the type is present.

ipravir
Active Contributor
0 Kudos

Hi Stan,

Yes, added libraries are correctly set as embed and sign.

This is the same way, i have used these libraries and it worked fine.

Regards,

Praveer.

former_member190800
Contributor
0 Kudos

The next things I would try are:

1. Verify that your framework search paths are correctly pointing to the location of the xcframeworks (not to the individual framework slices inside)

2. Delete your derived data and do a clean

ipravir
Active Contributor
0 Kudos

Hi Stan,

Now I have added the all libraries received from SAP IOS SDK. Now "Question Mark" is not displaying any more.

But still the same error is displaying after cleaning the cache.

Regards,

Praveer