FontAwesome.swift icon indicating copy to clipboard operation
FontAwesome.swift copied to clipboard

Error when used in a project targeting catalyst

Open ykphuah opened this issue 5 years ago • 8 comments

Once I enable catalyst, building for Mac platform will give me the following errors:

Signing for "FontAwesome.swift-FontAwesome.swift" requires a development team. Select a development team in the Signing & Capabilities editor.

It doesn't do this for any other pod files that I use. Excluding FontAwesome (which needs me to set minimum iOS to 13) works as well, but I am wondering why this pod is so special.

Any ideas?

ykphuah avatar Nov 02 '19 15:11 ykphuah

I have the same issue. Bumping for visibility

mpkempson avatar Nov 06 '19 12:11 mpkempson

Same problem here

palla89 avatar Nov 10 '19 11:11 palla89

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 10 '19 11:12 stale[bot]

Need this as well

appfrilans avatar Dec 11 '19 09:12 appfrilans

Same problem. In iOS 16. this won't appear until iOS 16.

I config the developer acount. But I don't know why this happens.

X-JackWill avatar Sep 05 '22 05:09 X-JackWill

This issue appeared for me after updating XCode from 13.4.1 to 14.0. I can compile if I select a development team in the FontAwesome.swift-FontAwesome.swift target, but I guess it's not supposed to work like this?

jbgtmartin avatar Sep 14 '22 12:09 jbgtmartin

suffering from this issue as well. please fix

mzekrallah avatar Nov 23 '22 10:11 mzekrallah

For anybody facing this, here's the solutions (choose the one you prefer):

  • Untick "Automatically manage singing" for FontAwesome.swift-FontAwesome.swift target
  • Set your own development team for FontAwesome.swift-FontAwesome.swift target
  • (PREFERRED) If you're using Cocoapods and want the fix to persist (meaning you won't have to re-do above steps after each pod install), add following code at the end of your Podfile, and re-run pod install:
post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
      target.build_configurations.each do |config|
        config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
      end
    end
  end
end

AnthoPakPak avatar Mar 20 '23 17:03 AnthoPakPak