{"id":20340211,"url":"https://github.com/webengage/ios-sdk-example","last_synced_at":"2025-06-28T10:35:48.789Z","repository":{"id":48760944,"uuid":"182750077","full_name":"WebEngage/iOS-SDK-Example","owner":"WebEngage","description":"A native iOS app showcasing integration of WebEngage SDK","archived":false,"fork":false,"pushed_at":"2022-10-06T04:57:13.000Z","size":13553,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-04T14:49:12.752Z","etag":null,"topics":["app","demo","framework","ios","sdk","swift","webengage"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebEngage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-22T10:26:30.000Z","updated_at":"2021-11-30T05:36:13.000Z","dependencies_parsed_at":"2023-01-19T09:00:46.872Z","dependency_job_id":null,"html_url":"https://github.com/WebEngage/iOS-SDK-Example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WebEngage/iOS-SDK-Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2FiOS-SDK-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2FiOS-SDK-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2FiOS-SDK-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2FiOS-SDK-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebEngage","download_url":"https://codeload.github.com/WebEngage/iOS-SDK-Example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2FiOS-SDK-Example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262417546,"owners_count":23307880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app","demo","framework","ios","sdk","swift","webengage"],"created_at":"2024-11-14T21:20:14.772Z","updated_at":"2025-06-28T10:35:48.754Z","avatar_url":"https://github.com/WebEngage.png","language":"Swift","readme":"# [WebEngage iOS SDK](https://webengage.com/) #\r\n\r\n[![Version](https://img.shields.io/cocoapods/v/WebEngage.svg?style=flat)](https://cocoapods.org/pods/WebEngage)\r\n[![License](https://img.shields.io/cocoapods/l/WebEngage.svg?style=flat)](https://cocoapods.org/pods/WebEngage)\r\n[![Platform](https://img.shields.io/cocoapods/p/WebEngage.svg)](https://cocoapods.org/pods/WebEngage)\r\n[![LastUpdated](https://img.shields.io/github/last-commit/WebEngage/iOS-SDK.svg)](https://cocoapods.org/pods/WebEngage)\r\n\r\nDetailed Setup Guide available [here](https://docs.webengage.com/docs/ios-getting-started).\r\n\r\n#### Minimum SDK Requirements ####\r\n\r\nWebEngage SDK is supported for `iOS 10` and above. The following frameworks should be linked as part of the Xcode project (Direct Integration).\r\n\r\n    1. CoreLocation.framework\r\n\r\n    2. SystemConfiguration.framework\r\n\r\n    3. AdSupport.framework\r\n\r\n    4. -lsqlite3\r\n\r\n#### There are 2 ways of integrating WebEngage to your existing/new Xcode Project.\r\n\r\n#### 1. CocoaPods Integration (Recommended)\r\n\r\n  1. Add the following to your Podfile\r\n\r\n          # For Xcode 11 and above:\r\n\r\n          target 'WebEngageExample' do\r\n              pod 'WebEngage'\r\n          end\r\n\r\n          # For Xcode 10:\r\n          target 'WebEngageExample' do\r\n              pod 'WebEngage/Xcode10'\r\n          end\r\n\r\n2. Install WebEngage SDK by running `pod install`\r\n\r\n\r\nCheck out Swift Bridging Header details [here](https://docs.webengage.com/docs/ios-getting-started#section-4-support-for-swift).\r\n\r\nLearn about Podfile Specifications [here](https://guides.cocoapods.org/using/the-podfile.html).\r\n\r\n#### 2. Direct Integration (Manual) ####\r\n\r\n1. Download the SDK file [here](https://s3-us-west-2.amazonaws.com/webengage-sdk/ios/latest/WebEngageFramework.zip). Extract the downloaded zip file. In the extracted zip there would be two directories - xc10 and xc11. If you are using Xcode 10 use the `Webengage.framework` within the `xc10` directory. For Xcode 11 and above use the one in `xc11`. Save the appropriate `Webengage.framework` it in a location on your computer.\r\n\r\n2. Select the name of the project in the project navigator. The project editor appears in the editor area of the Xcode workspace window.\r\n\r\n3. Click on the `General` Tab at the top of project editor.\r\n\r\n4. In the section `Embedded Libraries` click on `+` button. It will open up the file chooser for your project. Open WebEngage.framework and select `Copy if needed` option. This will copy the framework to your project directory.\r\n\r\n5. Below Embedded Libraries, there is `Linked Frameworks and Libraries` click the `+` button and add the following frameworks:\r\n    ```\r\n    SystemConfiguration.framework\r\n    CoreLocation.framework\r\n    AdSupport.framework\r\n    ```\r\n6. Go to 'Build Settings' tab on the top of the project editor. Search for `Other Linker Flags` option.\r\nAdd `-lsqlite3` under it.\r\n\r\nAt this point, WebEngage SDK integration is complete and your project should build successfully.\r\n\r\nCheck out more details [here](https://docs.webengage.com/docs/ios-getting-started).\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebengage%2Fios-sdk-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebengage%2Fios-sdk-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebengage%2Fios-sdk-example/lists"}