Martin
Martin

Reputation: 12215

Compiling a static library which never gets changed

I almost tryied everything.

I have a projet that use its own library. It's an old library, my colleague created 1 year ago.

This library is generated with a universal target as describe this site.

When I compile the library, xCode create the .a files.

But when I try the lib in the enclosing project, it never gets refreshed.

I've cleared everything : the .a file my target build. The project build folder in DerivedData. The app in the device/simulator.

Each time the same old Log appears in the console, which I've removed (the workspace search of this log return nothing).

So, where the hell could be the f** cache xCode is always taking for creating this library ?

(Sorry for the nervousness, but I'm on it since 10am). Thanks for any advice.

Upvotes: 1

Views: 204

Answers (1)

Till
Till

Reputation: 27597

There is no cache for the library. Check the library search path within your project.

enter image description here

Make sure you double-check if Project and Target use the same settings. Note that Target overwrites Project but Target also inherits Project if Target specifics are not written in bold letters (bold = overwriting).

Upvotes: 1

Related Questions