title: How can I tell if a iPhone binary has been compiled as a Position Independent Executable
body: <p>I have an automated build process which compiles a iPhone app using a combination of xcodebuild and xcrun. When the build calls xcodebuild it passes in a xcconfig file which overrides certain settings. </p>
  
  <p><code>IPHONEOS_DEPLOYMENT_TARGET = 4.3</code></p>
  
  <p><code>ARCHS = armv7</code></p>
  
  <p><code>VALID_ARCHS = armv7</code></p>
  
  <p><code>LD_NO_PIE = NO</code></p>
  
  <p>In theory this should ensure that the binary output from the build is a Position Independent Executable. Is there any way to examine the Binary to see if this is actually the case?</p>