You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/09/09 14:07:07 UTC

[GitHub] [cordova-plugin-file-transfer] narenderreddych opened a new issue #278: ARC semantic issue

narenderreddych opened a new issue #278:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/278


   <!--
   Please have a look at the issue templates you get when you click "New issue" in the GitHub UI.
   We very much prefer issues created by using one of these templates.
   -->
   
   ### Issue Type
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [X] Bug Report
   - [ ] Feature Request
   - [ ] Support Question
   
   ## Description
   Upgraded the Cordova iOS platform version to 6.1.1 
   While building the application got the error **"ARC Semantic issue"**- No known instance method for selector **userAgent**
   I tried with CLI - The error is like 
   **cordova-plugin-file-transfer/CDVFileTransfer.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
   (1 failure)
   xcodebuild: Command failed with exit code 65**
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   iOS 6.1.1
   Xcode 11.7
   Cordova 10.0
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Xcode, Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   ![Screenshot 2020-09-09 at 7 10 45 PM](https://user-images.githubusercontent.com/7994498/92608770-65e8d380-f2d3-11ea-8144-e167b6b22711.png)
   
   
   ## Checklist
   <!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
   
   - [x] I searched for already existing GitHub issues about this
   - [ ] I updated all Cordova tooling to their most recent version
   - [x] I included all the necessary information above
   
   ![Screenshot 2020-09-09 at 7 10 45 PM](https://user-images.githubusercontent.com/7994498/92608730-59fd1180-f2d3-11ea-9e95-994ce870f2a5.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-plugin-file-transfer] timbru31 commented on issue #278: ARC semantic issue

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #278:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/278#issuecomment-689590203


   Duplicate of #258 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-plugin-file-transfer] pks0268 commented on issue #278: ARC semantic issue

Posted by GitBox <gi...@apache.org>.
pks0268 commented on issue #278:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/278#issuecomment-1056327945


   By removing lines 107-110 from CDVFileTransfer.m I was able to compile:
   
       NSString* userAgent = [self.commandDelegate userAgent];
       if (userAgent) {
           [req setValue:userAgent forHTTPHeaderField:@"User-Agent"];
       }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-plugin-file-transfer] timbru31 closed issue #278: ARC semantic issue

Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #278:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/278


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-plugin-file-transfer] jayasin commented on issue #278: ARC semantic issue

Posted by GitBox <gi...@apache.org>.
jayasin commented on issue #278:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/278#issuecomment-1086127143


   > By removing lines 107-110 from CDVFileTransfer.m I was able to compile:
   > 
   > ```
   > NSString* userAgent = [self.commandDelegate userAgent];
   > if (userAgent) {
   >     [req setValue:userAgent forHTTPHeaderField:@"User-Agent"];
   > }
   > ```
   
   Yes it's working for me, Thanks a lot


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org