I have an ipa file of my application. What I am looking to do is to replace a folder inside the .app
So What I did till now :
1.Renamed the .ipa to .zip
2.Extracted the .zip file which gave me Payload/Appname.app folder structure.
3.Inside AppName.app -> Show Package Name -> MyTargetFolder
4.Replaced MyTargetFolder with required updates
5.Using terminal - used a command codesign -f -s "iPhone Developer: keychain certificate name" Payload/*.app
Above command gave output on terminal as :
replacing existing signature
Re-zipped the Payload folder and then changed its extension to .ipa
Using Xcode, Tried installing the app on Device
However it is showing an error as : App installation failed There was an internal API error.
Is there something missing in what I am doing?