Common Errors - iOS SDK | Zoho Creator Help

Common errors

Below are some of the commonly-faced errors that users face while using Zoho Creator's SDK for iOS, and how they can resolve them.

Swift Version mismatch error

You can resolve this error by ensuring that:

  1. You are using the latest version of CocoaPods.
  2. You are using the version of our framework that's compatible with your Xcode version. Learn how

Form fetch error

You can resolve this error by ensuring that:

  1. You are using the version of our framework that's compatible with your Xcode version. Learn how
  2. You are using a valid ZCAppInfo.plist fileLearn how
  3. You have given a valid form link name. Learn how

Error on building the project

You can resolve this error by ensuring that:

  1. You are using the latest version of CocoaPods.
  2. You have installed Zoho Creator's pods and are using the version of our framework that's compatible with your Xcode version. Learn how
  3. You have opened the .xcworkspace file. Learn how

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Each application in your Zoho Creator account is uniquely identified by an application link name. Each component (form, report, and page) within an application is uniquely identified by a link name. These can be identified from the URL of the application and components, which follows the format:

https://<base_url>/<accountOwnerName>/<appLinkName>/#<component>:<componentLinkName>

For example, https://app.localzohocreator.com/zylker/self-service/#Form:Customer_Details

where,

base_urlthe base URL of your Creator account
For example, its app.zohocreator.com if your account belongs to Zoho's US DC, and is app.zohocreator.eu if it belongs to Zoho's EU DC.
accountOwnerNamethe Creator account owner's username
appLinkNamethe target Creator application's link name
componentthe component type: FormReport, or Page
componentLinkNamethe target component's link name

Ensuring you've installed pod

To use Zoho Creator's SDK for iOS, you need to install our pod from CocoaPods:

  1. Ensure you've installed CocoaPods on your Mac.
  2. Open Terminal, then navigate to your Xcode project's folder.
  3. Run pod repo update.
  4. Run pod install.
  5. Ensure you've installed a version of our framework that's compatible with your Xcode version:
    Xcode versionZCCoreFramework versionZCUIFramework version
    11.4.10.0.250.0.17
    11.1, 11.2 or 11.30.0.240.0.16
    10.30.0.170.0.8
    10.10.0.160.0.7

    You can configure your podfile as follows to use the required version of our framework:

    use_frameworks!
    pod 'ZCCoreFramework', '~> 0.0.24'

Ensuring your project contains the ZCAppInfo.plist file

  1. Check your project navigator in Xcode.
  2. Ensure that it contains the ZCAppInfo.plist file of your Zoho Creator application. If it doesn't, then you need to download it as follows:
    1. Go to your Creator account's admin dashboard.
    2. From the left, select Mobile and click the SDK pane.

    3. Click on the required row of the iOS app for which you want to configure SDK. The For Users/For Customers - SDK pane will open on the right.
    4. Click Download deside ZCAppInfo.plist file.

Ensuring that you've opened the XCworkspace file

  1. Check your project navigator in Xcode.
  2. Ensure that it contains the Pods folder. If it's not present, you must download it. Learn how
  3. Open the project's .xcworkspace file.