{"id":5706,"date":"2022-02-03T13:01:49","date_gmt":"2022-02-03T05:01:49","guid":{"rendered":"https:\/\/www.enablex.io\/developer\/?page_id=5706"},"modified":"2025-04-09T15:38:34","modified_gmt":"2025-04-09T07:38:34","slug":"how-to-use","status":"publish","type":"page","link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/video-api\/client-api\/ios-toolkit\/how-to-use\/","title":{"rendered":"How to use iOS SDK?"},"content":{"rendered":"\n<p>The <code>SFmeetRTCiOS <\/code>directory contains <code>SFmeetRTCiOS.xcframework<\/code> iOS SDK.  Add this framework in your project. The SFmeetiOS\u00a0iOS SDK is supported in iOS 13+ and XCode 9+.   <\/p>\n\n\n\n<ul><li>Install CocoaPods as described in <a rel=\"noreferrer noopener\" aria-label=\"CocoaPods Getting Started (opens in a new tab)\" href=\"https:\/\/guides.cocoapods.org\/using\/getting-started.html\" target=\"_blank\"><strong>CocoaPods Getting Started<\/strong><\/a><strong>.<\/strong><\/li><li>Open Terminal. Go to project directory and run <code>pod init<\/code>.<\/li><li>To integrate <code>SFmeetiOS<\/code>&nbsp;into your Xcode project using CocoaPods, specify pod name <strong><strong><code>SFmeetRTCiOS<\/code><\/strong><\/strong>. <\/li><li>After adding all the required libraries in PodFile, go to terminal and run <code>pod Install<\/code>.<\/li><li>Reopen your project in Xcode using the new <strong>.xcworkspace<\/strong> file.<\/li><\/ul>\n\n\n\n<p><strong>Note:<\/strong> <\/p>\n\n\n\n<ul><li>When you use <strong><code>SFmeetRTCiOS<\/code><\/strong> Framework through pod, it will also include Portal WebRTC Framework.<\/li><li>To use Portal iOS SDK<code> <\/code>you must use <code>Socket.IO-Client-Swift(16.1.1)<\/code> also in your project with the following pod names:  <\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">pod 'SFmeetWebRTC'\npod <code>'Socket.IO-Client-Swift', '~> <\/code>16.1.1<code>'<\/code> <\/pre>\n\n\n\n<a name=\"error-exceptions\"><\/a>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2>Error &amp; Exceptions<\/h2>\n\n\n\n<p>When portal iOS SDK API call fails, it returns a JSON object through Callback as shown:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">{\n\t\"errorCode\": Number,\n\t\"msg\": \"String\",\n\t\"desc\": \"String\"\n}<\/pre>\n\n\n\n<ul><li><code>errorCode<\/code> \u2013 Number. Error Code.<\/li><li><code>msg<\/code>&nbsp;\u2013 String. Error Message.<\/li><li><code>desc<\/code>&nbsp;\u2013 String. Optional. A descriptive explanation of the error.<\/li><\/ul>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\"><\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p class=\"has-text-align-center\"><a href=\"..\/\">Index<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p class=\"has-text-align-right\"><a href=\"..\/get-devices\/\">Get Media Device Access<\/a> \u2192<a href=\"\/developer\/how-to-use\/\"><\/a><\/p>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SFmeetRTCiOS directory contains SFmeetRTCiOS.xcframework iOS SDK. Add this framework in your project. The SFmeetiOS\u00a0iOS SDK is supported in iOS 13+ and XCode 9+. Install CocoaPods as described in CocoaPods Getting Started. Open Terminal. Go to project directory and run pod init. To integrate SFmeetiOS&nbsp;into your Xcode project using CocoaPods, specify pod name SFmeetRTCiOS. After adding all the required libraries in PodFile, go to terminal and run pod Install. Reopen&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3732,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ub_ctt_via":""},"featured_image_src":null,"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"featured":false,"featured-large":false},"uagb_author_info":{"display_name":"vcxdevwpadmin","author_link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/author\/vcxdevwpadmin\/"},"uagb_comment_info":0,"uagb_excerpt":"The SFmeetRTCiOS directory contains SFmeetRTCiOS.xcframework iOS SDK. Add this framework in your project. The SFmeetiOS\u00a0iOS SDK is supported in iOS 13+ and XCode 9+. Install CocoaPods as described in CocoaPods Getting Started. Open Terminal. Go to project directory and run pod init. To integrate SFmeetiOS&nbsp;into your Xcode project using CocoaPods, specify pod name SFmeetRTCiOS. After&hellip;","_links":{"self":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/5706"}],"collection":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/comments?post=5706"}],"version-history":[{"count":0,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/5706\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/3732"}],"wp:attachment":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/media?parent=5706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}