<?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 Re: Help resolving build errors data-collection-ios GitHub sample in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655686#M5862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm actually just tinkering around. I just finished the SalesForce iOS Development Trail and wanted something to play with. I'll definitely fetch from the repo once 1.1 is merged into master. For now, I'll keep toying with the current version since I'm not doing anything serious. Much appreciated heads up!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2019 23:36:49 GMT</pubDate>
    <dc:creator>JohnMDye</dc:creator>
    <dc:date>2019-04-05T23:36:49Z</dc:date>
    <item>
      <title>Help resolving build errors data-collection-ios GitHub sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655682#M5858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, complete noob here, just getting into iOS development. I cloned&amp;nbsp;the&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/data-collection-ios" title="https://github.com/Esri/data-collection-ios"&gt;GitHub - Esri/data-collection-ios: Mobile data collection app using the iOS Runtime SDK&lt;/A&gt;&amp;nbsp;repo and am trying to get it up and running. I haven't made any changes other than updating some of the project properties to use my own developer provisioning file and renaming the bundle identifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created an ArcGIS Developer account and downloaded and installed the ArcGIS Runtime SDK for iOS, version 100.4.0 on my Mac running OSX 10.4.13 with Xcode 10.2. I did a manual install, not cocoapods but left all of the settings at their default from the installer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought it'd be pretty simple but I ran into a couple of build errors which I don't know how to resolve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;&amp;nbsp;Multiple commands produce '/Users/jmdye/Library/Developer/Xcode/DerivedData/data-collection-ecahnpmltmvztsbgvwhtlgnntjdm/Build/Products/Debug-iphoneos/data-collection.app/ArcGIS.bundle':&lt;BR /&gt;1) Target 'data-collection' (project 'data-collection') has copy command from '/Users/jmdye/Git/data-collection-ios/data-collection/ArcGIS.bundle' to '/Users/jmdye/Library/Developer/Xcode/DerivedData/data-collection-ecahnpmltmvztsbgvwhtlgnntjdm/Build/Products/Debug-iphoneos/data-collection.app/ArcGIS.bundle'&lt;BR /&gt;2) Target 'data-collection' (project 'data-collection') has copy command from '/Users/jmdye/Library/SDKs/ArcGIS/iOS/Frameworks/Static/ArcGIS.framework/Versions/Current/Resources/ArcGIS.bundle' to '/Users/jmdye/Library/Developer/Xcode/DerivedData/data-collection-ecahnpmltmvztsbgvwhtlgnntjdm/Build/Products/Debug-iphoneos/data-collection.app/ArcGIS.bundle'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; &amp;nbsp;/Users/jmdye/Git/data-collection-ios/data-collection/data-collection/View Controllers/App Container/AppContainerViewController+DrawerDelegate.swift:16:8: No such module 'ArcGIS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed the second error might be caused by the ArcGIS resource bundle not being added to the project. So I did that, following the instructions outlined &lt;A href="https://developers.arcgis.com/ios/latest/swift/guide/install.htm#ESRI_SECTION3_415A055C372D489DA88AB7E6D9DF52CC"&gt;here&lt;/A&gt;, but it didn't resolve the error. I checked all the other project settings and made sure that framework search paths, build flags and link dependencies were established as described in the install guide for the runtime SDK, they all appear fine to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 21:18:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655682#M5858</guid>
      <dc:creator>JohnMDye</dc:creator>
      <dc:date>2019-04-05T21:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help resolving build errors data-collection-ios GitHub sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655683#M5859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;First let's ensure the &lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold; margin: 0px; padding: 0px;"&gt;ArcGIS.bundle&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;is referenced by the project&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="border: 0px; margin: 0px; padding: 0px;"&gt;only one place&lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;.&amp;nbsp;The error that reads starting with "&lt;/SPAN&gt;&lt;EM style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;Multiple commands produce ..."&lt;STRONG style="border: 0px; font-weight: bold; margin: 0px; padding: 0px;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;leads me to believe the project is attempting to build with two references to the &lt;STRONG style="border: 0px; font-weight: bold; margin: 0px; padding: 0px;"&gt;ArcGIS.bundle&lt;/STRONG&gt;. What we need to do is to delete the second reference. The application in its current condition is configured to reference the&amp;nbsp;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold; margin: 0px; padding: 0px;"&gt;ArcGIS.bundle&lt;/STRONG&gt; from within the 'Resources' folder. Based on this path in the error ('/Users/jmdye/Git/data-collection-ios/data-collection/ArcGIS.bundle') it appears you might have added a second reference to the &lt;STRONG style="border: 0px; font-weight: bold; margin: 0px; padding: 0px;"&gt;ArcGIS.bundle&lt;/STRONG&gt;&amp;nbsp;located in the top level project folder? If this is the case, i'll ask you to delete this reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bingo. &lt;A href="https://stackoverflow.com/questions/52518763/xcode-10-multiple-commands-produce-app"&gt;This Stack Overflow response&lt;/A&gt; to a similar error tipped me off, but your response is spot on and it comes with an explanation! Even though I'd corrected this issue, I didn't understand what was wrong in the first place, so thank for taking the time to write out those detailed troubleshooting steps, super helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 22:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655683#M5859</guid>
      <dc:creator>JohnMDye</dc:creator>
      <dc:date>2019-04-05T22:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help resolving build errors data-collection-ios GitHub sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655684#M5860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, i'd be happy to help you troubleshoot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears&amp;nbsp;there might be a few issues with your&amp;nbsp;Xcode project configuration. We can try a few techniques to get you up and running. Before we do this, ensure you have installed the &lt;A href="https://developers.arcgis.com/ios/latest/"&gt;latest version&lt;/A&gt; of the ArcGIS Runtime SDK and you're running the latest version of Xcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll offer a few approaches, feel free to choose the approach that works best for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Approach 1.&amp;nbsp;Double check references to&amp;nbsp;the Framework and Bundle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two ArcGIS resources needed to compile and run the app. They are the &lt;STRONG&gt;ArcGIS.framework&lt;/STRONG&gt; and the &lt;STRONG&gt;ArcGIS.bundle&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First let's ensure the &lt;STRONG&gt;ArcGIS.bundle&lt;/STRONG&gt;&amp;nbsp;is referenced by the project&amp;nbsp;&lt;EM&gt;only one place&lt;/EM&gt;.&amp;nbsp;The error that reads starting with "&lt;EM style="background-color: #ffffff; "&gt;Multiple commands produce ..."&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;leads me to believe the project is attempting to build with two references to the &lt;STRONG&gt;ArcGIS.bundle&lt;/STRONG&gt;. What we need to do is to delete the second reference. The application in its current condition is configured to reference the&amp;nbsp;&lt;STRONG style="background-color: #ffffff;"&gt;ArcGIS.bundle&lt;/STRONG&gt; from within the 'Resources' folder. Based on this path in the error ('/Users/jmdye/Git/data-collection-ios/data-collection/ArcGIS.bundle') it appears you might have added a second reference to the &lt;STRONG&gt;ArcGIS.bundle&lt;/STRONG&gt;&amp;nbsp;located in the top level project folder? If this is the case, i'll ask you to delete this reference. When deleting this reference, be sure to select the 'Remove Reference' option when prompted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Next, the's ensure the &lt;STRONG&gt;ArcGIS.framework&lt;/STRONG&gt;&amp;nbsp;can be found on your machine where the Xcode project thinks it should be. The project finds the &lt;STRONG&gt;ArcGIS.framework&lt;/STRONG&gt; by following the path specified in the target's Framework Search Paths. We want to ensure the Framework Search Path matches where the framework is installed on your machine. Following these steps (numbers&amp;nbsp;correspond to the screen grab beneath):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Select the project&lt;/LI&gt;&lt;LI&gt;Select the target 'data-collection'&lt;/LI&gt;&lt;LI&gt;Select the 'Build Settings' pane&lt;/LI&gt;&lt;LI&gt;Filter down the fields using the search bar, typing: "Framework Search Paths"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;IMG alt="steps" class="image-1 jive-image j-img-original" src="/legacyfs/online/441384_Screen Shot 2019-04-05 at 3.24.18 PM.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;It is at this path where Xcode will look for the &lt;STRONG&gt;ArcGIS.framework&lt;/STRONG&gt;. Can you confirm that the framework exists at this path on your machine? The path used in the Data Collection project is the default install location specified by the Installer. If you have installed the framework to a different path, update the above "Framework Search Paths" value to the path to the directory that contains the &lt;STRONG&gt;ArcGIS.framework&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Now, try to Build &amp;amp; Run. Were you successful?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Approach 2. Build project using the Dynamic Framework&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;To follow this approach, you will need to first remove references the static framework before adding references to the dynamic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; "&gt;Remove Reference to Static Framework&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Following the steps outlined in the above&amp;nbsp;approach&amp;nbsp;1 that demonstrates how to find the Framework Search Paths, delete the value found for Framework Search Paths. Next, delete all references to the &lt;STRONG&gt;ArcGIS.bundle&lt;/STRONG&gt; within your project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; "&gt;Add Reference to Dynamic Framework&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. With the project selected, under the General tab scroll down to the 'Embedded Binaries' section. Click the '+' button located in the bottom left corner of the view.&lt;BR /&gt;2. Click 'Add Other...'&lt;BR /&gt;3. Select framework following the path: `/Users/&amp;lt;your-username&amp;gt;/Library/SDKs/ArcGIS/iOS/Frameworks/Dynamic/ArcGIS.framework`&lt;BR /&gt;4. Ensure 'Copy items if needed' is **not** selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note* If you don't see Library in your home folder, you can follow these instructions to toggle the folder visibility.&lt;BR /&gt; &lt;BR /&gt; 1. In Finder, click your home folder&lt;BR /&gt; 2. Click the 'View' menu and select 'Show View Options'&lt;BR /&gt; 3. Ensure 'Show Library Folder' is enabled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Now, try to Build &amp;amp; Run. Were you successful?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Approach 3. Clean Re-Start&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;You can always try restarting the whole process by deleting the project and cloning the github project again. If you choose to try this route, I encourage you to attempt to build and run the project immediately after cloning the new project and before you&amp;nbsp;begin provisioning the project and configuring the app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Were you successful?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Success?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Did any of these three approaches help you? I'd be happy to help you troubleshoot further, if needed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;A Heads Up!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In only a matter of days we will be releasing Data Collection v1.1. Because we're operating in open source, you can see a pre-release version of the v1.1 app on the repo's &lt;A href="https://github.com/Esri/data-collection-ios/tree/v.next"&gt;v.next&lt;/A&gt; branch. If you're interesting in building your own ArcGIS data collection solution using this app, I encourage you to use the nearly release v1.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as always, feedback is welcomed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 22:46:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655684#M5860</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-04-05T22:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help resolving build errors data-collection-ios GitHub sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655685#M5861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad the issue is resolved. You can ignore the troubleshooting response i've offered below but I do think it's still worth noting the following bit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;A Heads Up!&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;In only a matter of days we will be releasing Data Collection v1.1. Because we're operating in open source, you can see a pre-release version of the v1.1 app on the repo's&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FEsri%2Fdata-collection-ios%2Ftree%2Fv.next" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;v.next&lt;/A&gt;branch. If you're interesting in building your own ArcGIS data collection solution using this app, I encourage you to use the nearly release v1.1.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;And as always, feedback is welcomed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 22:48:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655685#M5861</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-04-05T22:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help resolving build errors data-collection-ios GitHub sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655686#M5862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm actually just tinkering around. I just finished the SalesForce iOS Development Trail and wanted something to play with. I'll definitely fetch from the repo once 1.1 is merged into master. For now, I'll keep toying with the current version since I'm not doing anything serious. Much appreciated heads up!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 23:36:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-resolving-build-errors-data-collection-ios/m-p/655686#M5862</guid>
      <dc:creator>JohnMDye</dc:creator>
      <dc:date>2019-04-05T23:36:49Z</dc:date>
    </item>
  </channel>
</rss>

