-
Notifications
You must be signed in to change notification settings - Fork 464
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
RuntimeError - Unable to convert the ... project.pbxproj` plist file to XML: #204
Comments
Hmm it would seem I'm on 18.0, I'll try 19.3 |
Hmm I've switched to 19.3 and it seems that it can't find CoreFoundation at the supplied path: |
/root/app/tmp/checkout/dir/Grasshopper.xcodeproj/project.pbxproj
plist file to XML:
I suppose a more succinct question would be; Is it possible for xcodeproj to run on Ubuntu? |
No, |
@briansoule There is an update to xcpodeproj. Please update it using the following: $ [sudo] gem install xcodeproj There will be a CocoaPods release soon. |
@kylef Would this provide a workaround to the CoreFoundation requirement on Ubuntu? |
@briansoule It would not, as it stands. However, there are CoreFoundation ports to other platforms, such as GNU/Linux, we actually used a build of CoreFoundation-lite to test on Travis when they didn’t have OS X workers. So what you can do is find the best one that’s available for Ubuntu, and then override the path from where the CoreFoundation library is loaded. When you’ve figured out the details, please file a ticket on the Xcodeproj repo with the details, I love these topics. |
I was thinking about giving that a shot, will try. Hopefully that will be the only issue. |
Awesome, looking forward to hearing the details. |
PS, it could well be that other implementations have other constant values, so that’s something to watch out for. |
Ah, also does the project currently do " |
The only way to get ASCII plists with our current codebase is on OS X. We currently use the |
@briansoule providing xcproj is installed, CocoaPods/Xcodeproj will automatically touch it with There is a discussion from #199 and a proof of concept pull request at #203 to try and remove the dependency of xcproj and have this behaviour by default in Xcodeproj. |
@alloy before I dive in, is there a specific place where I should try swapping in the CF open port to achieve ASCII plists? |
FWIW, the approach from #203 will only work on OS X as well, as it utilises the same Xcode frameworks as xcproj. It just does so dynamically, without the need to compile any application first. |
@briansoule Find a port that supports it and update that path I linked to: https://github.com/CocoaPods/Xcodeproj/blob/master/lib/xcodeproj/plist_helper.rb#L71. |
I've attempted to open an xcodeproj on ubuntu 14.04: "
project = Xcodeproj::Project.open(xcode_path.first)
", with CFPropertyList (2.2.8)I'd assume something's happening in
def plist_xml_contents(path)
The text was updated successfully, but these errors were encountered: