BarcodeScanner icon indicating copy to clipboard operation
BarcodeScanner copied to clipboard

Signing for "BarcodeScanner-Localization" requires a development team.

Open nitishs-btc opened this issue 1 year ago • 12 comments

While Running the app on a real device getting issues for "BarcodeScanner-Localization" and "BarcodeScanner-BarcodeScanner" for sign-in required. For more clarity, I have attached an image for that. Screenshot 2022-09-21 at 8 13 59 PM

Screenshot 2022-09-21 at 8 16 59 PM

Please let me know how to resolve this issue.

nitishs-btc avatar Sep 21 '22 14:09 nitishs-btc

Same happen to me after running on Xcode 14

amrangry avatar Sep 28 '22 04:09 amrangry

You're getting this error because CODE_SIGNING_ALLOWED is set to YES by default in Xcode 14.

A workaround you can use is to make sure that the workspace targets created by Cocoapods sets it to NO. Like this:

target.build_configurations.each do |config|
  config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end

jurvis avatar Oct 03 '22 20:10 jurvis

jurvis could you let us know where exactly, as I tried the suggested one by typing it in PodFile but now working attached image for reference Screen Shot 2022-10-04 at 8 44 32 AM

amrangry avatar Oct 04 '22 04:10 amrangry

@amrangry did you run pod install after placing the code snippet in your Podfile?

If you paste your Podfile here, I’ll be happy to take a look at it

jurvis avatar Oct 04 '22 05:10 jurvis

@jurvis after running pod install kindly find the Podfile: please ignore the file extension "txt" Podfile.txt

still facing other issues while build

amrangry avatar Oct 05 '22 10:10 amrangry

I'd imagine you'll want to put the post_install block outside of target 'xyz' do ... end

like: https://termbin.com/gj9u

jurvis avatar Oct 06 '22 16:10 jurvis

@jurvis thank you for helping out 🙏

3lvis avatar Oct 09 '22 07:10 3lvis

@jurvis thanks for the advice :) Its working find now

amrangry avatar Oct 10 '22 04:10 amrangry

Still, I suppose this should be also fixed in .podspec by this repository? Having code in project's Podfile is only a temporary workaround.

kkizlaitis avatar Oct 10 '22 09:10 kkizlaitis

@kkizlaitis Happy to review your PR!

3lvis avatar Oct 11 '22 19:10 3lvis

I figure that there should exist some Cocoapods support in .podspec for setting the CODE_SIGNING_ALLOWED property, but there isn't yet.

It's best to wait for this issue to be addressed by Cocoapods team: https://github.com/CocoaPods/CocoaPods/issues/11402

kkizlaitis avatar Oct 13 '22 01:10 kkizlaitis

Cocoapods team has fixed this (coming in 1.12.0)! The CODE_SIGNING_ALLOWED will be set by Cocoapods itself (PR https://github.com/CocoaPods/CocoaPods/pull/11723), therefore, we will no longer need to specify CODE_SIGNING_ALLOWED.

kkizlaitis avatar Jan 12 '23 06:01 kkizlaitis