Closed yas375 closed 12 years ago
Are you sure closing Xcode has anything to do with the memory problem? Can you try updating to the latest version and seeing if it still has the same memory usage?
@jwilling I have the latest version of xcode. Did you try to reproduce this bug on your machine?
@yas375 I meant the latest version of Ikeda. I pushed a commit that caches the download window a short while ago. Try downloading the latest commit, and see if you still experience the problem.
Actually, come to think of it, you can't close Xcode without it asking you to quit the currently-running application first. Are you force-quitting Xcode, or what?
Ohh, sorry, I figured that you've told about the latest version of xcode) I will check it a little later today or tomorrow.
I think that @yas375 is using the binary from the downloads section, which is outdated. Anyway, as far I'm concerned, we don't need the last version of Xcode.
@irrationalfab Yeah, that's not what I meant. ;) And now come to think of it, when you mention he's using the binary it all makes sense. He's not building from the source – he's talking about opening his own project and then closing it. D'oh.
yep) I used just compiled binary of Ikeda)
I'm trying to recheck this issue, but couldn't build project( I got an error that MacRuby/MacRuby.h couldn't be found.
I did next steps for installation:
git submodule update --init --recursive
, but it wasn't needed because there are no submodulespod install --no-doc
Did I missed something?
Could using of RVM be a problem?
Even if you have installed it, there might be also an issue with recents versions of Xcode and the MacRuby installer. If I recall correctly it is fixed in the by a search path of the project. @yas375 let me know if that is not the case.
@irrationalfab Probably best to vendor the latest nightly build and add the vendor dir to the FRAMEWORK_SEARCH_PATHS
flag (which you mean).
Actually, let me do that in a minute. Need to wait for a deploy to finish anyways :)
That’s probably not a good idea after all, the framework is a bit too big to add to the repo imo.
Ok, I've installed macruby 0.12. Than I've created an archive of CocoaPodsApp. Open it in finder, open packages content, found app and run it!
After that I have opened in xcode my iOS project (workspace) with cocoapods. And in CocoaPodsApp I've press 'install' and got next error:
usage: dirname path
/Users/yas/Library/Developer/Xcode/Archives/2012-09-27/CocoaPodsApp 27.09.12, 9.46.xcarchive/Products/Applications/CocoaPodsApp.app/Contents/MacOS/pod: line 29: /Users/yas/ruby: No such file or directory
/Users/yas/Library/Developer/Xcode/Archives/2012-09-27/CocoaPodsApp 27.09.12, 9.46.xcarchive/Products/Applications/CocoaPodsApp.app/Contents/MacOS/pod: line 29: exec: /Users/yas/ruby: cannot execute: No such file or directory
What I've missed? )
Apparently for some reason my bash wrapper is failing. Maybe it is due to the spaces in the path. Can you try to copy the executable in the desktop and run in from there?
Success! I've recheck this issue and it's gone! =)
It seems that something leaks when xcode closed while log popup in CocoaPodsApp is on screen.
Steps to reproduce:
Result:
CocoaPodsApp begins use more and more memory and CPU. I leave it for a while and CocoapodsApp used 662 Mb of memory and 100% of CPU:
Expected:
Normal work of CPU and usual memory usage.
After closing that popup CocoaPodsApp uses ~100Mb of memory.