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 2019/06/16 22:40:22 UTC

[GitHub] [cordova-ios] MathiasTim edited a comment on issue #628: Release Build not working with Pods

MathiasTim edited a comment on issue #628: Release Build not working with Pods
URL: https://github.com/apache/cordova-ios/issues/628#issuecomment-502491693
 
 
   Thanks for the quick response @janpio.
   I created a plain Cordova app and tada... it worked there.
   
   So it seemed to be a problem just with my project. After a lot of searching and comparing my project to the plain cordova project we found out, that the version of the  platform inside the generated `Podfile` was iOS 11, but we specified iOS 10 in the `config.xml`.
   In the plain test project the version number inside die `Podfile` always matched the one in the `config.xml`.
   
   I could not find out why it always puts iOS 11 in there after the prepare step. We assume some other plugin causes it. Although only the described push plugin uses Pods. 
   The only solution was to drop iOS 10 support and use iOS 11 as deployment target.
   
   BTW the error output above does not include the part which brought us to the solution. We think the issues has to do with the different architecture requirements of iOS 10 and iOS 11. Because we also found this in the error log.
   ```
   Target 'Pods-Project Name' of project 'Pods' was rejected as an implicit dependency for 'libPods-ProjectName.a' because its architectures 'arm64' didn't contain all required architectures 'armv7 arm64'
   ```
   
   Question is, is it possible to specify the platform ios version inside the generated `Podfile` ?

----------------------------------------------------------------
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


With regards,
Apache Git Services

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