Adam Lee
Adam Lee

Reputation: 25778

If some library is compiled in arm, is that mean I cannot use it in the simulator?

I am referencing some library(lib***.a) which seems to be built for ARM? Does that mean I cannot build/run the whole application in the simulator(i386) environment?

Upvotes: 1

Views: 46

Answers (1)

Marcus Adams
Marcus Adams

Reputation: 53870

That is correct, unless it is a "fat" static library, which includes the build for both the simulator and the device in the same library.

Alternatively, there may be a separate library file (usually with the same name) that you can substitute that is built for the simulator.

Upvotes: 1

Related Questions