Xcode 14에는 포드 번들을 위한 선택된 개발 팀이 필요합니다.
선택한 개발 팀이 없기 때문에 두 프로젝트 모두 Xcode 14 베타로 빌드되지 않습니다.두 번 모두 파란색 레고 아이콘이 있는 대상입니다(묶음이라고 생각합니까?)
이전 버전의 Xcode에서도 팀이 설정되지 않았지만 빌드 오류로 이어지지 않은 것 같습니다.
여기서 자체 개발팀을 선택하는 것이 잘못된 것일까요?
이것.post_install
포드 파일의 스크립트가 수정했습니다.자체 개발자 팀을 설정해야 할 것 같습니다.팀 ID를 팀으로 바꾸기프로젝트의 ID입니다.
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["DEVELOPMENT_TEAM"] = "Your Team ID"
end
end
end
end
저는 아래 코드를 선호하기 때문에 개별 패키지마다 서명할 필요가 없고 여러 서명 팀을 사용할 때 쉽습니다.
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
PodFile의 올바른 구조를 알아야 하는 경우
# Uncomment the next line to define a global platform for your project
# platform :ios, '12.0'
target 'APPTarget' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Your packages goes here
end
# Disable signing for pods
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
제 문제는 floating이었습니다. 찾을 수 없습니다. 구글 로그인(위와 같이)과 웹뷰입니다.도움이 된다면 다음과 같은 몇 줄이 효과가 있었습니다.
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["DEVELOPMENT_TEAM"] = "developer code"
end
end
end
end
특정 프레임워크에서 오류가 발생하는 경우 문제가 있는 포드를 수동으로 교체할 수 있습니다.이렇게 하려면 아래에 있는 지원 파일 섹션에 디버그 및 릴리스 파일 "CODE_SIGNING_ALLOWED = NO"를 추가합니다.이것은 샘플입니다.
다른 체계에 대해 다른 서명 인증서가 있고 포드에 서명할 필요가 없는 경우 자동으로 서명 관리가 기본적으로 선택된 상태에서 Xcode의 팀을 없음으로 유지할 수 있습니다.
그런 다음 다음 구성을 추가합니다.build_build...Pod 파일의 post_install 단계로 연결되는 예:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# disable code signing for pods
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
end
end
end
언급URL : https://stackoverflow.com/questions/72561696/xcode-14-needs-selected-development-team-for-pod-bundles
'programing' 카테고리의 다른 글
요소를 전환하는 네이티브 jQuery 기능이 있습니까? (0) | 2023.07.31 |
---|---|
도커 exec으로 2개의 명령어를 실행하는 방법 (0) | 2023.07.31 |
부트스트랩에서 선택 선택 플러그인을 사용하여 선택 시 선택한 값을 설정하는 방법 (0) | 2023.07.31 |
Powershell 시스템 추가 (0) | 2023.07.31 |
데몬의 오류 응답:현재 컨텍스트에 빌드 단계가 없습니다. (0) | 2023.07.31 |