Sample iOS Application for users | Zoho Creator Help

Sample iOS Application for users

We have created an application using our Mobile SDK for your better understanding of the different methods and their usage. To install the app, you need to do the following:

1. Prerequisites

  • A Zoho account. If you do not have an account, sign up for one here.
  • Xcode IDE 26.0 (Required for latest SDK version)
  • iOS 15 and above
  • CocoaPods
NotesNote:
  1. If your Mac is powered by Apple Silicon (M1, M2, etc.), it is recommended to run Xcode with Rosetta enabled, as simulator support in Xcode is currently available only via Rosetta destinations.
  2. It is recommended to use the latest SDK version to ensure compatibility and access to the newest features. CocoaPods installs the latest stable version by default. To use a specific or earlier version, specify it explicitly in your Podfile.

2. Creating the Zoho Creator application

  1. Download the sample application from this link. The ZohoCreatorSDKDemo.zip file will be downloaded.
  2. Extract it and locate the Utility.ds file inside it.
  3. Create a Zoho Creator Application by importing the Utility.ds file into Creator. Learn how  

3. Register your app with Zoho

3.1 Users in Creator 5, follow the below steps:

  1. Navigate to your app's Settings page, then to the Mobile SDK page.
  2. Under the For Users section, click For iOS. A pane will slide in from the right.
  3. Select the UI & Core framework.
  4. Click the Generate Client Credentials. This will generate the client ID,  client secret and redirectURI for the iOS app that you want to integrate with your Creator application.

3.2 Users in Creator 6, follow the below steps:

  1. Navigate to your admin dashboard.
  2. From the left pane, select Mobile.
  3. Click Create New Mobile App at the top-right corner.

  4. From the list of applications, select the required app. Select the For Users - SDK under the Apple icon section.

  5. Click Generate Client. This will generate the client IDclient secret, and redirectURI for the iOS app that you want to integrate with your Creator application.

4. Installing CocoaPod

CocoaPods is a third-party dependency manager for Swift and Objective-C projects.

Notes
ote: All the commands should be entered in the Terminal.

To install CocoaPods,

  1. Open Terminal in your Mac
  2. Use the below command:
    sudo gem install cocoapods

5. Adding dependency

  1.  You can find the podfile file in the ZohoCreatorSDKDemo > native folder (Xcode project directory). 
  2. Ensure that the podfile contains the following:
    target 'Zylker Service' do
    use_frameworks!
    pod 'ZohoAuth'
    pod 'ZCUIFramework'
    end

    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'
    end
    end
    end

    end
  3. Open the Terminal, navigate to the ZohoCreatorSDKDemo > native folder (Xcode project directory), then execute the following command:
    pod install
  4.  Open ZohoCreatorSDKDemo.xcworkspace in the XCode project.

6. Adding the Zoho Creator app to your sample Xcode project

  1. In the downloaded zip file, open ZohoCreatorSDKDemo > native >  ZohoCreatorSDKDemo.xcworkspace in XCode and navigate to AppDelegate.swift.
  2. Fill in all parameters mentioned below:
    var clientId = <#String!#>
    var clientSecret = <#String!#>
    var urlScheme = <#String!#>
  3. URL scheme (Redirect URI) entered should be configured in ZohoCreatorSDKDemo -> Info -> URL Types.

  4. Download the ZCAppInfo.plist file from the Configure Core Framework tab (refer to steps 1-3 in the above section).

    • For C6, refer to the below image.

  5. Move the ZCAppInfo.plist file to the ZohoCreatorSDKDemo > native > ZohoCreatorSDKDemo folder.
  6. Add the ZCAppInfo.plist file to the project and attach it to all targets.

7. Objective-C Bridging Header

Ensure to check whether the ZohoCreatorSDKDemo-Bridging_header.h file exists in the project. Below image shows where the file is loacted.



If the file is not found, you can create one by following the steps below.

  1. Select Header File:
  2. Enter the name of the Header File.
  3. Configure the Header File in Project -> Build options.
  4. Add the following to your Objective-C bridging header:
        #import <ZohoAuthKit/ZohoAuth.h> 
  5. Compile the project. In case you face any errors while doing these, please refer to this page.


        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG

                                  Zoho FSM Video Tutorials


                                        All-in-one knowledge management and training platform for your employees and customers.

                                                  Create. Review. Publish.

                                                  Write, edit, collaborate on, and publish documents to different content management platforms.

                                                  Get Started Now




                                                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                        Manage your brands on social media


                                                                          • Desk Community Learning Series


                                                                          • Digest


                                                                          • Functions


                                                                          • Meetups


                                                                          • Kbase


                                                                          • Resources


                                                                          • Glossary


                                                                          • Desk Marketplace


                                                                          • MVP Corner


                                                                          • Word of the Day


                                                                          • Ask the Experts


                                                                            Zoho Sheet Resources

                                                                             

                                                                                Zoho Forms Resources


                                                                                  Secure your business
                                                                                  communication with Zoho Mail


                                                                                  Mail on the move with
                                                                                  Zoho Mail mobile application

                                                                                    Stay on top of your schedule
                                                                                    at all times


                                                                                    Carry your calendar with you
                                                                                    Anytime, anywhere




                                                                                          Zoho Sign Resources

                                                                                            Sign, Paperless!

                                                                                            Sign and send business documents on the go!

                                                                                            Get Started Now




                                                                                                    Zoho TeamInbox Resources





                                                                                                              Zoho DataPrep Demo

                                                                                                              Get a personalized demo or POC

                                                                                                              REGISTER NOW


                                                                                                                Design. Discuss. Deliver.

                                                                                                                Create visually engaging stories with Zoho Show.

                                                                                                                Get Started Now








                                                                                                                                    • Related Articles

                                                                                                                                    • Sample iOS Application for customers

                                                                                                                                      Customers refer to people or entities who are external to your organization. For example, the vendors, retailers, logistics partners and customers that your organization does business with. By design, you'll have to create a customer portal to allow ...
                                                                                                                                    • Sample Android Application for Users

                                                                                                                                      Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production stage We have created an application using our SDK for your better understanding of the different methods and their usage. 1. ...
                                                                                                                                    • Sample code snippets

                                                                                                                                      Below are code snippets that demonstrate how to use the different methods of Zoho Creator's SDK for iOS: To construct the FieldAccessPath To fetch a form object To fetch the choices from a field To submit a form To set a field's value To upload a ...
                                                                                                                                    • iOS core framework

                                                                                                                                      This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. The core framework of Creator's iOS SDK allows you to create a custom UI and build an iOS app using the data present in your ...
                                                                                                                                    • iOS UI framework

                                                                                                                                      This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. The UI framework offers predefined view controllers for the components in your Creator application in addition to the ...
                                                                                                                                      Wherever you are is as good as
                                                                                                                                      your workplace

                                                                                                                                        Resources

                                                                                                                                        Videos

                                                                                                                                        Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                        eBooks

                                                                                                                                        Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                        Webinars

                                                                                                                                        Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                        CRM Tips

                                                                                                                                        Make the most of Zoho CRM with these useful tips.



                                                                                                                                          Zoho Show Resources