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/11/11 15:57:46 UTC

[GitHub] [cordova-ios] mikealo opened a new issue #717: Podfile multiple targets generated if single quote is used in app name

mikealo opened a new issue #717: Podfile multiple targets generated if single quote is used in app name
URL: https://github.com/apache/cordova-ios/issues/717
 
 
   # Bug Report
   Podfile multiple targets generated if single quote is used in app name, this issue is not created if app does not contain single quote
   
   ## Problem
   If a single quote is used in the app name for example "Test's single quote" and there is any additional plugin that use any pod library then the podfile generated contains multiple targets and cordova fail the plugin installation
   
   ### What is expected to happen?
   The podfile generated should look like this:
   
   platform :ios, '9.0'
   target 'Test\'s single quote' do
   	project 'Test\'s single quote.xcodeproj'
   	pod 'GoogleMaps', '~> 2.0.0'
   end
   
   ### What does actually happen?
   The podfile generated look like this:
   
   platform :ios, '9.0'
   target 'Test\'s single quote' do
   	project 'Test\'s single quote.xcodeproj'
   end
   target 'Test\'s single quote' do
   	project 'Test\'s single quote.xcodeproj'
   	pod 'GoogleMaps', '~> 2.0.0'
   end
   
   
   ## Information
   ### Command or Code
   cordova create "Test's single quote" com.test.singlequote "Test's single quote"
   cordova plugin add cordova-plugin-googlemaps
   cordova platform add ios
   
   
   
   ### Environment, Platform, Device
   ### Version information
   MacOS 10.15
   Xcode 11.2
   Node v12.5.0
   Ruby Gem 3.0.6
   CocoaPods 1.8.4
   Cordova 9.0.0 (cordova-lib@9.0.1)
   Cordova iOS platform 5.0.1
   
   ## Checklist
   - [X] I searched for existing GitHub issues
   - [X] 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


With regards,
Apache Git Services

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