DKImagePickerController icon indicating copy to clipboard operation
DKImagePickerController copied to clipboard

ios error Signing for "DKImagePickerController-DKImagePickerController" requires a development team.

Open timfong888 opened this issue 2 years ago • 14 comments

Signing for "DKImagePickerController-DKImagePickerController" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'DKImagePickerController-DKImagePickerController' from project 'Pods')

However, in my project files, I have already indicated that I am signing the two targets, my project's target and Image Notification.

So I'm not clear why this needs a separate signing of the development team. The target doesn't show up in Xcode, so where in the code do I specify the team?

timfong888 avatar Jul 07 '22 18:07 timfong888

same problem here

SimonVillage avatar Jul 13 '22 10:07 SimonVillage

How do we solve this?

armandojimenez avatar Jul 27 '22 19:07 armandojimenez

Any fix for this?

armandojimenez avatar Aug 23 '22 21:08 armandojimenez

Any fix for this? This is the only thing preventing me from testing my app on iOS 16

armandojimenez avatar Aug 29 '22 18:08 armandojimenez

+1

sarinupreti2021 avatar Sep 13 '22 06:09 sarinupreti2021

Adding this code worked for me.

def removeFlutterFilePickerUnwantedPod
  if !Pod.const_defined?(:PICKER_MEDIA) || PICKER_MEDIA
    Pod.const_set(:PICKER_MEDIA, false)
  end
  if !Pod.const_defined?(:PICKER_AUDIO) || PICKER_AUDIO
    Pod.const_set(:PICKER_AUDIO, false)
  end
end


removeFlutterFilePickerUnwantedPod()

sarinupreti2021 avatar Sep 13 '22 07:09 sarinupreti2021

gem 'cocoapods-pod-sign'

It's work!

Cheng455153666 avatar Sep 14 '22 09:09 Cheng455153666

plugin 'cocoapods-pod-sign' skip_pod_bundle_sign

Helped me!

ThickLine avatar Sep 14 '22 10:09 ThickLine

See this Swift Forum thread for more info, in our case passing CODE_SIGN_STYLE=Manual alongside with DEVELOPMENT_TEAM and CODE_SIGN_IDENTITY worked. https://forums.swift.org/t/xcode-14-beta-code-signing-issues-when-spm-targets-include-resources/59685

zhangao0086 avatar Sep 15 '22 06:09 zhangao0086

@zhangao0086 will you update the plugin in order to fix this?

miguelpruivo avatar Sep 19 '22 09:09 miguelpruivo

+1

daiki1003 avatar Sep 20 '22 03:09 daiki1003

@ThickLine @Cheng455153666 Where do you specify these lines? Please help. Thanks in advance.

ykiran avatar Sep 25 '22 15:09 ykiran

@ykiran In your Podfile. Or better add config.build_settings['CODE_SIGN_IDENTITY'] = ''

like this:

post_install do |installer|
        installer.pods_project.targets.each do |target|
            target.build_configurations.each do |config|
                config.build_settings['CODE_SIGN_IDENTITY'] = ''
            end
        end
    end

ThickLine avatar Sep 25 '22 16:09 ThickLine

Thanks @ThickLine for taking the time to explain this. However, I went with this fix and it worked. https://github.com/zhangao0086/DKImagePickerController/issues/705#issuecomment-1250706936

ykiran avatar Sep 26 '22 05:09 ykiran