I know this thread is outdated, but there is no good answer so far if anyone else stumbles upon it. To check if the PIE flag is set, it is very simple, just run this command:
otool -hv /path/to/App.app/app
Where [APP] is the executable file created after creation (not ipa, but the binary executable).
You should see something like this:
Mach header magic cputype cpusubtype caps filetype ncmds sizeofcmds flags MH_MAGIC ARM V7 0x00 EXECUTE 19 2708 NOUNDEFS DYLDLINK TWOLEVEL PIE
otool should be included in Xcode, but if you do not have it, you can install it in the Xcode settings> Downloads> Command Line Tools.
Corey source share