{"id":182,"date":"2025-07-23T07:45:29","date_gmt":"2025-07-23T07:45:29","guid":{"rendered":"https:\/\/documentation.iqonic.design\/prokit-flutter\/?p=182"},"modified":"2025-07-23T08:43:14","modified_gmt":"2025-07-23T08:43:14","slug":"how-to-build-and-run-ios-app","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/prokit-flutter\/how-to-build-and-run-ios-app\/","title":{"rendered":"How to build and run iOS app?"},"content":{"rendered":"<div class=\"nolwrap\">\n<h3 class=\"wp-block-heading\"><strong>Build and run iOS app<\/strong><\/h3>\n\n\n\n<p>Follow these steps to set up and run your application:<\/p>\n\n\n\n<p>1.&nbsp;<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.&nbsp;<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\u2019ll find projects named\u00a0<strong>\u201cprokit\u201d<\/strong>\u00a0respectively.<\/li>\n<\/ul>\n\n\n\n<p>3.&nbsp;<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\u2019ll open the\u00a0<strong><strong>prokit<\/strong>\u201d<\/strong>\u00a0project.<\/li>\n\n\n\n<li>Open Android Studio and click on the \u201cOpen\u201d button.<\/li>\n<\/ul>\n\n\n\n<p>4.&nbsp;<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.&nbsp;<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\u00a0<strong>\u201cEnable Dart Support\u201d<\/strong>\u00a0option in the right corner and click on it to enable Dart.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app1.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app1.png\" alt=\"\" class=\"wp-image-376\" \/><\/a><\/figure>\n\n\n\n<p>6.&nbsp;<strong>Get Dependencies<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After enabling Dart support, the\u00a0<strong>\u201cGet Dependencies\u201d<\/strong>\u00a0option 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\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app2.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app2.png\" alt=\"\" class=\"wp-image-377\" \/><\/a><\/figure>\n\n\n\n<p>7.&nbsp;<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>\u201cOpen iOS\/macOS module in Xcode\u201d<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app3.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app3.png\" alt=\"\" class=\"wp-image-378\" \/><\/a><\/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\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app4.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app4.png\" alt=\"\" class=\"wp-image-379\" \/><\/a><\/figure>\n\n\n\n<p>Choose&nbsp;<strong>\u201cLocation\u201d<\/strong>&nbsp;and click on arrow button. It will open Xcode directory.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app5.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app5.png\" alt=\"\" class=\"wp-image-380\" \/><\/a><\/figure>\n\n\n\n<p>Delete&nbsp;<strong>DerivedData<\/strong>&nbsp;folder and if you don\u2019t want previously created archives then delete&nbsp;<strong>Archives<\/strong>&nbsp;folder too.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app6.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app6.png\" alt=\"\" class=\"wp-image-381\" \/><\/a><\/figure>\n\n\n\n<p>Clear issue if exists from Product tab \u201cClear All Issues\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app7.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app7.png\" alt=\"\" class=\"wp-image-382\" \/><\/a><\/figure>\n\n\n\n<p>9. Choose device to run application \u2013 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\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app8.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app8.png\" alt=\"\" class=\"wp-image-383\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app9.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app9.png\" alt=\"\" class=\"wp-image-384\" \/><\/a><\/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\u2019re using<\/li>\n\n\n\n<li>Delete\u00a0<strong>\u201c.symilinks\u201d<\/strong>,\u00a0<strong>\u201cPods\u201d<\/strong>\u00a0folders and\u00a0<strong>\u201cPodfile.lock\u201d<\/strong>\u00a0file from\u00a0<strong>\u201cios\u201d<\/strong>\u00a0directory of your project.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app10.png\"><img decoding=\"async\" src=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/build_run_iOS_app10.png\" alt=\"\" class=\"wp-image-385\" \/><\/a><\/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>\u201cOpen iOS\/macOS module in Xcode\u201d<\/strong>&nbsp;from Podfile like show in Step 7.<\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Build and run iOS app Follow these steps to set up and run your application: 1.&nbsp;Download the Project: 2.&nbsp;Locate the Mobile Apps Folder: 3.&nbsp;Choose Project to Open: 4.&nbsp;Open Project in Android Studio: 5.&nbsp;Enable Dart Support 6.&nbsp;Get Dependencies 7.&nbsp;Install Pods sudo gem install cocoapods cd ios pod install OR pod install &#8211;repo-update After completing pod generation [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"parent":170,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-182","post","type-post","status-publish","format-standard","hentry","category-prokit-flutter"],"featured_image_src":null,"author_info":{"display_name":"flutteradminiq","author_link":"https:\/\/documentation.iqonic.design\/prokit-flutter\/author\/flutteradminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts\/182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/comments?post=182"}],"version-history":[{"count":2,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"predecessor-version":[{"id":191,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts\/182\/revisions\/191"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts\/170"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}