<?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: Problems with XCODE 12 and Dropbox framework in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/461138#M23665</link>
    <description>&lt;P&gt;Thanks for the report! We'll look into this to see what the issue may be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To make sure we reproduce the same problem you're seeing though, can you share the relevant error messages you're getting?&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 18:38:44 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-10-13T18:38:44Z</dc:date>
    <item>
      <title>Can't build for iOS Simulator when SDK installed with Carthage</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/460392#M23646</link>
      <description>&lt;P&gt;Apple broke my Dropbox SDK installation in their latest XCODE 12.0.1. &amp;nbsp;I was using the Cocoa Pods method ever since Dropbox V2 came out. &amp;nbsp;So I decided to redo my project using Carthage. &amp;nbsp;It works fine when building for an iOS device, but fails when building for the simulator. &amp;nbsp;I don't know how Cocoa Pods handled it. &amp;nbsp;All I know it that it used to work. &amp;nbsp;But with Carthage, apparently, the SDK builds a static library for ARM processors only, and the simulator requires X86_64. &amp;nbsp;By the way, the failure in the Cocoa Pods method was that the Dropbox SDK headers were not found when building for the simulator, even though they were found when building for devices. &amp;nbsp;So with both Carthage and with Cocoa Pods, I can build for devices but not for the simulator, but for different reasons. &amp;nbsp;Is there a way with XCODE 12.0.1 to build for the simulator? &amp;nbsp;(I need to use the latest XCODE because I am debugging an iOS 14 problem which is only supported in XCODE 12.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 05:07:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/460392#M23646</guid>
      <dc:creator>Robert S.138</dc:creator>
      <dc:date>2020-10-12T05:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with XCODE 12 and Dropbox framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/460820#M23656</link>
      <description>&lt;P&gt;In addition to the problems with the Dropbox API installed with Carthage, I even tried making a new project with Cocoa Pods. &amp;nbsp;In both cases, the XCODE 12 build process crashes whenever one of my application source files imports "ObjectiveDropboxOfficial.h". &amp;nbsp;Has anyone successfully used XCODE 12 to build a project for the simulator containing the Dropbox API?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 20:25:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/460820#M23656</guid>
      <dc:creator>Robert S.138</dc:creator>
      <dc:date>2020-10-12T20:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with XCODE 12 and Dropbox framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/461138#M23665</link>
      <description>&lt;P&gt;Thanks for the report! We'll look into this to see what the issue may be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To make sure we reproduce the same problem you're seeing though, can you share the relevant error messages you're getting?&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 18:38:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/461138#M23665</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-13T18:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with XCODE 12 and Dropbox framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/461357#M23671</link>
      <description>&lt;P&gt;It looks like these issues are due to incompatibilies with Xcode 12 in both Cocoapods and Carthage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Cocoapods, please refer to this issue:&amp;nbsp;&lt;A href="https://github.com/CocoaPods/CocoaPods/issues/9902" target="_blank" rel="noopener"&gt;https://github.com/CocoaPods/CocoaPods/issues/9902&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Carthage, please refer to this issue:&amp;nbsp;&lt;A href="https://github.com/Carthage/Carthage/issues/3019" target="_blank" rel="noopener"&gt;https://github.com/Carthage/Carthage/issues/3019&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 16:58:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/461357#M23671</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-21T16:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with XCODE 12 and Dropbox framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463434#M23724</link>
      <description>&lt;P&gt;Here is the latest minimal failure example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Start XCODE 12.0.1: &amp;nbsp;Select "New Project". &amp;nbsp;Select "App". &amp;nbsp;Project Name: "TuneLab3" &amp;nbsp;Create.&lt;/P&gt;&lt;P&gt;This skeleton program builds OK. &amp;nbsp;Now to manually add Dropbox as a subproject (which also involves Carthage).&lt;/P&gt;&lt;P&gt;Create Cartfile in project root with the following contents:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# ObjectiveDropboxOfficial&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;github "&lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-obj-c&lt;/A&gt;" ~&amp;gt; 5.0.3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open a terminal window, navigate to the project root, and do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;carthage update --platform iOS&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And this is the output:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;***&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; Fetching &lt;STRONG&gt;dropbox-sdk-obj-c&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;***&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; Checking out &lt;STRONG&gt;dropbox-sdk-obj-c&lt;/STRONG&gt; at &lt;/SPAN&gt;&lt;SPAN&gt;"5.0.3"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;***&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; xcodebuild output can be found in &lt;/SPAN&gt;&lt;SPAN&gt;/var/folders/mh/0wpmn3f15r18xmqnrgtyzrgm0000gn/T/carthage-xcodebuild.YEPV7A.log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;***&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; Building scheme &lt;/SPAN&gt;&lt;SPAN&gt;"ObjectiveDropboxOfficial iOS"&lt;/SPAN&gt;&lt;SPAN&gt; in &lt;STRONG&gt;ObjectiveDropboxOfficial.xcodeproj&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Build Failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Task failed with exit code 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/usr/bin/xcrun lipo -create /Users/robertscott/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/dropbox-sdk-obj-c/5.0.3/Build/Intermediates.noindex/ArchiveIntermediates/ObjectiveDropboxOfficial\ iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/ObjectiveDropboxOfficial.framework/ObjectiveDropboxOfficial /Users/robertscott/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/dropbox-sdk-obj-c/5.0.3/Build/Products/Release-iphonesimulator/ObjectiveDropboxOfficial.framework/ObjectiveDropboxOfficial -output /Users/robertscott/Documents/iOSdev/TuneLab3/Carthage/Build/iOS/ObjectiveDropboxOfficial.framework/ObjectiveDropboxOfficial&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/mh/0wpmn3f15r18xmqnrgtyzrgm0000gn/T/carthage-xcodebuild.YEPV7A.log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when I look at the log file cited, it is an 8 MB file that ends with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;** BUILD SUCCEEDED **&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should I just trust that everything is OK?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 16:28:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463434#M23724</guid>
      <dc:creator>Robert S.138</dc:creator>
      <dc:date>2020-10-21T16:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with XCODE 12 and Dropbox framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463459#M23726</link>
      <description>&lt;P&gt;Thanks for following up. It looks like this is due to &lt;A href="https://github.com/Carthage/Carthage/issues/3019" target="_self"&gt;that Carthage issue&lt;/A&gt;. We can't officially offer support for Carthage itself as that's not made by Dropbox though, so I'll have to defer to the information in &lt;A href="https://github.com/Carthage/Carthage/issues/3019" target="_self"&gt;the Carthage issue regarding this&lt;/A&gt;. It looks like that's currently still open.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For reference though, one way to check the version of the Dropbox Objective-SDK&amp;nbsp;that is loaded in a project is to check the value of `kDBSDKVersion` in code, which is a constant containing the&amp;nbsp;Dropbox Objective-SDK version number.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 17:57:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463459#M23726</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-21T17:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with XCODE 12 and Dropbox framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463518#M23728</link>
      <description>&lt;P&gt;Is there a way to add the Dropbox SDK to an XCODE project that does not involve any 3rd party software like Carthage or CocoaPods just by copying source code directly? &amp;nbsp;Even though the problem I need to debug in iOS 14 has nothing to do with Dropbox, if I can't even build my app for iOS 14 I can't do any debugging on that issue and I can't build for iOS 14 without XCODE 12.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 19:55:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463518#M23728</guid>
      <dc:creator>Robert S.138</dc:creator>
      <dc:date>2020-10-21T19:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with XCODE 12 and Dropbox framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463551#M23729</link>
      <description>&lt;P&gt;No, unfortunately the only officially supported installation methods for the&amp;nbsp;Dropbox API v2 Objective-C SDK use Cocoapods or Carthage,&amp;nbsp;but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 20:54:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463551#M23729</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-21T20:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with XCODE 12 and Dropbox framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463775#M23732</link>
      <description>&lt;P&gt;In the meantime perhaps someone at Dropbox could at least try to add the SDK to a new skeleton project using XCODE 12.&amp;nbsp; The test is to build for both the simulator and a real ARM device.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 13:28:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463775#M23732</guid>
      <dc:creator>Robert S.138</dc:creator>
      <dc:date>2020-10-22T13:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with XCODE 12 and Dropbox framework</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463826#M23734</link>
      <description>&lt;P&gt;I'll pass this request along (though we'd also run in to the same issues with Cocoapods/Carthage anyway).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like there are some workarounds available in &lt;A href="https://github.com/Carthage/Carthage/issues/3019" target="_self"&gt;the Carthage issue&lt;/A&gt; while they work to resolve this properly, so you may want to use one of those to get running for now. (Or, likewise use Cocoapods 1.10, which seems to currently be in beta, per &lt;A href="https://github.com/CocoaPods/CocoaPods/issues/9902" target="_self"&gt;the Cocoapods issue&lt;/A&gt;.)&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 15:59:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/463826#M23734</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-22T15:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can't build for iOS Simulator - **SOLVED**</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/466860#M23810</link>
      <description>&lt;P&gt;**SOLVED**&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main problem was that the Intel 64-bit architecture was not recognized by XCODE as on of the build architectures. That in turn was caused by the update to XCODE 12. &amp;nbsp;Even though the architectures were properly indicated as $(ARCHS_STANDARD) in both the project and the target build settings, they were being overriden by a setting in the USER-DEFINED section of the build settings that XCODE transferred there for some reason. &amp;nbsp;The setting in USER-DEFINED was&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VALID_ARCHS &amp;nbsp; &amp;nbsp; armv7 &amp;nbsp;arm64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution was to click on this setting and hit DELETE so it totally vanishes. &amp;nbsp;Then the main project build settings that include all standard architectures can be effective. &amp;nbsp;It was odd that this error led to the error "ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h" not found. &amp;nbsp;But perhaps it had to do with CocoaPods making a copy of the header files for each architecture, because this error did not happen when building for a real device. &amp;nbsp;Anyway, it is solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, I gave up on Carthage and returned to my original Cocoapods setup. &amp;nbsp;Also I updated Cocoapods to the latest, version 1.10.0 with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; sudo gem install cocoapods&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I updated the ObjectiveDropboxOfficial project to ver 5.0.3 &amp;nbsp;with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;pod update&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;pod deintegrate&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;pod install&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I don't know if the last two commands were necessary.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Updating to Dropbox API version 5.0.3 and XCODE 12 only required two small accomodations in my source code. &amp;nbsp;One was that the type of the first parameter in the response block for the function createFolderV2 had to be changed from DBFILESFolderMetadata to DBFILESCreateFolderResult. &amp;nbsp;The other change was that [DBClientsManager &lt;SPAN&gt;handleRedirectURL] now uses a completion block instead of returning the&amp;nbsp;&lt;/SPAN&gt;DBOAuthResult directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I am back to using Cocoapods and everything is working as it should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 18:13:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-build-for-iOS-Simulator-when-SDK-installed-with-Carthage/m-p/466860#M23810</guid>
      <dc:creator>Robert S.138</dc:creator>
      <dc:date>2020-11-03T18:13:54Z</dc:date>
    </item>
  </channel>
</rss>

