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/04/21 11:14:44 UTC

[GitHub] [cordova-plugin-file] anitha-suraj opened a new issue #389: Issue with version 6.0.2 when using Xcode 11.4 and iOS 13.4

anitha-suraj opened a new issue #389:
URL: https://github.com/apache/cordova-plugin-file/issues/389


   # Bug Report
   We were using cordova-plugin-file version 6.0.1 earlier.
   Currently we have upgraded to version 6.0.2 in our mobile application.
   
   When we sign our app on macOS Catalina, using Xcode 11.4 and iOS 13.4, the build fails with a Lexical or Preprocessor issue
   
   ## Problem
   Error messages:
   .../ios/CordovaLib/Classes/Public/CDVURLProtocol.m:20:9: AssetsLibrary is deprecated and is not available when building for Mac Catalyst. Consider migrating to Photos instead, or use `#if !TARGET_OS_MACCATALYST` to conditionally import this framework, first importing TargetConditionals.h if necessary.
   
   .../ios/CordovaLib/Classes/Public/CDVURLProtocol.m:20:9: 'AssetsLibrary/ALAsset.h' file not found
   
   We know that this issue is caused by the cordova-plugin-file version because when we downgrade to 6.0.1 version, then the build is succeeding.
   
   ### What is expected to happen?
   The build to succeed.
   
   ### What does actually happen?
   Build fails.
   
   ## Information
   ![ios-build-issue](https://user-images.githubusercontent.com/64072985/79859322-7369f380-83ee-11ea-8b9e-489bfa4501a3.png)
   
   
   ### Command or Code
   ios build on xcode
   
   ### Environment, Platform, Device
   macOS Catalina, using Xcode 11.4 and iOS 13.4
   
   ### Version information
   Cordova CLI - 9.0.0 (cordova-lib@9.0.1)
   cordova-ios - 5.0.1
   macOS Catalina
   Xcode 11.4 
   iOS 13.4
   
   <!-- 
   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.
   -->
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
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] anitha-suraj commented on issue #389: Issue with version 6.0.2 when using Xcode 11.4 and iOS 13.4

Posted by GitBox <gi...@apache.org>.
anitha-suraj commented on issue #389:
URL: https://github.com/apache/cordova-plugin-file/issues/389#issuecomment-617558377


   Please note that the issue occurs when we try to sign and upload our app to app store.
   'cordoa build ios' will succeed.


----------------------------------------------------------------
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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-file] erisu commented on issue #389: Issue with version 6.0.2 when using Xcode 11.4 and iOS 13.4

Posted by GitBox <gi...@apache.org>.
erisu commented on issue #389:
URL: https://github.com/apache/cordova-plugin-file/issues/389#issuecomment-617605610


   The error message you are showing in the ticket description:
   
   >Error messages:
   .../ios/CordovaLib/Classes/Public/CDVURLProtocol.m:20:9: AssetsLibrary is deprecated and is not available when building for Mac Catalyst.
   
   is coming from the `cordova-ios` platform and is not related to this plugin `cordova-plugin-file`.
   
   Additionally, the `CDVURLProtocol` file has been removed from the master branch. The next Cordova iOS major release (6.x) will not have the CDVURLProtocol and AssetsLibrary. 
   
   There is no given ETA on release date as of yet.
   
   https://github.com/apache/cordova-ios/pull/783


----------------------------------------------------------------
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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org