-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Podfile multiple targets generated if single quote is used in app name #717
Comments
I'm having this issue as well. @mikealo, did you discover a workaround? |
@mibzman unfortunatly i ended app changing app name and removing single quote. Even if you change the podfile generated in the project>platform>ios folder manually you can then create errors during build process so i avoided doing so. The file on ios platform that generate the podfile should be this one: |
Thanks for the response. I've also ended up changing my app name. I removed the single quote from the Hopefully, the core team can get to fixing this soon. |
I have not confirmed this but I suspect the culprit is this regex:
|
the same issue. UP! |
Just noting that even if this Podfile issue is resolved in Cordova (which it hopefully will be soon), there are other issues in Cocoapods regarding project names with single quotes: CocoaPods/CocoaPods#7546 |
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:
What does actually happen?
The podfile generated look like this:
Information
Command or Code
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 ([email protected])
Cordova iOS platform 5.0.1
Checklist
The text was updated successfully, but these errors were encountered: