How to get developer profile in Xcode?

The problem

I am getting the following when the app is already installed
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: Permission to debug com.safetyculture.iAuditor was denied. The app must be signed with a development identity (e.g. iOS Developer).

and when the app is not installed, I get the following

info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier ‘com.companyName.productName’

Environment

  • Appium version (or git revision) that exhibits the issue: 1.4.13
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium: 10.11.1
  • Node.js version (unless using Appium.app|exe): Using appium.app on iOS
  • Mobile platform/version under test: Iphone6 9.1
  • Real device or emulator/simulator: Both
  • Appium CLI or Appium.app|exe:

Details

I am guessing the problem reported above has to do with not having the correctly signed .ipa or .app file and a developer profile/identity is required? How do we get that? What are the steps that I need to follow in XCode to get a developer profile?

easiest way - become iOS developer and sign app with developer certificate.
hardest way - spend $$$ for beer to your iOS developer to get app signed with dev certificate

3 Likes

What a answer :smile: