Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8492241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:39:39+00:00 2026-06-10T22:39:39+00:00

In Xcode I have edited the scheme for the iOS device, and changed the

  • 0

In Xcode I have edited the scheme for the iOS device, and changed the build configuration to release (under run app).

Now when I connect my iPhone and try to press the run the Xcode project on to my iPhone directly, I get the following error:

(null):  Application failed codesign verification.  The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)

Note – When I change the build configuration back to debug mode, it seems to work on the device.

I want to test the app in release mode before I submit to the app store.

Confusion

I am not sure if the way I attempting is correct way or if I should use archive to test it in release mode.

Questions:

  1. What should I do to resolve this error ?
  2. Is it possible to run the app in the release mode on the device from Xcode ?
  3. For release mode testing should I be using the archive (.ipa) and syncing it ?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T22:39:41+00:00Added an answer on June 10, 2026 at 10:39 pm

    You cannot debug or run your application on the device when it has been built with an app store provisioning profile. The entitlements disallow debugging through the get-task-allow value, and the provisioning profile does not include any allowed device IDs.

    If you are archiving your app using the standard Xcode “Archive” command, you can resign the archive with your developer identitiy and provisioning profile for testing on the device. Select the archive in the Organizer and choose “Distribute”. Choose the second option and select your developer identity/profile:

    enter image description here

    The generated IPA should then run on the device for testing. When you want to submit to the store, you can choose the same archive for submission.

    If you are not using Xcode’s Archive functionality (e.g. building on the command line), you will need to either resign the app store IPA yourself for testing (difficult but possible on the command line), or simply build both an app store and test version at the same time from the same code base. You can then be fairly sure the two IPAs are based on the same version of your source code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Xcode 4.x I've edited my Run scheme to 'Enable Guard Malloc' since I
I am developing an iOS app using XCode 4.2 I have a UIImage variable
I have XCode 3.2.2 and am trying to build an app to my jailbroken
I have a XCode which builds and runs under XCode. I would like to
I have downloaded xcode and have developed a crud app (on the iphone) that
so, i have an ios app and i have built it with interface builder
I have jailbroken device ios version 5.0.1 When ever I try to debug my
My xcode have crashed giving following error whenever I try to run my already
I have Xcode version 3.1.3 and in that Simulator and Device is supported till
I have Xcode Version 4.2 ,Build 4D199. I need to test an application for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.