<?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: Dropbox iOS SDK: I had to manually add CoreGraphics to make it work in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5242#M228</link>
    <description>&lt;P&gt;To Greg K.&lt;/P&gt;

&lt;P&gt;Hello, thanks for attention to the bug.&lt;BR /&gt;
I should mention that I lied about Xcode version, I have Xcode 6.1, not 6.1.1.&lt;BR /&gt;
I just created absolutely new project and tested it see if the bug is still there. Unfortunately, it is still there.&lt;BR /&gt;
You can download it from here: &lt;A href="https://www.dropbox.com/s/onw848lcp8vkq07/testest.zip?dl=0" rel="nofollow noreferrer"&gt;https://www.dropbox.com/s/onw848lcp8vkq07/testest.zip?dl=0&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;By the way, I do this on virtual machine (OS X 10.9.5), maybe that's the problem.&lt;/P&gt;</description>
    <pubDate>Sun, 21 Dec 2014 11:15:11 GMT</pubDate>
    <dc:creator>Aibek D.</dc:creator>
    <dc:date>2014-12-21T11:15:11Z</dc:date>
    <item>
      <title>Dropbox iOS SDK: I had to manually add CoreGraphics to make it work</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5240#M226</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;

&lt;P&gt;I'm using Xcode 6.1.1. I have installed Dropbox SDK version 1.3.13 in my project and every time I tried to compile the project I was getting these errors:&lt;BR /&gt;
1) DBRestClient.h&lt;BR /&gt;
"Parse issue. Expected a type"&lt;BR /&gt;
2) DBRestRequest.h&lt;BR /&gt;
"Parse issue. Unknown type name 'CGFloat'."&lt;BR /&gt;
Trouble is easily solved by importing CoreGraphics to DBRestClient.h&lt;BR /&gt;
@import CoreGraphics;&lt;BR /&gt;
or&lt;BR /&gt;
#import &amp;lt;CoreGraphics/CoreGraphics.h&amp;gt;&lt;/P&gt;

&lt;P&gt;It's a minor bug, but please fix it. In the corresponding example project "DBRoulette" everything is good, but when you try to manually add the framework to your project, aforementioned errors appear.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:46:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5240#M226</guid>
      <dc:creator>Aibek D.</dc:creator>
      <dc:date>2019-05-29T09:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox iOS SDK: I had to manually add CoreGraphics to make it work</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5241#M227</link>
      <description>&lt;P&gt;Thanks for the report! I can't  seem to reproduce this by adding the iOS Core SDK 1.3.13 into a new iOS project made by Xcode 6.1.1 though, so there's likely something different about your project. It would be good to understand what the difference is. Are you able to reproduce this in a new iOS project?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Dec 2014 07:39:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5241#M227</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2014-12-21T07:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox iOS SDK: I had to manually add CoreGraphics to make it work</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5242#M228</link>
      <description>&lt;P&gt;To Greg K.&lt;/P&gt;

&lt;P&gt;Hello, thanks for attention to the bug.&lt;BR /&gt;
I should mention that I lied about Xcode version, I have Xcode 6.1, not 6.1.1.&lt;BR /&gt;
I just created absolutely new project and tested it see if the bug is still there. Unfortunately, it is still there.&lt;BR /&gt;
You can download it from here: &lt;A href="https://www.dropbox.com/s/onw848lcp8vkq07/testest.zip?dl=0" rel="nofollow noreferrer"&gt;https://www.dropbox.com/s/onw848lcp8vkq07/testest.zip?dl=0&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;By the way, I do this on virtual machine (OS X 10.9.5), maybe that's the problem.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Dec 2014 11:15:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5242#M228</guid>
      <dc:creator>Aibek D.</dc:creator>
      <dc:date>2014-12-21T11:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox iOS SDK: I had to manually add CoreGraphics to make it work</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5243#M229</link>
      <description>&lt;P&gt;Thanks! That's very helpful. I believe I've tracked this down. We'll look into fixing this on our side in the SDK itself, but to quickly fix this in your project, change this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#import &amp;lt;DropboxSDK/DropboxSDK.h&amp;gt;

#import "AppDelegate.h"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#import "AppDelegate.h"

#import &amp;lt;DropboxSDK/DropboxSDK.h&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is because the SDK needs UIKit imported, which is done by default in AppDelegate, but it will fail if you import DropboxSDK before AppDelegate.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2014 05:15:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5243#M229</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2014-12-23T05:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox iOS SDK: I had to manually add CoreGraphics to make it work</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5244#M230</link>
      <description>&lt;P&gt;Hello, Greg!&lt;/P&gt;

&lt;P&gt;I'm glad that you've found the bug and solution.&lt;BR /&gt;
It's funny how sometimes everything goes wrong because one line is slightly above another one.&lt;BR /&gt;
Happy fixing!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2014 05:32:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-iOS-SDK-I-had-to-manually-add-CoreGraphics-to-make-it/m-p/5244#M230</guid>
      <dc:creator>Aibek D.</dc:creator>
      <dc:date>2014-12-23T05:32:26Z</dc:date>
    </item>
  </channel>
</rss>

