<?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 Xcode: Build error with ObjectiveDropboxOfficial framework in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xcode-Build-error-with-ObjectiveDropboxOfficial-framework/m-p/312041#M18552</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am getting a build error when building the&amp;nbsp;ObjectiveDropboxOfficial framework. I use Carthage to build both iOS and Mac builds and link them into my project, just as instructed on the readme file.&amp;nbsp;I get this error when I build my iOS app target:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;While building module 'ObjectiveDropboxOfficial' imported from Classes/MyDropboxNewManager.h:13:
In file included from &amp;lt;module-includes&amp;gt;:1:
Carthage/Build/Mac/ObjectiveDropboxOfficial.framework/Headers/ObjectiveDropboxOfficial.h:32:9: fatal error: 'ObjectiveDropboxOfficial/DBSDKImports-iOS.h' file not found
#import &amp;lt;ObjectiveDropboxOfficial/DBSDKImports-iOS.h&amp;gt;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

In file included from /Users/zs/Documents/Git/branches/CJ-400/SimpleList/Classes/CloudKitTeamBrowserViewController.m:11:
In file included from Classes/MoreOptionsTableController.h:14:
Classes/DropboxNewManager.h:13:9: fatal error: could not build module 'ObjectiveDropboxOfficial'
#import &amp;lt;ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h&amp;gt;
 ~~~~~~~^

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's strange is that I am building for the iOS target, but it's looking in Carthage/Build/Mac/ObjectiveDropboxOfficial.framework for the header files. Sure enough, if I delete the "&lt;SPAN&gt;C&lt;/SPAN&gt;&lt;SPAN&gt;arthage/Build/Mac" directory, the iOS target starts building fine! But it's cumbersome to have to run 'carthage update' every time I want to run the Mac app target, and then remember to delete it again before running my iOS target.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can someone suggest a solution for this problem?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:09:19 GMT</pubDate>
    <dc:creator>zulfishah</dc:creator>
    <dc:date>2019-05-29T09:09:19Z</dc:date>
    <item>
      <title>Xcode: Build error with ObjectiveDropboxOfficial framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xcode-Build-error-with-ObjectiveDropboxOfficial-framework/m-p/312041#M18552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am getting a build error when building the&amp;nbsp;ObjectiveDropboxOfficial framework. I use Carthage to build both iOS and Mac builds and link them into my project, just as instructed on the readme file.&amp;nbsp;I get this error when I build my iOS app target:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;While building module 'ObjectiveDropboxOfficial' imported from Classes/MyDropboxNewManager.h:13:
In file included from &amp;lt;module-includes&amp;gt;:1:
Carthage/Build/Mac/ObjectiveDropboxOfficial.framework/Headers/ObjectiveDropboxOfficial.h:32:9: fatal error: 'ObjectiveDropboxOfficial/DBSDKImports-iOS.h' file not found
#import &amp;lt;ObjectiveDropboxOfficial/DBSDKImports-iOS.h&amp;gt;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

In file included from /Users/zs/Documents/Git/branches/CJ-400/SimpleList/Classes/CloudKitTeamBrowserViewController.m:11:
In file included from Classes/MoreOptionsTableController.h:14:
Classes/DropboxNewManager.h:13:9: fatal error: could not build module 'ObjectiveDropboxOfficial'
#import &amp;lt;ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h&amp;gt;
 ~~~~~~~^

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's strange is that I am building for the iOS target, but it's looking in Carthage/Build/Mac/ObjectiveDropboxOfficial.framework for the header files. Sure enough, if I delete the "&lt;SPAN&gt;C&lt;/SPAN&gt;&lt;SPAN&gt;arthage/Build/Mac" directory, the iOS target starts building fine! But it's cumbersome to have to run 'carthage update' every time I want to run the Mac app target, and then remember to delete it again before running my iOS target.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can someone suggest a solution for this problem?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:09:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xcode-Build-error-with-ObjectiveDropboxOfficial-framework/m-p/312041#M18552</guid>
      <dc:creator>zulfishah</dc:creator>
      <dc:date>2019-05-29T09:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Xcode: Build error with ObjectiveDropboxOfficial framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xcode-Build-error-with-ObjectiveDropboxOfficial-framework/m-p/312769#M18579</link>
      <description>&lt;P&gt;It sounds like your iOS build configuration might be accidentally&amp;nbsp;referencing to the Carthage/Build/Mac directory.&amp;nbsp; Can you double check your iOS build configuration and verify the dropbox&amp;nbsp;library was copied from Carthage/Build/iOS and the build phase is also conigured for Carthage/Build/iOS&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 23:03:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xcode-Build-error-with-ObjectiveDropboxOfficial-framework/m-p/312769#M18579</guid>
      <dc:creator>DBX_Robert</dc:creator>
      <dc:date>2018-11-22T23:03:55Z</dc:date>
    </item>
  </channel>
</rss>

