2

I'm trying to use xcodebuild to build a project, but RestKit and GPUImage are giving issues below:

ld: warning: ignoring file /project/libGPUImage.a, missing required architecture armv7 in file /project/libGPUImage.a (2 slices)

ld: warning: ignoring file /project/libRestKit.a, file was built for archive which is not the architecture being linked (armv7): /project/libRestKit.a

Please help!

Community
  • 1
  • 1
user3153745
  • 133
  • 4
  • 13

2 Answers2

8

Set Build Active Architecture Only to NO for static Library in project target setting.

simalone
  • 2,768
  • 1
  • 15
  • 20
1

I guess you are not using latest versions of the libraries, though I am not sure about this that the latest one supports armv7, any way try the following shown in the image below

enter image description here

I hope it works.

Cheers.

iphonic
  • 12,615
  • 7
  • 60
  • 107