{"id":1327,"date":"2022-08-30T15:15:36","date_gmt":"2022-08-30T15:15:36","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/10\/cmake-xcode-error-build-setting-product_name-undefined-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:15:36","modified_gmt":"2022-08-30T15:15:36","slug":"cmake-xcode-error-build-setting-product_name-undefined-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/cmake-xcode-error-build-setting-product_name-undefined-collection-of-common-programming-errors\/","title":{"rendered":"cmake + xcode : error &#39;Build setting PRODUCT_NAME undefined&#39;-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m using <em>cmake 2.8.3<\/em> to generate a C\/C++ project file for <em>xcode 3.2.5<\/em> ; the build goes generally fine, but I have to manually set the &#8220;Product Name&#8221; each time I generate the xcode project (in <em>Project \/ Edit Project Settings \/ Packaging<\/em>).<\/p>\n<p>If I fail to set this product name, <em>xcode<\/em> refuses to build the project, and exits reporting the following error :<\/p>\n<ul>\n<li><code>Build setting PRODUCT_NAME undefined<\/code><\/li>\n<\/ul>\n<p>Is it possible to set this value with <em>cmake<\/em> ? or go without defining a <em>Product Name<\/em> ?<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-10 00:17:03. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using cmake 2.8.3 to generate a C\/C++ project file for xcode 3.2.5 ; the build goes generally fine, but I have to manually set the &#8220;Product Name&#8221; each time I generate the xcode project (in Project \/ Edit Project Settings \/ Packaging). If I fail to set this product name, xcode refuses to build [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1327","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1327"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1327\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}