Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Frank's Lumberjack library interferes with the test project's Lumberjack library #156

Closed
jkubicek opened this issue Jan 4, 2013 · 9 comments · Fixed by #165
Closed

Frank's Lumberjack library interferes with the test project's Lumberjack library #156

jkubicek opened this issue Jan 4, 2013 · 9 comments · Fixed by #165

Comments

@jkubicek
Copy link

jkubicek commented Jan 4, 2013

If the test target has the Lumberjack logging library installed, frank build will fail with duplicate symbol errors.

Ld Frank/frankified_build/./app.app/app normal i386
duplicate symbol _OBJC_IVAR_$_DDASLLogger.client in:
<dir>/Frank/libCocoaHTTPServer.a(DDASLLogger.o)
<dir>/build/Debug-iphonesimulator/libMagic.a(DDASLLogger.o)

etc. for all the other Lumberjack DDLog classes.

I'm not sure what the solution is. I'd say the easiest would be to remove the Lumberjack library from Frank release builds. I'm open to any alternatives.

@jkubicek
Copy link
Author

jkubicek commented Jan 4, 2013

Alternate solution may be remove the -all-load linker flag.

@jkubicek
Copy link
Author

jkubicek commented Jan 4, 2013

And it's actually CocoaHTTPServer that has the Lumberjack classes.

@frosty
Copy link

frosty commented Jan 15, 2013

I'm seeing this same issue too - I'd like to use Lumberjack in my project, but Frank interferes with it.

@Guru-BetaTest
Copy link

Yes, I had this issue in past, I did rebuild the symbol names in Lumberjack which I thought would fix this issue.
It did fix the issue but maybe not a very good solution.
But when I frankify the other projects without Lumberjack, I saw build failures.

Thanks for fixing this.

@Guru-BetaTest
Copy link

Why am i still seeing this in open issue? is it not yet fixed?

@moredip
Copy link
Owner

moredip commented Feb 2, 2013

You're right, this should now be fixed.

@moredip moredip closed this as completed Feb 2, 2013
@chouti
Copy link

chouti commented Apr 24, 2013

I'm using frank-cucumber gem version 1.1.10 and with -all-load flag open in my config file, but I will saw the duplicate error when building.

@jkubicek
Copy link
Author

Same here, I'm still having issues with Lumberjack.

@jkubicek
Copy link
Author

Here we go, need to use the proper flag

frank setup --without-cocoa-lumberjack

The rest of the flags are here.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants