Open timfong888 opened 2 years ago
same problem here
How do we solve this?
Any fix for this?
Any fix for this? This is the only thing preventing me from testing my app on iOS 16
+1
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()
gem 'cocoapods-pod-sign'
It's work!
plugin 'cocoapods-pod-sign' skip_pod_bundle_sign
Helped me!
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 will you update the plugin in order to fix this?
+1
@ThickLine @Cheng455153666 Where do you specify these lines? Please help. Thanks in advance.
@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
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
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?