How to view NSString defined in a given iOS ipa file How to view NSString defined in a given iOS ipa file objective-c objective-c

How to view NSString defined in a given iOS ipa file


I'm not sure it's possible directly with strings on an ipa, but you can do the following:

  1. Rename your .ipa file to have the .zip extension. ipa's are simply renamed zips.
  2. Extract (it should create a directory named Payload)
  3. cd into the Payload/<app-name>.app
  4. You should have a file named <app-name> in the current directory.
  5. Call strings <app-name> | grep secret.