iOSOpenDev icon indicating copy to clipboard operation
iOSOpenDev copied to clipboard

Persisting build & install issue only with Logos tweaks

Open ericcastro opened this issue 13 years ago • 11 comments

installed 1.5 successfully (on a newly installed Xcode, too). Logos tweak issue persists: I have to build (cmd+b) twice to have the tweak properly updated and installed. otherwise, on the first cmd+b I always get the previous build.

To reproduce the error, I have an .xm only with a %ctor that does NSLog(@"foobar"); - I change the string to something else, I hit cmd+b (which I configured to always install on build), but I still see "foobar" printed in syslog (that was the previous build). without changing anything, I do cmd+b again and I finally see the changed string printed on log.

I have to do this always, or, alternatively, cmd+shit+k (clean) and then cmd+b does the trick as well, but is equally annoying.

On the other hand, when compiling a command line executable and installing on device, I do not have this problem. Every build always installs the latest version.

ericcastro avatar Nov 20 '12 16:11 ericcastro

Thanks for the details. I believe someone else had made mention of this but it wasn't clear to me what the issue was. I will look into this in the next few days.

kokoabim avatar Nov 20 '12 17:11 kokoabim

this is only a guess, but may point in the right direction:

could it be that the logos preprocessor does not update it's .mm file in time before the compiler builds it into the .dylib ? this would explain why I have to cmd+b twice: the second cmd+b would always have the updated .mm since the previous attempt already updated it.

just a thought.

ericcastro avatar Nov 20 '12 17:11 ericcastro

It was probably me as I have had the same issue.

tyilo avatar Nov 20 '12 17:11 tyilo

You're probably on the right track there. If that's the case, hopefully I can get Xcode to "honor" the build phase's time to complete its operation.

kokoabim avatar Nov 20 '12 17:11 kokoabim

has this issue ever been fixed ?

ericcastro avatar Feb 12 '13 06:02 ericcastro

No, I still have this issue.

tyilo avatar Feb 12 '13 11:02 tyilo

I will be addressing this soon along with other minor fixes. Thanks for your patience.

__ Spencer

On Feb 12, 2013, at 3:19 AM, Asger Hautop Drewsen [email protected] wrote:

No, I still have this issue.

— Reply to this email directly or view it on GitHubhttps://github.com/kokoabim/iOSOpenDev/issues/38#issuecomment-13428153.

kokoabim avatar Feb 12 '13 18:02 kokoabim

thanks. just checking.

ericcastro avatar Feb 12 '13 21:02 ericcastro

would be great to know if there is any progress on this issue? it continues to be a major annoyance.

don't get me wrong, I greatly appreciate your work on this project. I just believe this isn't a minor issue.

thanks!

ericcastro avatar May 12 '13 11:05 ericcastro

I really need to give iOSOpenDev some updates that have been pending. Hopefully soon. I was doing some changes recently to how and what is installed. I need to look at this issue to include it. Thanks for your patience.

kokoabim avatar May 12 '13 19:05 kokoabim

thanks for the input and work

ericcastro avatar May 14 '13 12:05 ericcastro