Code signing is required for product type 'Application' in SDK 'iOS 10.0' - StickerPackExtension requires a development team error

515,444

Solution 1

Holy molly, I had to do all this in order for it to work. A picture is worth a thousand words.

  • If you get this error while archiving then continue reading.

    Enter image description here

  • Go to your app and click on the general tab. Under the signing section, uncheck "Automatically manage signing". As soon as you do that you will get a status of red error as shown below.

    Enter image description here

  • Now here's the tricky part. You need to uncheck "Automatically manage Signing" in both the targets under your project. This step is very important.

    Enter image description here

  • Now go under "build settings" tab of each of those targets and set "iOS Developer" under code signing identity. Do the same steps for your "PROJECT".

    Enter image description here

  • Now do Xcode → Product → Clean. Close your project in Xcode and reopen it again.

  • After this go to the general tab of each of your targets and check "Automatically manage signing" and under team drop down select your developer account

    Enter image description here

  • Do an archive of your project again and everything should work.

Really, Apple? Was this supposed to make our lives easier?

Solution 2

Great, now we can choose the profile for Debug and Release separately in the general tab itself as illustrated in the image below.

Also when you click on Automatically manage signing it does all process that are created by Fix issue in previous Xcode versions.

Enter image description here

Solution 3

Disabling automatic and then re-enabling has solved this for me in Xcode 8 GM seed. This can be done in the project settings, info tab for each target that needs to be signed.

Solution 4

I hate to say it. I just quit Xcode and opened it again. Simple and effective :)

Solution 5

For resovle this issue:

  1. Go to Xcode/Preferences/Accounts
  2. Click on your apple id account;
  3. Click - "View Details" (is open a new window with "signing identities" and "provisioning profiles";
  4. Delete all certificates from "Provisioning profiles", empty trash;
  5. Delete your Apple-ID account;
  6. Log in again with your apple id and build app!

Good luck!

Share:
515,444
Rajesh
Author by

Rajesh

Updated on July 29, 2022

Comments

  • Rajesh
    Rajesh almost 2 years

    I am facing the below issue and am unable to build the application.

    XXX has conflicting provisioning settings. XXX is automatically provisioned, but provisioning profile WildCard has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual provisioning in the target editor. Code signing is required for product type 'Application' in SDK 'iOS 10.0'

    I am also unable to choose a particular profile.

    Enter image description here

    How to resolve this issue?

  • jjxtra
    jjxtra over 7 years
    @aryaxt yea I hope my hours of pain can help other people not have hours of pain
  • Aaron Krauss
    Aaron Krauss over 7 years
    If I'm being 100% - I don't really understand why this worked. But it did, and the pictures made a big difference. Thank you, wise wanderer.
  • Jeremiah
    Jeremiah over 7 years
    I only had to uncheck and recheck the "Automatically manage signing". It then made me choose my team and had a popup confirming it was reseting some settings. Then it worked!
  • Jack
    Jack over 7 years
    Don't forget to 'Close your project in Xcode and reopen it again'. This is important, at least to me :(
  • Pablo Ezequiel Leone
    Pablo Ezequiel Leone over 7 years
    Don't scare if you don't have multiple targets. I didn't have any and the process worked like a charm. I wouldn't be able to realise of all this process, you are a genius!
  • Kristian MT
    Kristian MT over 7 years
    I had problems with certificate. Revoke didn't help, but after the clean and restart the certificate showed up. Nice!
  • andrewoodleyjr
    andrewoodleyjr over 7 years
    Your solution really helped. I was a bit confused with "uncheck Automatically manage Signing in both the targets." This could be due to Xcode 8.0 and the pictures not lining up. Thanks for taking the time to provide the solution +1
  • Yigit Yuksel
    Yigit Yuksel over 7 years
    I've tried this, but still i cant upload my project with deployment provision profile.
  • thadk
    thadk over 7 years
    I was able to double click the project above the error in the left pane and the correct window appeared.
  • hoi
    hoi over 7 years
    This is a simple and great answer!!
  • Rafael Nobre
    Rafael Nobre over 7 years
    It makes all issues that 'Fix issue' used to create available automatically :(
  • Amos
    Amos over 7 years
    Thank you...This worked for me and afterwords I just had to choose my team developer account.
  • Andrey Butov
    Andrey Butov over 7 years
    You probably saved me hours of work. You should send an invoice to Apple for nonsense like this.
  • Yar
    Yar over 7 years
    in my case Automatically manage Signing wasn't actually checked by default and checking it solved my problem!
  • Roger Binns
    Roger Binns over 7 years
    Please can you clarify precisely what "Go to your app and click on the general tab" is. My app features in numerous locations on the screen, there are boatloads of menus, tabs etc. I just can't find what you have in your second screenshot or the mysterious "project editor" mentioned in the error message.
  • GameSalutes
    GameSalutes over 7 years
    I actually got a warning when submitting app saying "potential loss of keychain access" as signing identity didn't match my previous version. So I came across this post, and I just turned off the auto provisioning following your steps and pointed to my known identities as I don't trust the automation and prefer the "old ways" as it selected some new identity that it must have autogenerated and does not even exist on my account! Thanks for the tips! It seems Apple consistently breaks something with the publishing process each version of XCode.
  • Mike Gledhill
    Mike Gledhill over 7 years
    "Really apple? This was suppose to make our lives easier?" Unbelievable, isn't it ? We're almost in 2017, and Xcode still behaves like a spoilt child from the 1980s. All that money, and they refuse to employ an Xcode developer with skills in actually making this stuff user-friendly. It's a disgrace.
  • Mike Gledhill
    Mike Gledhill over 7 years
    Good tip... but frustrating that Xcode's upto v8.1, and we're still having to do dodgy workarounds like this. Are they ever going to make it user-friendly ?
  • Jason Farnsworth
    Jason Farnsworth over 7 years
    @Jeremiah is spot on. Unchecking, rechecking, and restarting Xcode worked. Face. Palm.
  • Darkglow
    Darkglow over 7 years
    We had this issue in combination with a apple watch and the apple watch extension. Worked here as well with Xcode 8.2.1. It looks like ProvisioningStyle = Automatic; wasn't set at all this changed after i clicked through your instructions. Further the watchkitExtension Project had no Code Signing Identity for the entry "Any wachtOS SDK" there i hat to put iOS Developer in, no matter if on a Release or Debung Configuration
  • Supriya Kalghatgi
    Supriya Kalghatgi over 7 years
    I tried doing this ProvisioningStyle = Manual;. Unfortunately dd'nt help
  • buildsucceeded
    buildsucceeded over 7 years
    This did it for me! Glad I searched before spending hours trying to fix.
  • Sravan
    Sravan over 7 years
    @SupriyaKalghatgi, Which XCode version you are using ?
  • Dansp
    Dansp over 7 years
    All technique in IT. Quick and open again. Thanks! haha
  • lukecampbell
    lukecampbell about 7 years
    I had to quit XCode as well. Quitting XCode is quickly becoming my standard debugging technique.
  • prankin
    prankin about 7 years
    In addition to these steps I had to go to Product -> Scheme -> new scheme to get it to work. Thanks
  • wottle
    wottle about 7 years
    Option 2 worked for me, since I'm not able to sign into the dev account on Xcode.
  • lee
    lee almost 7 years
    Unchecked and checked Automatically manage signing also cannot fix the bug. I follow up your steps, then it's worked. Thanks.
  • Programmer Hugo
    Programmer Hugo almost 7 years
    Best answer , normally I have to spend lots of time solving building issues
  • Ka Mok
    Ka Mok almost 7 years
    The only solution that worked for me. Why is the suggested answer restarting?
  • Stevey
    Stevey almost 7 years
    Also happened when my membership expired.
  • Vasanth
    Vasanth over 6 years
    It's August 2017 with Xcode 8.3.3 this solution still works.
  • Naishta
    Naishta over 6 years
    This is cool stuff ! Works for the Appium Server automation tests. Just got a long pending Automation Server issue fixed at work !
  • Ade
    Ade over 6 years
    I will never understand Apple Code signing. After years of doing this. smh, thank you.
  • Raghav
    Raghav over 6 years
    As a developer I feel awkward finding out that this solution actually worked for me. Bravo!
  • neoscribe
    neoscribe about 6 years
    This is the closest answer. I had to use the menu File/Close Project, then Open Recently... this worked for me.
  • John Halsey
    John Halsey over 5 years
    Yes! This works, although I did have to do a headstand for 5 seconds after I closed Xcode, and opening it up again.
  • TheTravloper
    TheTravloper about 5 years
    i deleted them. But are you sure that this won't cause any problem
  • kalpa
    kalpa about 5 years
    For me I did not face any problem. But for safe side just keep an copy of it.
  • Andor Németh
    Andor Németh over 3 years
    Umm and what should I import? This makes no sense to me.
  • pyfyc
    pyfyc over 3 years
    I had the same error in the Signing Status section. I fixed it by removing PROVISIONING_PROFILE codes same you. After that the error in Signing section was gone. But I still cannot build my project with the same error: "Code signing is required ..."
  • kalpa
    kalpa over 3 years
    @pyfyc after deleting provisioning profile clean the project and try again.
  • pyfyc
    pyfyc over 3 years
    @kalpa I have tried that many times but it did not solve the problem. Maybe my case is a bit specific, I also described it here: stackoverflow.com/q/65713315/4428219. You can take a look if you want. In the meantime I will try other suggestions from this thread. Thanks.
  • pyfyc
    pyfyc over 3 years
    Thank you! Your answer helped me to solve my issue. Even there is no such option in my interface (xcode 12.3) but it started working when I was trying out your answer. I posted my solution here: stackoverflow.com/a/65739207/4428219
  • xjsXjtu
    xjsXjtu over 2 years
    Unbelievable, but that's true.