Extract object (*.o) files from an iPhone static library

前端 未结 2 561
星月不相逢
星月不相逢 2021-01-30 11:35

I have a set of iPhone static libraries (a *.a file) in which I only call a few of the classes from. I have used AR in the past (with linux libraries) to extrac

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 11:55

    Code: ar -t mylib.a This will list all of the files in the archive.

    Code: ar -xv mylib.a myobj.o This will extract the object give myobj.o from the library mylib.a.

提交回复
热议问题