<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic armv7s ONLY_ACTIVE_ARCH=YES in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/armv7s-only-active-arch-yes/m-p/376392#M3231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a project with a build target of iOS 5.1, the valid architectures setting has only 'armv7' in it and I want to attach an iPhone 5 to Xcode directly. When attempting to build/run the application on the device through Xcode I get the following build time error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check dependencies:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv7).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that in the project settings there is a setting: "Build Active Architecture Only" and it is set to YES. My guess is that the iPhone 5 is running on the armv7s architecture but clearing armv7s from the project settings per ESRI's instructions renders the build invalid because of the ONLY_ACTIVE_ARCH setting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A couple questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is it necessary to flip the ONLY_ACTIVE_ARCH setting to NO? (I was able to do this and build/run on the iPhone 5 successfully)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Is there any harm in not building for active architecture only?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Should this be added to the "Configuring an Xcode project?" notes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Nov 2012 15:28:38 GMT</pubDate>
    <dc:creator>AaronConnolly</dc:creator>
    <dc:date>2012-11-15T15:28:38Z</dc:date>
    <item>
      <title>armv7s ONLY_ACTIVE_ARCH=YES</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/armv7s-only-active-arch-yes/m-p/376392#M3231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a project with a build target of iOS 5.1, the valid architectures setting has only 'armv7' in it and I want to attach an iPhone 5 to Xcode directly. When attempting to build/run the application on the device through Xcode I get the following build time error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check dependencies:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv7).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that in the project settings there is a setting: "Build Active Architecture Only" and it is set to YES. My guess is that the iPhone 5 is running on the armv7s architecture but clearing armv7s from the project settings per ESRI's instructions renders the build invalid because of the ONLY_ACTIVE_ARCH setting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A couple questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is it necessary to flip the ONLY_ACTIVE_ARCH setting to NO? (I was able to do this and build/run on the iPhone 5 successfully)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Is there any harm in not building for active architecture only?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Should this be added to the "Configuring an Xcode project?" notes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 15:28:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/armv7s-only-active-arch-yes/m-p/376392#M3231</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2012-11-15T15:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: armv7s ONLY_ACTIVE_ARCH=YES</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/armv7s-only-active-arch-yes/m-p/376393#M3232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's a follow up link from Apple that describes the problem and provides a solution. It looks as though there's no harm in flipping the build active arch only setting to NO:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://developer.apple.com/library/ios/#qa/qa1760/_index.html" rel="nofollow" target="_blank"&gt;http://developer.apple.com/library/ios/#qa/qa1760/_index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 15:36:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/armv7s-only-active-arch-yes/m-p/376393#M3232</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2012-11-15T15:36:52Z</dc:date>
    </item>
  </channel>
</rss>

