{"id":794,"date":"2011-12-01T19:28:22","date_gmt":"2011-12-01T15:28:22","guid":{"rendered":"https:\/\/blog.alwawee.ru\/?p=794"},"modified":"2012-03-04T18:20:37","modified_gmt":"2012-03-04T14:20:37","slug":"zxingwidgetcontroller-h-not-found-zxing-installation-problem-solution","status":"publish","type":"post","link":"https:\/\/blog.alwawee.ru\/?p=794","title":{"rendered":"&#8220;ZXingWidgetController.h not found&#8221; ZXing installation problem solution"},"content":{"rendered":"<p>After investigation of all commentaries in<br \/>\n<a href=\"http:\/\/yannickloriot.com\/2011\/04\/how-to-install-zxing-in-xcode-4\/\" title=\"How to install ZXing in Xcode 4\" target=\"_blank\">How to install ZXing in Xcode 4<\/a> I finally solved a problem of &#8220;ZXingWidgetController.h not found&#8221;. But to totally solve it, you must do several things and none of the commentaries contain them all. So I decided to write here, what you should do to finally solve this problem. So, <\/p>\n<ol>\n<li>Your full project path should not contain space characters. For example, &#8220;AppName 1.0&#8221; is not correct. You should use &#8220;AppName_1.0&#8221; or &#8220;AppName1.0&#8221;. This is because the search of header paths and user header paths doesn&#8217;t work properly otherwise.<\/li>\n<li>Let&#8217;s assume that your zxing folder is located in the root of your app folder. Then your header search paths should be something like this: <a href=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2011-12-01-\u0432-19.17.31.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2011-12-01-\u0432-19.17.31-300x207.png\" alt=\"\" title=\"\u0421\u043d\u0438\u043c\u043e\u043a \u044d\u043a\u0440\u0430\u043d\u0430 2011-12-01 \u0432 19.17.31\" width=\"300\" height=\"207\" class=\"aligncenter size-medium wp-image-795\" srcset=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2011-12-01-\u0432-19.17.31-300x207.png 300w, https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2011-12-01-\u0432-19.17.31.png 419w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>For copy paste purposes:<\/p>\n<pre lang=\"bash\">\r\n${SRCROOT}\/zxing\/iphone\/ZXingWidget\/Classes\r\n${SRCROOT}\/zxing\/cpp\/core\/src\r\n${SDKROOT}\/usr\/include\/libxml2\r\n<\/pre>\n<\/li>\n<li>You should repeat this also for User Header Search Paths<\/li>\n<\/ol>\n<p><strong>Commentary on installation and using of ZXing: <\/strong><br \/>\nWhen you import it to your project, firstly restart Xcode and open only your project one time. Then drag ZXingProject file to your target on Project Navigation bar. There must be a plus sign at the left. Drag zing from your project folder. Copy ZXing to your project folder firstly in this way:<br \/>\n<a href=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/3.png\" alt=\"\" title=\"3\" width=\"175\" height=\"191\" class=\"aligncenter size-full wp-image-1158\" \/><\/a><\/p>\n<p>Don&#8217;t forget to check a compiler for ZXingWidget Project. It might be old GCC compiler. It must be edited to <strong>Apple LLVM Compiler<\/strong>:<br \/>\n<a href=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/compiler1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/compiler1.png\" alt=\"\" title=\"compiler\" width=\"683\" height=\"105\" class=\"aligncenter size-full wp-image-1218\" srcset=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/compiler1.png 683w, https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/compiler1-300x46.png 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/a><\/p>\n<p>Also, it is very important, that you have only one copy of source files in the directory of application project. Otherwise, you might get errors like <a href=\"http:\/\/stackoverflow.com\/questions\/1248520\/gcc-4-2-failed-with-exit-code-1-iphone\" title=\"http:\/\/stackoverflow.com\/questions\/1248520\/gcc-4-2-failed-with-exit-code-1-iphone\" target=\"_blank\">this<\/a>.<\/p>\n<p><strong>References: <\/strong><\/p>\n<ol>\n<li><a href=\"http:\/\/yannickloriot.com\/2011\/04\/how-to-install-zxing-in-xcode-4\/\" title=\"http:\/\/yannickloriot.com\/2011\/04\/how-to-install-zxing-in-xcode-4\/\" target=\"_blank\">http:\/\/yannickloriot.com\/2011\/04\/how-to-install-zxing-in-xcode-4\/<\/a><\/li>\n<li><a href=\"http:\/\/zxing.googlecode.com\/svn\/trunk\/iphone\/\" title=\"http:\/\/zxing.googlecode.com\/svn\/trunk\/iphone\/\" target=\"_blank\">http:\/\/zxing.googlecode.com\/svn\/trunk\/iphone\/<\/a><\/li>\n<li><a href=\"http:\/\/debugfix.com\/2011\/11\/unsupported-compiler-gcc-4-2-selected-for-architecture-i386\/\" title=\"http:\/\/debugfix.com\/2011\/11\/unsupported-compiler-gcc-4-2-selected-for-architecture-i386\/\" target=\"_blank\">http:\/\/debugfix.com\/2011\/11\/unsupported-compiler-gcc-4-2-selected-for-architecture-i386\/<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>After investigation of all commentaries in How to install ZXing in Xcode 4 I finally solved a problem of &#8220;ZXingWidgetController.h not found&#8221;. But to totally solve it, you must do several things and none of the commentaries contain them all. So I decided to write here, what you should do to finally solve this problem. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[31,32,33],"class_list":["post-794","post","type-post","status-publish","format-standard","hentry","category-ios","tag-xcode4","tag-zxing","tag-zxingwidgetcontroller"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>&quot;ZXingWidgetController.h not found&quot; ZXing installation problem solution - Denis Kutlubaev<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.alwawee.ru\/?p=794\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"&quot;ZXingWidgetController.h not found&quot; ZXing installation problem solution - Denis Kutlubaev\" \/>\n<meta property=\"og:description\" content=\"After investigation of all commentaries in How to install ZXing in Xcode 4 I finally solved a problem of &#8220;ZXingWidgetController.h not found&#8221;. But to totally solve it, you must do several things and none of the commentaries contain them all. So I decided to write here, what you should do to finally solve this problem. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.alwawee.ru\/?p=794\" \/>\n<meta property=\"og:site_name\" content=\"Denis Kutlubaev\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/alwaweemobile\" \/>\n<meta property=\"article:published_time\" content=\"2011-12-01T15:28:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-03-04T14:20:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/3.png\" \/>\n<meta name=\"author\" content=\"Denis Kutlubaev\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Denis Kutlubaev\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794\"},\"author\":{\"name\":\"Denis Kutlubaev\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\"},\"headline\":\"&#8220;ZXingWidgetController.h not found&#8221; ZXing installation problem solution\",\"datePublished\":\"2011-12-01T15:28:22+00:00\",\"dateModified\":\"2012-03-04T14:20:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794\"},\"wordCount\":271,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2011\\\/12\\\/3.png\",\"keywords\":[\"XCode4\",\"ZXing\",\"ZXingWidgetController\"],\"articleSection\":[\"iOS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794\",\"name\":\"\\\"ZXingWidgetController.h not found\\\" ZXing installation problem solution - Denis Kutlubaev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2011\\\/12\\\/3.png\",\"datePublished\":\"2011-12-01T15:28:22+00:00\",\"dateModified\":\"2012-03-04T14:20:37+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794#primaryimage\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2011\\\/12\\\/3.png\",\"contentUrl\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2011\\\/12\\\/3.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=794#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.alwawee.ru\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"&#8220;ZXingWidgetController.h not found&#8221; ZXing installation problem solution\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#website\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/\",\"name\":\"Denis Kutlubaev\",\"description\":\"iOS Development\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.alwawee.ru\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\",\"name\":\"Denis Kutlubaev\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"caption\":\"Denis Kutlubaev\"},\"description\":\"iOS Developer, creator of Tornado Browser and many other popular apps\",\"sameAs\":[\"http:\\\/\\\/dennis.alwawee.com\"],\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\"ZXingWidgetController.h not found\" ZXing installation problem solution - Denis Kutlubaev","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.alwawee.ru\/?p=794","og_locale":"en_US","og_type":"article","og_title":"\"ZXingWidgetController.h not found\" ZXing installation problem solution - Denis Kutlubaev","og_description":"After investigation of all commentaries in How to install ZXing in Xcode 4 I finally solved a problem of &#8220;ZXingWidgetController.h not found&#8221;. But to totally solve it, you must do several things and none of the commentaries contain them all. So I decided to write here, what you should do to finally solve this problem. [&hellip;]","og_url":"https:\/\/blog.alwawee.ru\/?p=794","og_site_name":"Denis Kutlubaev","article_publisher":"https:\/\/www.facebook.com\/alwaweemobile","article_published_time":"2011-12-01T15:28:22+00:00","article_modified_time":"2012-03-04T14:20:37+00:00","og_image":[{"url":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/3.png","type":"","width":"","height":""}],"author":"Denis Kutlubaev","twitter_misc":{"Written by":"Denis Kutlubaev","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.alwawee.ru\/?p=794#article","isPartOf":{"@id":"https:\/\/blog.alwawee.ru\/?p=794"},"author":{"name":"Denis Kutlubaev","@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7"},"headline":"&#8220;ZXingWidgetController.h not found&#8221; ZXing installation problem solution","datePublished":"2011-12-01T15:28:22+00:00","dateModified":"2012-03-04T14:20:37+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.alwawee.ru\/?p=794"},"wordCount":271,"commentCount":0,"image":{"@id":"https:\/\/blog.alwawee.ru\/?p=794#primaryimage"},"thumbnailUrl":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/3.png","keywords":["XCode4","ZXing","ZXingWidgetController"],"articleSection":["iOS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.alwawee.ru\/?p=794#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.alwawee.ru\/?p=794","url":"https:\/\/blog.alwawee.ru\/?p=794","name":"\"ZXingWidgetController.h not found\" ZXing installation problem solution - Denis Kutlubaev","isPartOf":{"@id":"https:\/\/blog.alwawee.ru\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.alwawee.ru\/?p=794#primaryimage"},"image":{"@id":"https:\/\/blog.alwawee.ru\/?p=794#primaryimage"},"thumbnailUrl":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/3.png","datePublished":"2011-12-01T15:28:22+00:00","dateModified":"2012-03-04T14:20:37+00:00","author":{"@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7"},"breadcrumb":{"@id":"https:\/\/blog.alwawee.ru\/?p=794#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.alwawee.ru\/?p=794"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.alwawee.ru\/?p=794#primaryimage","url":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/3.png","contentUrl":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2011\/12\/3.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.alwawee.ru\/?p=794#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.alwawee.ru\/"},{"@type":"ListItem","position":2,"name":"&#8220;ZXingWidgetController.h not found&#8221; ZXing installation problem solution"}]},{"@type":"WebSite","@id":"https:\/\/blog.alwawee.ru\/#website","url":"https:\/\/blog.alwawee.ru\/","name":"Denis Kutlubaev","description":"iOS Development","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.alwawee.ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7","name":"Denis Kutlubaev","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","caption":"Denis Kutlubaev"},"description":"iOS Developer, creator of Tornado Browser and many other popular apps","sameAs":["http:\/\/dennis.alwawee.com"],"url":"https:\/\/blog.alwawee.ru\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts\/794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=794"}],"version-history":[{"count":0,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts\/794\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}