SAP Cloud Platform SDK for iOS – Did you know that…
With this small post, I would like to share a few tips and tricks when you start exploring the SAP Cloud Platform SDK for iOS.
Some of you may have figured these out already, others might benefit from it. And if you have a tip or trick yourself, please share in the comments or in a separate blog post (make sure you tag it with ‘SAP Cloud Platform SDK for iOS’).
So, did you know that…
…you can re-generate OData proxy classes from the SAP Cloud Platform SDK for iOS Assistant directly?
Simply right-click a previously generated project, and select ‘Re-generate Proxy Classes’ from the context menu:
…you can also generate OData proxy classes from the command line?
Open a terminal and navigate to
to see the available options
To generate OData proxy classes, run:
./sapcpsdk-proxygenerator -m <PATH_TO_METADATA.XML> -p ./sapcpsdk-resources -d <DESTINATION_FOLDER>
…you must update the SDK framework location if you upgrade from Xcode 8.2 to 8.3?
If you upgrade to Xcode 8.3, you should also use the correct SDK (there are two downloads available, one for each Xcode version). However, if you use the newer SDK, make sure you update the SDK Assistant’s settings to point to the new SDK Framework folder.It took me a while to figure this out, but I noticed when generating a project with the newer SDK, it was still using the old Framework files (I didn’t remove the old SDK).
If you removed the old SDK, then no worries as you will get a message the Framework location no longer exists. But if you’re like me and like to keep things “for reference” (ahem), then you should update the settings in the SDK Assistant.
If you have any tips, please share with the community! ?