This help page is for users in Creator 5. If you are in the newer version (Creator 6), click here. Know your Creator version.

Install the iOS core framework for the customer app

The core framework of Creator's iOS SDK allows you to create custom UI and build an iOS app using the data present in your Creator application.

1. Prerequisites

Note: If your Mac is powered by Apple Silicon (M1, M2, etc.), then you should run Xcode with Rosetta enabled. 

When using Xcode 15 on Apple Silicon Macs (i.e., M1, M2 chips) instead of Intel Macs, we currently only support running in the Simulator under Rosetta destinations.

2. Register your iOS app with Zoho

  1. Edit your Zoho Creator application.
  2. Navigate to its Settings page.
  3. Click Mobile SDK under Developer Tools.
  4. Under the For Customers section, click For iOS. A pane will slide in from the right.
  5. Select the Core library.
  6. Click the Generate Client Credentials. This will generate the client IDclient secret, Portal ID and redirectURI for the iOS app that you want to integrate with your Creator application.

  7. Downloaded the ZCAppInfo.plist file and add it to your project.

3. Install the iOS core framework for the customer app

  1. Install the Zoho Creator SDK using Pod:

    target 'Demo' do
    pod 'ZohoPortalAuth'
    pod 'ZCCoreFramework'
    post_install do |installer|
    installer.generated_projects.each do |project|
    project.targets.each do |target|
    target.build_configurations.each do |config|
    config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
    config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
  2. Add the following to your Objective-C bridging header:

    #import <ZohoPortalAuthKit/ZohoPortalAuth.h> 
  3. Import ZCCoreFramework to use Zoho Creator's SDK's iOS core framework:

    import ZCCoreFramework
  4. Configure your project with the following code, for example in the SceneDelegate file:

    class SceneDelegate: UIResponder, UIWindowSceneDelegate {
     var window: UIWindow ?
      func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
       if let windowScene = scene as? UIWindowScene {
        let window = UIWindow(windowScene: windowScene)
       let scope = ["aaaserver.profile.READ","zohocontacts.userphoto.READ","ZohoContacts.contactapi.READ","ZohoCreator.meta.CREATE","ZohoCreator.meta.READ","ZohoCreator.meta.UPDATE","ZohoCreator.meta.DELETE","","","","","Stratus.stratusop.READ","ZohoCRM.modules.READ","ZohoCRM.users.READ"]
       let clientID = "<Your Client ID>"
       let clientSecret = "<Your Client Secret>"
       let portalId = "<Your Portal ID>"
       let urlScheme = "<Your Url Scheme>"
       let accountsUrl = "<Your Portal URL>" // 

    Code to add Zoho Portal login to your iOS app:

    func showLoginScreen() {
     ZohoPortalAuth.presentZohoPortalSign( in: {
      (token, error) in
      if token != nil {
       //login success

    Code to provision logout from Zoho Portal:

    func logout() {
     ZohoPortalAuth.revokeAccessToken {
      (error) in
      if error == nil {
       //Logout Successfully
      else {
       //Error Occurred


  1. I'm a M1 Mac user and I'm facing issues while adding dependencies. What should I do?
    To proceed further, please use the arch=x86_64 pod install command.


  • Please refer to our iOS SDK documentation for detailed information about the various SDK methods.
  • Familiarize yourself with Mobile SDK for iOS by trying out our sample application here.‚Äč
  • To configure push notifications for iOS, refer here.

Still can't find what you're looking for?

Write to us: