in Technology by (1.8m points)

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

1 Answer

0 votes
by (1.8m points)

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.

Related questions

+1 vote
asked Oct 20, 2020 in Technology by JackTerrance (1.8m points)