Re: iOS Static Library -> Duplicate Class objects
Re: iOS Static Library -> Duplicate Class objects
- Subject: Re: iOS Static Library -> Duplicate Class objects
- From: email@hidden
- Date: Mon, 22 Sep 2014 21:11:55 -0700
Tried that, I get a linker error saying it can’t find my classes from the framework target, how have I incorrectly set up the app that these symbols can’t be found by the test bundle?
I thought it might be something with the App’s strip configuration but my attempts to resolve it have failed.
.n On Sep 22, 2014, at 2:56 PM, Jens Alfke < email@hidden> wrote:
- A static library which contains the class WFRoutines
- A .app which links against the static library
- A test target for the .app which links against the static library as well
Don't link the library into the test target. It's already linked into the app. If you do both, you'll have duplicate copies of all the code, including Obj-C classes.
—Jens
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden