{"id":344,"date":"2025-02-22T04:46:15","date_gmt":"2025-02-22T04:46:15","guid":{"rendered":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/?p=344"},"modified":"2025-06-13T07:03:48","modified_gmt":"2025-06-13T07:03:48","slug":"how-to-build-and-run-ios-app","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/how-to-build-and-run-ios-app\/","title":{"rendered":"How to build and run iOS app?"},"content":{"rendered":"<div class=\"nolwrap\">\n<p>Follow these steps to set up and run your application:<\/p>\n\n\n\n<p>1. <strong>Download the Project:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download the project from CodeCanyon and unzip it.<\/li>\n<\/ul>\n\n\n\n<p>2. <strong>Locate the Mobile Apps Folder:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After unzipping the file, locate the mobile apps folder. Inside, you&#8217;ll find two projects named\u00a0<strong>&#8220;kivilabs-clinic-admin-app&#8221;<\/strong>\u00a0and\u00a0<strong>&#8220;kivi<strong>lab<\/strong>s-patient-app&#8221;<\/strong>\u00a0respectively.<\/li>\n<\/ul>\n\n\n\n<p>3. <strong>Choose Project to Open:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Optionally, you can copy both projects to a new location. For this guide, we&#8217;ll open the\u00a0<strong>kivi<strong>lab<\/strong>s-patient-app&#8221;<\/strong>\u00a0project.<\/li>\n\n\n\n<li>Open Android Studio and click on the &#8220;Open&#8221; button.<\/li>\n<\/ul>\n\n\n\n<p>4. <strong>Open Project in Android Studio:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Locate the project you want to work with and open it.<\/li>\n<\/ul>\n\n\n\n<p>5. <strong>Enable Dart Support<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, enable Dart support in the settings or by opening the main.dart file.<\/li>\n\n\n\n<li>Look for the&nbsp;<strong>&#8220;Enable Dart Support&#8221;<\/strong>&nbsp;option in the right corner and click on it to enable Dart.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1403\" height=\"919\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/ios_build_1.png\" alt=\"\" class=\"wp-image-543\" \/><\/figure>\n\n\n\n<p>6. <strong>Get Dependencies<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After enabling Dart support, the&nbsp;<strong>&#8220;Get Dependencies&#8221;<\/strong>&nbsp;option will appear.<\/li>\n\n\n\n<li>Click on it to fetch the project dependencies. Any existing errors should disappear automatically after this step.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"600\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/ios_build_2.png\" alt=\"\" class=\"wp-image-544\" \/><\/figure>\n\n\n\n<p>7. <strong>Install Pods<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open terminal<\/li>\n\n\n\n<li>Ensure you have CocoaPods installed (if not, install it)<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo gem install cocoapods<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to the ios directory of your Flutter project<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">cd ios<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Run command to install pods<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">pod install<\/pre>\n\n\n\n<p>OR<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pod install --repo-update<\/pre>\n\n\n\n<p>After completing pod generation process click on button&nbsp;<strong>&#8220;Open iOS\/macOS module in Xcode&#8221;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/install_pod_1.png\" alt=\"\" class=\"wp-image-542\" \/><\/figure>\n\n\n\n<p>8. After opening Xcode once clear derived data from Settings\/Location.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1673\" height=\"1009\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/settings_1.png\" alt=\"\" class=\"wp-image-545\" \/><\/figure>\n\n\n\n<p>Choose&nbsp;<strong>&#8220;Location&#8221;<\/strong>&nbsp;and click on arrow button. It will open Xcode directory.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"828\" height=\"549\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/settings_2.png\" alt=\"\" class=\"wp-image-546\" \/><\/figure>\n\n\n\n<p>Delete&nbsp;<strong>DerivedData<\/strong>&nbsp;folder and if you don&#8217;t want previously created archives then delete&nbsp;<strong>Archives<\/strong>&nbsp;folder too.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"876\" height=\"652\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/settings_3.png\" alt=\"\" class=\"wp-image-547\" \/><\/figure>\n\n\n\n<p>Clear issue if exists from Product tab &#8220;Clear All Issues&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/settings_4.png\" alt=\"\" class=\"wp-image-548\" \/><\/figure>\n\n\n\n<p>9. Choose device to run application &#8211; Real device or Simulator<\/p>\n\n\n\n<p>To run in Simulator choose device from options available<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/choose_device_simulator_1.png\" alt=\"\" class=\"wp-image-540\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/choose_device_simulator_2.png\" alt=\"\" class=\"wp-image-541\" \/><\/figure>\n\n\n\n<p>10. If you encounter any error while building you can once try following steps below<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Quit Xcode<\/li>\n\n\n\n<li>Open IDE you&#8217;re using<\/li>\n\n\n\n<li>Delete&nbsp;<strong>&#8220;.symilinks&#8221;<\/strong>,&nbsp;<strong>&#8220;Pods&#8221;<\/strong>&nbsp;folders and&nbsp;<strong>&#8220;Podfile.lock&#8221;<\/strong>&nbsp;file from&nbsp;<strong>&#8220;ios&#8221;<\/strong>&nbsp;directory of your project.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"465\" height=\"576\" src=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-content\/uploads\/sites\/6\/2025\/02\/settings_5.png\" alt=\"\" class=\"wp-image-549\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open terminal<\/li>\n\n\n\n<li>Run command below :<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">flutter clean;flutter pub get;cd ios;pod install --repo-update<\/pre>\n\n\n\n<p>After completion pod update process click on button&nbsp;<strong>&#8220;Open iOS\/macOS module in Xcode&#8221;<\/strong>&nbsp;from Podfile like show in Step 7.<\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Follow these steps to set up and run your application: 1. Download the Project: 2. Locate the Mobile Apps Folder: 3. Choose Project to Open: 4. Open Project in Android Studio: 5. Enable Dart Support 6. Get Dependencies 7. Install Pods sudo gem install cocoapods cd ios pod install OR pod install &#8211;repo-update After completing [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":173,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-344","post","type-post","status-publish","format-standard","hentry","category-kivilab"],"featured_image_src":null,"author_info":{"display_name":"","author_link":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/author\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts\/344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/comments?post=344"}],"version-history":[{"count":6,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts\/344\/revisions"}],"predecessor-version":[{"id":783,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts\/344\/revisions\/783"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts\/173"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/media?parent=344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/categories?post=344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/tags?post=344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}