Skip to content
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

Can't use CocoaPods with iOS application whose name has symbol "&" #2807

Closed
daumantas-versockas opened this issue Nov 8, 2014 · 6 comments
Closed
Labels
d1:easy An easy ticket that is a good start for first-time contributors s2:confirmed Issues that have been confirmed by a CocoaPods contributor t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!

Comments

@daumantas-versockas
Copy link

Hello!

It is impossible to use CocoaPods with application whose name has symbol "&".

8hhqb

Please fix this issue as soon as possible!

Thank you!

Sincerely,
Daumantas Versockas

@daumantas-versockas
Copy link
Author

Additional information: I get this error after terminal command "$pod install", while opening generated Xcode workspace.

@daumantas-versockas daumantas-versockas changed the title Can't use ECSlidingViewController with iOS application whose name has symbol "&" Can't use CocoaPods with iOS application whose name has symbol "&" Nov 9, 2014
@k0nserv
Copy link
Member

k0nserv commented Nov 9, 2014

Looked into this and the problem is that when creating the workspace we don't properly encode certain characters such as ampersand.

Workspace created by Xcode

   <FileRef
      location = "group:1 &amp; 2.xcodeproj">
   </FileRef>

Workspace create by pod install

   <FileRef
      location = "group:1 & 2.xcodeproj">
   </FileRef>

@kylef kylef added d1:easy An easy ticket that is a good start for first-time contributors s2:confirmed Issues that have been confirmed by a CocoaPods contributor t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome! labels Nov 9, 2014
@daumantas-versockas
Copy link
Author

Dear Hugo,

I haven't really understood, is it your problem or is it mine? Will you fix
this issue, or I should somehow encode it by myself?

Pagarbiai,
Daumantas Versockas
El. paštas: Daumantas.Versockas@gmail.com
Mob. Telefonas: +37060561631
Skype: Daumantas.Versockas
LinkedIn: lt.linkedin.com/in/daumantasversockas/

Sincerely,
Daumantas Versockas
E-mail: Daumantas.Versockas@gmail.com
Phone: +37060561631
Skype: Daumantas.Versockas
LinkedIn: lt.linkedin.com/in/daumantasversockas/

@k0nserv
Copy link
Member

k0nserv commented Nov 9, 2014

No @daumantasversockas you don't need to fix it yourself. I have solved it in CocoaPods/Xcodeproj#220, but I will not be included in CocoaPods until a new version is made that includes the workaround in XcodeProj.

@kylef
Copy link
Contributor

kylef commented Nov 9, 2014

This has now been fixed in Xcodeproj in CocoaPods/Xcodeproj#220.

@daumantasversockas you can install the latest Xcodeproj from master to try out the fix using the following:

$ gem install specific_install
$ gem specific_install https://github.com/CocoaPods/Xcodeproj

@kylef kylef closed this as completed Nov 9, 2014
@daumantas-versockas
Copy link
Author

Dear Hugo,

Thank you for response!

Good luck!

Pagarbiai,
Daumantas Versockas
El. paštas: Daumantas.Versockas@gmail.com
Mob. Telefonas: +37060561631
Skype: Daumantas.Versockas
LinkedIn: lt.linkedin.com/in/daumantasversockas/

Sincerely,
Daumantas Versockas
E-mail: Daumantas.Versockas@gmail.com
Phone: +37060561631
Skype: Daumantas.Versockas
LinkedIn: lt.linkedin.com/in/daumantasversockas/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d1:easy An easy ticket that is a good start for first-time contributors s2:confirmed Issues that have been confirmed by a CocoaPods contributor t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Projects
None yet
Development

No branches or pull requests

3 participants