Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nitishs-btc opened this issue Sep 21, 2022 · 12 comments
Open

Comments

@nitishs-btc
Copy link

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.

@amrangry
Copy link

Same happen to me after running on Xcode 14

@jurvis
Copy link

jurvis commented Oct 3, 2022

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

@amrangry
Copy link

amrangry commented Oct 4, 2022

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

@jurvis
Copy link

jurvis commented Oct 4, 2022

@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

@amrangry
Copy link

amrangry commented Oct 5, 2022

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

still facing other issues while build

@jurvis
Copy link

jurvis commented Oct 6, 2022

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

like: https://termbin.com/gj9u

@3lvis
Copy link
Collaborator

3lvis commented Oct 9, 2022

@jurvis thank you for helping out 🙏

@amrangry
Copy link

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

@kkizlaitis
Copy link

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

@3lvis
Copy link
Collaborator

3lvis commented Oct 11, 2022

@kkizlaitis Happy to review your PR!

@kkizlaitis
Copy link

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: CocoaPods/CocoaPods#11402

@kkizlaitis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants