Lin-Xcode5 icon indicating copy to clipboard operation
Lin-Xcode5 copied to clipboard

This plugin can result in xcode Infinite loop

Open yushuyi opened this issue 12 years ago • 37 comments

after Infinite loop only Forced out

yushuyi avatar Oct 20 '13 09:10 yushuyi

Thank you for your report, but I need further details to solve the problem.

nek023 avatar Oct 20 '13 10:10 nek023

I can reproduce this problem as well. I have never debugged a plugin. If you have some quick notes on how to achieve that I can try to dig in.

EliSchleifer avatar Oct 24 '13 21:10 EliSchleifer

OK, debugging Xcode plug-in is very easy. Just run it :)

But before that, you have to open scheme settings, http://gyazo.com/f3845bc5c9aa39e0863a93a36b751754

And confirm that Xcode.app is specified as an executable. http://gyazo.com/0d42787a7cf7a94e4f2476ef08a27930

nek023 avatar Oct 25 '13 17:10 nek023

I can report that it is happening on my Xcode5 project also. When the project is opened, it opens up, and then just sits there running at 100% CPU indefinitely.

ehlersd avatar Oct 29 '13 04:10 ehlersd

This happens here as well. Seems like a RegEx search starts running on infinite. Could debug this when I have more time.

SpacyRicochet avatar Nov 20 '13 10:11 SpacyRicochet

Any Update on this issue? (As I'm experiencing it as well). Thank you for this great idea :)

pdiegmann avatar Jan 07 '14 11:01 pdiegmann

I'm experiencing this issue too, Any update @questbeat ?

osrl avatar Jan 11 '14 09:01 osrl

Sorry, not yet. I haven't experienced this problem, so it's difficult for me to figure out.

nek023 avatar Jan 12 '14 09:01 nek023

Any help we can provide? I needed to uninstall the plugin, and i want it back :)

osrl avatar Jan 12 '14 18:01 osrl

Thank you. Would you please tell me about your project environment that the problem occurs? (e.g. the number of localization) And I also want a screenshot. (Xcode message, Log, or something...)

nek023 avatar Jan 12 '14 19:01 nek023

There is no crash log, XCode freezes. can't click anything, cpu is running on %100, Not responding. Here is a screenshot: screen shot 2014-01-14 at 21 05 29

And the localizations: screen shot 2014-01-14 at 21 16 27

I know that's hard to tell what's wrong. Please tell me if you need any more information

osrl avatar Jan 14 '14 19:01 osrl

Same here. It takes Xcode to its knees and basically makes it unusable (if you want to get anything done)

kdbdallas avatar Jan 14 '14 23:01 kdbdallas

I am experiencing the same issue.

vbGoz avatar Jan 16 '14 07:01 vbGoz

OK, thanks for report. But I have no time to work on this issue right now... (I have to write my thesis.) So please remove this plug-in and wait for future updates.

nek023 avatar Jan 16 '14 16:01 nek023

We already did remove :( good luck with your thesis

osrl avatar Jan 16 '14 17:01 osrl

The same to me. Very annoying! Pls fix it

orkenstein avatar Jan 21 '14 10:01 orkenstein

Found the problem. Here is a quick and dirty fix: http://pastebin.com/71pdnJw9

Maik639 avatar Feb 18 '14 13:02 Maik639

@Maik639 I tried your fix but it didn't fix the issue for me.

vbGoz avatar Feb 18 '14 19:02 vbGoz

May you have an other framework and not google maps? or your project has to big .string files? You can debug that piece of code to finde the problem.

Maik639 avatar Feb 18 '14 19:02 Maik639

I've experienced the same issue and what @Maik639 suggested to do did the trick for me. I'm using the Google Maps framework and that was probably hogging XCode.

avioli avatar Feb 19 '14 23:02 avioli

I debugged and figured out that it was HockeySDK for me. To be more specific hu.strings file of HockeySDK.

vbGoz avatar Feb 24 '14 19:02 vbGoz

Hello.

This plugin is something incredible. It is so easy and so useful. Every one must have.

But, i could not open some xcode projects (even when this plugin is turned off). I am using XCode 5. I will attach crash report so you can look where is a problem: https://www.dropbox.com/s/8fqstlkcr2jbe85/Xcode_2014-03-03-120235_MacBook-Pro-Volodymyr.hang

Regards, Vasyl.

Vasia89 avatar Mar 03 '14 11:03 Vasia89

Just wanted to say I have the same problem. Could be because of lib localizations. For example we have Helpshift in our project which adds a lot of localization files.

joelekstrom avatar Mar 03 '14 17:03 joelekstrom

Yes, you are right @accatyyc. My project used localized third party libraries.

But, i think when i turn off plugin it would not work any more. But is seems that it still works. The only way is force close xcode and remove this plugin, and later put it plugin back. This is annoying :(

Anyway, thanks developers for the works, and this product.

Vasia89 avatar Mar 03 '14 18:03 Vasia89

You can have a look at my fix, i posted a few days ago. It should help you to get it working.

Maik639 avatar Mar 03 '14 19:03 Maik639

A naïve quick fix is available here #12 that skips all files located below folders ending in ".framework". It would be great if someone would try it out so we can provide some feedback to @questbeat

nielscastle avatar Mar 04 '14 00:03 nielscastle

@nielscastle That solves it for some probably, but it should also skip Pods-folder I guess, since that's the problem for me at least. That might not be good though, if some pod is supposed to supply localized strings, for example.

joelekstrom avatar Mar 04 '14 00:03 joelekstrom

@accatyyc - roger that. I hadn't thought of developers working with the localisations from within the frameworks or libraries. I'll look in to why poking around the framework hangs the plug-in.

nielscastle avatar Mar 04 '14 01:03 nielscastle

I will start working on this issue today. Sorry for inconvenience and my lazy, everyone.

nek023 avatar Mar 04 '14 01:03 nek023

Are there any 3rd-party frameworks or libraries to reproduce this issue on my project?

nek023 avatar Mar 04 '14 01:03 nek023