DanTheMan827 / ios-app-signer

This is an app for OS X that can (re)sign apps and bundle them into ipa files that are ready to be installed on an iOS device.
https://dantheman827.github.io/ios-app-signer
GNU General Public License v3.0
5.57k stars 1.06k forks source link

Signing an IPA with a watch extension #6

Open dkit opened 8 years ago

dkit commented 8 years ago

When I try to install it I get "The app contains a WatchKit app with an invalid bundle identifier. The bundle identifier of a WatchKit app must have a prefix consisting of the companion app's bundle identifier, followed by a '.'."

Is it possible to automatically change a watchkit's bundle id as well?

THMHGN commented 8 years ago

Same problem. Any idea how I can fix this?

mjnguyen commented 8 years ago

any update on this? I have a topshelf extension with my tvOS app and have a similar error message when I try to upload to the store

dkit commented 8 years ago

I ended up having to unpack the ipa and manually edit the watchkit's plist file and match the bundle id to the one modified by this code.

THMHGN commented 8 years ago

How'd you do this? Does this sign them together and have a working watchkit extension?

dkit commented 8 years ago

Yes an IPA is just a zip file. So, unzip the IPA, change the bundle id in the watchkit's directory. Zip it back up, and then use this code to sign it.

DanTheMan827 commented 8 years ago

Zipping the app back up into an IPA file isn't even required

Just use the .app bundle located inside of the Payload folder

The app accepts any .app bundle as input as well as deb, ipa or xcarchive