1

After I integrated the AdMob SDK, I kept getting this error when trying to build it on a real device. The weird thing is, when it is built on the iOS simulator, everything works correctly.

Apple Mach-O Linker Error

ld: framework not found Metal for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm using xCode 5.1 and testing on an iPhone 5S running on iOS 7. Please help!

rmaddy
  • 314,917
  • 42
  • 532
  • 579
user2995344
  • 268
  • 1
  • 3
  • 14

1 Answers1

0

The reason behind this, is actually a bug / bad design by Apple, which failed to preserve backward compatibility for non-Metal devices..

See here for more info. :)

Rashad
  • 11,057
  • 4
  • 45
  • 73
  • 1
    I took a look at that and set “Link Frameworks Automatically” to NO. The same problem still occurs. I even tried removing all the frameworks I had for AdMob and then re-adding them, it still doesn't work. Any other ideas? – user2995344 Jan 05 '15 at 04:45