本文介绍: 1、Xcode 无法选中 iOS16的设备报错developer mode disable方法三: 在 Podfile 文件设置 CODE_SIGN_IDENTITY (推荐方法调试手机设置隐私安全–(滑动到最底部)开发者模式开启开发者模式需要重启手机方法一:手动选择Pod工程中的Bundle target 签名中的Team,与主工程一致。方法二: 在 Podfile 文件设置你的开发者的Team ID。二、Pod工程中的Bundle target签名报错

iOS16手机打开开发者模式时:

1、Xcode 无法选中 iOS16的设备报错developer mode disable

2、无法打开升级编译的App

解决办法:在你的iPhone中操作

调试手机设置隐私安全–(滑动到最底部)开发者模式开启开发者模式需要重启手机

二、Pod工程中的Bundle target签名报错

方法一:手动选择Pod工程中的Bundle target 签名中的Team,与主工程一致

方法二: 在 Podfile 文件设置你的开发者的Team 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

方法三: 在 Podfile 文件 中设置 CODE_SIGN_IDENTITY (推荐此方法)

post_install do |installer|
   installer.pods_project.targets.each do |target|
       target.build_configurations.each do |config|
           config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
           
           config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
           config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
           config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
       end
   end
end

原文地址:https://blog.csdn.net/mofengluo/article/details/128849286

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_20172.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注