iOs build fails on 5.3

I am getting a bunch of errors

  1. many

    ld: warning: object file (/Users/myName/Documents/UnityProject/environ_1/Libraries/libiPhone-lib.a(CheckSum.o)) was built for newer iOS version (9.1) than being linked (6.0)
    

although I am running iOS 9.2;

and the latest xCode (7.2);

And the Latest Unity;

Then I get a slew of Vuforia errors through… Yes,

I am running the latest Vuforia too

???

ld: warning: object file (/Users/myName/Documents/UnityProject/environ_1/Libraries/libiPhone-lib.a(CheckSum.o)) was built for newer iOS version (9.1) than being linked (6.0)
Undefined symbols for architecture armv7:
  "_kSecReturnRef", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecReturnPersistentRef", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecClassKey", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecAttrKeyType", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecValueData", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecAttrKeyClass", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecAttrKeyClassPublic", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecAttrApplicationTag", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_SecItemDelete", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_SecKeyGetBlockSize", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_SecItemAdd", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecClass", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecAttrCanDecrypt", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_SecItemCopyMatching", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_SecTrustEvaluate", referenced from:
      l154 in libvrunity.a(GTMSessionFetcher.o)
     (maybe you meant: _OSX509Certificates_SecTrustEvaluate_m3_1051)
  "_SecKeyDecrypt", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
  "_kSecAttrKeyTypeRSA", referenced from:
      l5874 in libVuforia.a(libVuforia.a-armv7-master.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@Bentoon

I just ran into this and solved it, so I hope I can help.

Apparently, something has changed relatively recently because I didn’t used to have to do this.
You need to, in XCode, add the “Security” and “SystemConfiguration” frameworks to the XCode project.

Check out this stackoverflow answer for adding frameworks. Don’t worry, they are built in to XCode apparently.

http://stackoverflow.com/questions/3352664/how-to-add-existing-frameworks-in-xcode-4