0
Can a static library (.a) contain resources like images, sound files etc?

Open 1 Answers 26 Views Technology

Can a static library (.a) contain resources like images, sound files etc?

1 Answer

0

NO, You can’t provide anything other than code with a static library. This is because .a files are a simple archive of object files, with the added ability under Mac/iOS of supporting multiple CPU architectures.

The only option you have is to create a Framework, which can provide code as well as other resources.

by (280k points)
...