BarcodeScanner
BarcodeScanner copied to clipboard
Signing for "BarcodeScanner-Localization" requires a development team.
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.
Please let me know how to resolve this issue.
Same happen to me after running on Xcode 14
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
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
@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
after running pod install
kindly find the Podfile: please ignore the file extension "txt"
Podfile.txt
still facing other issues while build
I'd imagine you'll want to put the post_install
block outside of target 'xyz' do ... end
like: https://termbin.com/gj9u
@jurvis thank you for helping out 🙏
@jurvis thanks for the advice :) Its working find now
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 Happy to review your PR!
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
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
.