Showing results for 
Search instead for 
Did you mean: 

SAP iOS SDK, try to updrage my app for iOS 12

Former Member
0 Kudos

Hello everyone,

Like the title said, I tried to upgrade my app running on Xcode 9.4.1 to iOS 12.

I downloaded the last SAP Cloud Platform SDK for iOS Assistant in order to upgrade the several frameworks.

I made all the changes for Swift 4.2 but when I wanted to build my app, I got this error : "Value of type 'OnboardingContext' has no member 'sapcpmsSettingsParameters'"

I don't understand why the OnboardingContext object doesn't have those parameters.

I checked on the documentation and it is clearly marked that OnboardingContext has those parameters.

Link for the documentation

Do you have a solution ? Thanks you.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Sarah,

The documentation link you provided relates to 2.0

Since you upgraded to 3.0 now it contains several changes. In the interim versions the property was deprecated and now it is removed.
It is very important to continuously update to the latest available service packs as well to be notified of such cases.

Please find the actual documentation of OnboardingContext under the correction version: OnboardingContext

Related to the exact issue: the removed property was a convenience helper which just access the data in the info field of the OnboardingContext.

You should replace