-
Notifications
You must be signed in to change notification settings - Fork 596
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
Not buildling under Xcode 5.1 DP1 (Garbage collection issue) #533
Comments
The patch is: diff --git a/XVim.xcodeproj/project.pbxproj b/XVim.xcodeproj/project.pbxproj
index d69394c..70cda6f 100644
--- a/XVim.xcodeproj/project.pbxproj
+++ b/XVim.xcodeproj/project.pbxproj
@@ -1005,7 +1005,6 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
COMBINE_HIDPI_IMAGES = YES;
- GCC_ENABLE_OBJC_GC = supported;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "XVim/XVim-Prefix.pch";
GCC_PREPROCESSOR_DEFINITIONS = (
@@ -1027,7 +1026,6 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
COMBINE_HIDPI_IMAGES = YES;
- GCC_ENABLE_OBJC_GC = supported;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "XVim/XVim-Prefix.pch";
GCC_PREPROCESSOR_DEFINITIONS = "XVIM_XCODE_VERSION=5"; I'll push it to my buffer-refactor branch when I'm home |
Applied the patch, compiled (was getting an error about not using a variable in a debug method, commented it out). However XVim doesn't appear to work (getting the regular Xcode cursor). |
have you tried the top of my buffer-refactor branch? I shall try to install XCode 5.1... |
@JohnTheAppleSeed Yes, I tried that, re-install... it's complaining about some properties not being synthesized... (couldn't look too much at it since I'm at work) Thanks for your efforts 👍 |
huh, that doesn't make sense |
@JohnTheAppleSeed that's what I thought too, will take another look at it when I get home ;) |
oh wait, there must be some new UUID to add to the plist presumably, have you looked at your syslog to check whether XVim wasnt just ignored by XCode 5.1? if Yes it logs about UUID strings that you should have in the plist for the plugin to load IIRC. |
@JohnTheAppleSeed I think that could be the case, here's the message that I'm getting in the system log:
|
Then here is the patch you need, rebuild, install, and enjoy. diff --git a/XVim/Info_Xcode5.plist b/XVim/Info_Xcode5.plist
index c8f3d5f..d01c3ab 100644
--- a/XVim/Info_Xcode5.plist
+++ b/XVim/Info_Xcode5.plist
@@ -22,6 +22,7 @@
<array>
<string>37B30044-3B14-46BA-ABAA-F01000C27B63</string>
<string>63FC1C47-140D-42B0-BB4D-A10B2D225574</string>
+ <string>640F884E-CE55-4B40-87C0-8869546CAB7A</string>
</array>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2012 JugglerShu.Net. All rights reserved.</string> Alternatively you can edit |
@JohnTheAppleSeed Hey there, you can proceed to reject my Pull Request then 👍 ! Thanks! |
This is now pushed, with other goodies, to my buffer-refactor branch |
Jeez, JohnTheAppleSeed/XVim@JugglerShu:develop...buffer-refactor begins to be pretty massive, I should consider a pull request at some point … |
👍 maybe it would be a good idea... |
@JohnTheAppleSeed I tried your buffer-refactor branch but I get these issues in XVimWindowEvaluator.m on a 64-bit Macbook with Mavericks:
|
@gitaarik I don't remember exactly, but at some version of Xcode this warnings started to be treated as errors... perhaps @JohnTheAppleSeed wrote this code before that. I think that I'm actually using his branch without issues. |
@Goles I solved these issues and it's building successfully now, but XVim doesn't seem to get installed into XCode. |
Not quite an expert yet, so I tried the patch fixes above, but still getting errors.
I really like the plugin - any help would be greatly appreciated, |
Here's several things you can try.
|
tried Treat Errors as warnings - didn't help |
I've followed all the steps in this thread but am still unable to compile. I get linker errors on OBJC_CLASS$_DVTFoldingTextStorage. I notice that in my Frameworks folder there are five frameworks listed in red: I tried to add them but they are not in the list of available frameworks. I'm not sure where to obtain them from. Any possibility of issuing a new release any time soon that does not depend on garbage collection? In any event, thanks for any help and for this plugin. It makes XCode an acceptable IDE. |
@thomasztyler |
Many thanks! That was the answer. |
Garbage collection is no longer supported on XCode 5.1 so I'm getting compiler errors when trying to build.
_This is the error_
The text was updated successfully, but these errors were encountered: