<?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: IOS build error: No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'upload in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/273528#M16274</link>
    <description>&lt;P&gt;Still I don't know why it encountered this error,,,&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'uploadData:mode:autorename:clientModified:mute:inputData:'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;DBUserClient * client = [DBClientsManager authorizedClient ];
DBFILESWriteMode *mode = [[DBFILESWriteMode alloc] initWithOverwrite];
    [[[client.filesRoutes uploadData:@"/test/path/in/Dropbox/account/my_output.txt"
                                 mode:mode
                           autorename:@(YES)
                       clientModified:nil
                                 mute:@(NO)
                            inputData:fileData]
       setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *networkError) {
           if (result) {
               NSLog(@"%@\n", result);
           } else {
               NSLog(@"%@\n%@\n", routeError, networkError);
           }
       }] setProgressBlock:^(int64_t bytesUploaded, int64_t totalBytesUploaded, int64_t totalBytesExpectedToUploaded) {
           NSLog(@"\n%lld\n%lld\n%lld\n", bytesUploaded, totalBytesUploaded, totalBytesExpectedToUploaded);
       } ] ;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I compared the demo with these codes and they are the same.&amp;nbsp; Really need help!&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 12:29:06 GMT</pubDate>
    <dc:creator>Zoey03</dc:creator>
    <dc:date>2018-04-23T12:29:06Z</dc:date>
    <item>
      <title>IOS build error: No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'uploadData</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/271921#M16137</link>
      <description>&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DBUserClient * client = [DBClientsManager authorizedClient ];

DBFILESWriteMode *mode = [[DBFILESWriteMode alloc] initWithOverwrite];

&amp;nbsp; &amp;nbsp;

[[client.filesRoutes uploadData:objPath &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mode:mode

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; autorename:@(YES)

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clientModified:nil

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mute:@(NO)

&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inputData:fileData]

&amp;nbsp; &amp;nbsp; &amp;nbsp; setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *networkError) {

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (result) {

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NSLog(@"%@\n", result);

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NSLog(@"%@\n%@\n", routeError, networkError);

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }

&amp;nbsp; &amp;nbsp; &amp;nbsp; }];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;that's the code encountered the error.&lt;/P&gt;&lt;P class="p1"&gt;I tried many times but still not found the way to correct it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:14:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/271921#M16137</guid>
      <dc:creator>Zoey03</dc:creator>
      <dc:date>2019-05-29T09:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: IOS build error: No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/271955#M16142</link>
      <description>&lt;P&gt;It sounds like you're using code written for an older version of the SDK with a newer version of the SDK, where the method definition has since been changed. You can find &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)uploadData:mode:autorename:clientModified:mute:propertyGroups:inputData:" target="_self"&gt;the documentation for the current method definition here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also have Xcode fill this in automatically using the&amp;nbsp;Xcode&amp;nbsp;autocomplete feature. E.g., type "&lt;/P&gt;
&lt;P class="p1"&gt;client.filesRoutes uploadData" and select the autocomplete option for the desired method.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:27:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/271955#M16142</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-10T15:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: IOS build error: No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/273528#M16274</link>
      <description>&lt;P&gt;Still I don't know why it encountered this error,,,&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'uploadData:mode:autorename:clientModified:mute:inputData:'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;DBUserClient * client = [DBClientsManager authorizedClient ];
DBFILESWriteMode *mode = [[DBFILESWriteMode alloc] initWithOverwrite];
    [[[client.filesRoutes uploadData:@"/test/path/in/Dropbox/account/my_output.txt"
                                 mode:mode
                           autorename:@(YES)
                       clientModified:nil
                                 mute:@(NO)
                            inputData:fileData]
       setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *networkError) {
           if (result) {
               NSLog(@"%@\n", result);
           } else {
               NSLog(@"%@\n%@\n", routeError, networkError);
           }
       }] setProgressBlock:^(int64_t bytesUploaded, int64_t totalBytesUploaded, int64_t totalBytesExpectedToUploaded) {
           NSLog(@"\n%lld\n%lld\n%lld\n", bytesUploaded, totalBytesUploaded, totalBytesExpectedToUploaded);
       } ] ;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I compared the demo with these codes and they are the same.&amp;nbsp; Really need help!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 12:29:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/273528#M16274</guid>
      <dc:creator>Zoey03</dc:creator>
      <dc:date>2018-04-23T12:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: IOS build error: No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/273574#M16279</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/657627"&gt;@Zoey03&lt;/a&gt;&amp;nbsp;To clarify, did you solve this, or do you still need help? You marked your last reply as a solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, I&amp;nbsp;recommend just letting Xcode autocomplete the method call, as that will give you the definition for the version of the SDK you have installed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you're referring to this sample, which is now out of date. (I'll ask the team to update that.) It's just missing the new&amp;nbsp;propertyGroups parameter, to which you can pass nil if you're not using that feature. So, an updated version would look like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;NSData *fileData = [@"file data example" dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:NO];

// For overriding on upload
DBFILESWriteMode *mode = [[DBFILESWriteMode alloc] initWithOverwrite];

[[[client.filesRoutes uploadData:@"/test/path/in/Dropbox/account/my_output.txt"
                            mode:mode
                      autorename:@(YES)
                  clientModified:nil
                            mute:@(NO)
                  propertyGroups:nil
                       inputData:fileData]
  setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *networkError) {
      if (result) {
          NSLog(@"%@\n", result);
      } else {
          NSLog(@"%@\n%@\n", routeError, networkError);
      }
  }] setProgressBlock:^(int64_t bytesUploaded, int64_t totalBytesUploaded, int64_t totalBytesExpectedToUploaded) {
      NSLog(@"\n%lld\n%lld\n%lld\n", bytesUploaded, totalBytesUploaded, totalBytesExpectedToUploaded);
  }];&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:25:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/273574#M16279</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-23T16:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: IOS build error: No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/273685#M16292</link>
      <description>&lt;P&gt;Thanks a million!!&amp;nbsp; It finally passed when I add that line of code.&lt;/P&gt;
&lt;P&gt;yesterday I marked your reply as a solution by mistaken but I didn't know how to undo, while today it is truly solved!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 09:29:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/273685#M16292</guid>
      <dc:creator>Zoey03</dc:creator>
      <dc:date>2018-04-24T09:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: IOS build error: No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/335111#M19548</link>
      <description>&lt;P&gt;Just updated a project to SDK 3.9.4 and got similar error messages from a slightly different cause.&amp;nbsp; You may need to add strictConflict:@(NO) to certain methods like uploadData, in the same manner as propertyGroups:nil.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 16:27:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/335111#M19548</guid>
      <dc:creator>MarkStasak</dc:creator>
      <dc:date>2019-03-21T16:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: IOS build error: No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/342250#M19780</link>
      <description>&lt;P&gt;same code doesn't worked for me. same error i am getting&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="typ"&gt;No&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; visible &lt;/SPAN&gt;&lt;SPAN class="lit"&gt;@interface&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;for&lt;/SPAN&gt; &lt;SPAN class="str"&gt;'DBFILESUserAuthRoutes'&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; declares the selector &lt;/SPAN&gt;&lt;SPAN class="str"&gt;'uploadData:mode:autorename:clientModified:mute:propertyGroups:inputData:'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 10:51:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/342250#M19780</guid>
      <dc:creator>iOSDev</dc:creator>
      <dc:date>2019-05-01T10:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: IOS build error: No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/342298#M19782</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/55934948/dropbox-error-in-uploaddatamodeautorenameclientmodifiedmutepropertygroup" target="_blank"&gt;https://stackoverflow.com/questions/55934948/dropbox-error-in-uploaddatamodeautorenameclientmodifiedmutepropertygroup&lt;/A&gt;&amp;nbsp;]&lt;/P&gt;
&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1116100"&gt;@iOSDev&lt;/a&gt;&amp;nbsp;I see you also posted this on StackOverflow. I've answered there:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/55934948/dropbox-error-in-uploaddatamodeautorenameclientmodifiedmutepropertygroup/55938799#55938799" target="_blank"&gt;https://stackoverflow.com/questions/55934948/dropbox-error-in-uploaddatamodeautorenameclientmodifiedmutepropertygroup/55938799#55938799&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 15:36:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/IOS-build-error-No-visible-interface-for-DBFILESUserAuthRoutes/m-p/342298#M19782</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-05-01T15:36:47Z</dc:date>
    </item>
  </channel>
</rss>

