on 10-04-2018 10:25 AM
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.
Do you have a solution ? Thanks you.
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
onboardingContext.sapcpmsSettingsParameters
with:
onboardingContext.info[.sapcpmsSettingsParameters]
Regards,
Andras
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.