I would add this:
assert([appPath hasSuffix:@"/Contents/MacOS/iTerm"])