Joey Carson
Joey Carson

Reputation: 3113

Category method symbols in static library aren't visible in main executable

We're converting a project to 64 bit and having some trouble with unrecognized selectors at runtime.

It's due to some category functions that are defined in a static library not being visible from the main executable. We have the -ObjC linker flag set and I've even tried using -force_load with the static library path that has these category functions defined but no matter what they're still not found at runtime.

Upvotes: 1

Views: 40

Answers (1)

Midhun MP
Midhun MP

Reputation: 107131

Check with -all_load linker flag.

Upvotes: 1

Related Questions