TOCropViewController icon indicating copy to clipboard operation
TOCropViewController copied to clipboard

Xcode 14 built error

Open ygf-git opened this issue 3 years ago • 10 comments
trafficstars

"TOCropViewController-TOCropViewControllerBundle" requires a development team. Select a development team in the Signing & Capabilities editor.

ygf-git avatar Aug 17 '22 09:08 ygf-git

+1

iworkcloud avatar Sep 13 '22 05:09 iworkcloud

Hm I didn't have any issues building with Xcode 14.

sabiland avatar Sep 13 '22 05:09 sabiland

+1

orzzp avatar Sep 13 '22 08:09 orzzp

I'm having the same issue when using the flutter package https://github.com/hnvn/flutter_image_cropper that uses TOCropViewController as iOS component.

Is there any suggestion?

simonemarra avatar Sep 13 '22 10:09 simonemarra

I have solved this issue temporarily with the following, but I am not sure if it will cause new issue yet.

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    target.build_configurations.each do |config|
        config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
        config.build_settings['CODE_SIGN_IDENTITY'] = ''
    end
  end
end

orzzp avatar Sep 13 '22 10:09 orzzp

I just chose a team inside the Signing&Capabilities -> Targets -> TOCropViewController-TOCropViewControllerBundle and it works perfectly

befirst avatar Sep 13 '22 11:09 befirst

https://stackoverflow.com/questions/39945377/no-code-signature-found-after-pod-installed-in-xcode-8/39949186#39949186

the best solution if you have some CI/CD:

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
        config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
        config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
       end
    end
  end

befirst avatar Sep 13 '22 12:09 befirst

I just chose a team inside the Signing&Capabilities -> Targets -> TOCropViewController-TOCropViewControllerBundle and it works perfectly

...Oh dear! If a debug message says EXACTLY what is missing, then give to the IDE what it needs. Clean and simple!

I was blocked by my mind: "WTF, why you need my team signature if the package is signed by another developer?"

And the answer sometimes is "just try it and don't mind, you freaky-nerdy-guy!! What do you have to loose?!"

Really thank you dude!

simonemarra avatar Sep 13 '22 12:09 simonemarra

+1

yuanzhiying avatar Sep 13 '22 15:09 yuanzhiying

After 3.3.2 upgrade I had issues building locally but the above PODS workaround fixed it for me. Not really sure why !?

gslender avatar Sep 16 '22 08:09 gslender

+1

acabreragnz avatar Sep 28 '22 16:09 acabreragnz

+1

jordanliu avatar Nov 04 '22 23:11 jordanliu

https://stackoverflow.com/questions/39945377/no-code-signature-found-after-pod-installed-in-xcode-8/39949186#39949186

the best solution if you have some CI/CD:

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
        config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
        config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
       end
    end
  end

I was facing same issue and this solution worked for me perfectly Thank @befirst

JPGuptaJee avatar Nov 15 '22 07:11 JPGuptaJee