1

I work with another developer. I would like to test its app but I don't have its iTunes Connect login / password and I don't have its dev certificates.

How can I test on my real device the bundle he sent to me without having many signing errors ?

I want to perform the test in Xcode in order to be able to use the debugger and perform some code modifications. I do not need to test the inapp purchase, just the core features of the app.

nhgrif
  • 60,018
  • 25
  • 128
  • 167
Regis_AG
  • 12,634
  • 20
  • 90
  • 174

3 Answers3

0

It is possible to resign the app with your own certificates. See this answer

Community
  • 1
  • 1
Stephen Groom
  • 3,727
  • 1
  • 12
  • 23
0

You can also use XCode7 Beta, it allows you to install any apps they develop on their devices without an Apple Developer Program Certificate.

0
  1. Create a self signed code signing certificate.

Go to Keychain Access -> Certificate Assistant -> Create a Certificate. It opens the certificate assistant window. Enter name and select certificate type as Code signing. Check let me override defaults option. Hit continue until it creates the certificate.

  1. Copy /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Info.plist to desktop. Edit the plist file and replace all occurrences of XCiPhoneOSCodeSignContext by XCCodeSignContext (3 places – defaultproperties, runtimerequirements, overrideproperties).

  2. Copy the modified Info.plist file to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ directory and replace the existing file.

  3. Close and Restart the XCode.

  4. Create your project in the XCode and in the project target settings choose the certificate created in step 1 as the code signing identity. Project target settings are shown below.

    : http://i.stack.imgur.com/JmK8r.png

  5. Build the project for iOS device (Project->Build).

  6. Build creates the .app file in the build/Debug-iphoneos folder.

    Default location for .app file is – /Users/[user name]/Library/Developer/Xcode/DerivedData/[your app]/Build/Products/Debug-iphoneos/

  7. Create a folder named Payload and copy the .app file into it.

  8. Archive the Payload folder. It creates Payload.zip.
  9. Rename the Payload.zip to [app name].ipa.

Wooo Got it and it works.. enjoy

Anand Prakash
  • 470
  • 6
  • 21