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

xcproj not running #29

Closed
ghost opened this issue Apr 26, 2016 · 6 comments
Closed

xcproj not running #29

ghost opened this issue Apr 26, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 26, 2016

Cocoapods is supposed to run xcproj to convert the .xcproj file to ASCII instead of XML. However when using

plugin 'cocoapods-acknowledgements', :settings_bundle => true

in the podfile, this does not happen and the .xcproj stays in xml form instead of converting back to ASCII form. This causes major merge issues and makes merging a headache.

@segiddins
Copy link
Member

CocoaPods hasn't used xcproj for over a year.

@ghost
Copy link
Author

ghost commented Apr 26, 2016

How come the acknowledgements plugin then changes everything to xml instead of leaving it ASCII?

@segiddins
Copy link
Member

I don't know -- can you share an example project that demonstrates the issue?

@ghost
Copy link
Author

ghost commented Apr 26, 2016

sure, give me a few days to get some downtime and create one.

@BarakatX2
Copy link

I had the same issue. I've attached an example project.
demo-plugin-bug.tar.gz

Steps:

tar -xf demo-plugin-bug.tar.gz
cd DemoPluginBug/
cat DemoPluginBug.xcodeproj/project.pbxproj # not xml
pod install
cat DemoPluginBug.xcodeproj/project.pbxproj # now xml

Xcode Version 7.3 (7D175)
local-gems.txt

@marcelofabri
Copy link
Collaborator

@BarakatX2 there's an issue with xcodeproj 0.28.2, which CocoaPods 0.39 uses. Please update CocoaPods (and cocoapods-acknowledgements) to 1.0.0 to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants