Skip to Content

With new release of SAP Cloud Platform SDK for iOS 2.0 SP01 there are new enhancements and improvements introduced in it’s Assistant application.

Install Tools (ILOData and Proxy Class Generation) in your desired directory

You can also install Tools in your desired directory. Once you launch iOS SDK Assistant application, go to it’s menu (left top). Hover to “Install Tools” while pressing “ALT” or “Option” key , you will 3 dots ( … ), click on it.


And then select an installation folder for the ILOData and Proxy Class Generation tools.

Reuse existing project from SAP Translation Hub

Now, you can also reuse existing project from SAP Translation hub while adding a translation to an existing Xcode project via Assistant. For more details, check this blog post


Integration with SAP Discovery Service

It’s now easy to integrate with SAP Discovery service via iOS SDK Assistant that enhances the user on-boarding process by letting you distribute initial configuration data to mobile apps. In SAP Cloud Platform Mobile Services Development and Operations, there is a test email domain available by default, when you create an Xcode project (via Assistant), in last step, under “Optional Features”, that domain will be shown up (below screenshot). Please check this blog post for more details

New app icon

Application generated with this SDK 2.0 SP01 Assistant has an new icon.

No passcode screen by default

There will not  be  any passcode screen by default , in other words, you won’t be asked for the passcode anymore. Default Passcode Policy is disabled in OnboardingManager.swift class



    // StoreManagerStep
    private func configuredStoreManagerStep() -> StoreManagerStep {
        let step = StoreManagerStep()
        // Don't use a local default passcode policy, but load passcode policy from server. If passcode policy is disabled on the server, the app won't be protected with a passcode
        step.defaultPasscodePolicy = nil
        return step

But, you would like to have Passcode policy get enabled in your application, you need to enable it manually by logging to  SAP Cloud Platform Mobile Service for Development and Operations Cockpit. Then these policies will be pulled from Mobile Service on runtime.


Introduction of EULA screen

When you launch Assistant generated application in device/simulator, you will come across newly added EULA (End User License Agreement) screen part of default on-boarding flow.



/// Steps executed during Onboarding.
    private var onboardingSteps: [OnboardingStep] {
        return [
    // EULAStep
    private func configuredEULAStep() -> EULAStep {
        // TODO: Write your own end user agreement here
        let eulaTitle = "EULA"
        let eulaContentText = "You can write your own custom EULA agreement here."
        let paragraphStyle = NSMutableParagraphStyle()
        paragraphStyle.alignment = NSTextAlignment.justified
        let attributes = [
            NSAttributedStringKey.paragraphStyle: paragraphStyle,
            NSAttributedStringKey.baselineOffset: NSNumber(value: 0),
            NSAttributedStringKey.font: UIFont.systemFont(ofSize: 17.0),
        let content = NSAttributedString(string: eulaContentText, attributes: attributes)
        let eulaContent = EULAContent(title: eulaTitle, content: content, version: "1.0")
        return EULAStep(eulaContent: eulaContent)

You can implement or write your own custom EULA in above mentioned method or import it from a file system or a server.

Check below resources for more information:


Help Documentation

What’s new in SAP Cloud Platform SDK for iOS 2.0 SP01

SAP Discovery Service integration in SAP Cloud Platform SDK for iOS

SAP API Business Hub Integration – SAP Cloud Platform SDK for iOS 2.0

From API to App: Assistant tool generates mobile app scaffolding from a Backend API


Jitendra Kansal

Product Management, SAP Cloud Platform User Experience

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply