ios debug

This commit is contained in:
yuqucheng 2026-06-12 09:00:46 +08:00
parent a53c2b0d3a
commit 7807177674
3 changed files with 104 additions and 5 deletions

View File

@ -211,14 +211,14 @@ namespace Kill.Bluetooth
// 3 = Unauthorized (未授权) // 3 = Unauthorized (未授权)
else if (state == 3) else if (state == 3)
{ {
LogError("iOS 蓝牙未授权"); Log("iOS 蓝牙未授权");
OnError?.Invoke("请在设置中允许使用蓝牙"); OnError?.Invoke("请在设置中允许使用蓝牙");
OnInitialized?.Invoke(false); OnInitialized?.Invoke(false);
} }
// 2 = Unsupported (不支持蓝牙) // 2 = Unsupported (不支持蓝牙)
else if (state == 2) else if (state == 2)
{ {
LogError("设备不支持蓝牙"); Log("设备不支持蓝牙");
OnError?.Invoke("设备不支持蓝牙"); OnError?.Invoke("设备不支持蓝牙");
OnInitialized?.Invoke(false); OnInitialized?.Invoke(false);
} }

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<projectSettings> <projectSettings>
<projectSetting />
<projectSetting name="com.google.external-dependency-managerAnalyticsEnabled" value="False" />
<projectSetting name="com.google.firebaseAnalyticsCookie" value="52147e1600794b57805bb75d5ad13780" /> <projectSetting name="com.google.firebaseAnalyticsCookie" value="52147e1600794b57805bb75d5ad13780" />
<projectSetting name="com.google.firebaseAnalyticsEnabled" value="True" /> <projectSetting name="com.google.firebaseAnalyticsEnabled" value="True" />
<projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" /> <projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />

View File

@ -190,7 +190,7 @@ PlayerSettings:
VertexChannelCompressionMask: 4054 VertexChannelCompressionMask: 4054
iPhoneSdkVersion: 988 iPhoneSdkVersion: 988
iOSSimulatorArchitecture: 0 iOSSimulatorArchitecture: 0
iOSTargetOSVersionString: 12.0 iOSTargetOSVersionString: 15.0
tvOSSdkVersion: 0 tvOSSdkVersion: 0
tvOSSimulatorArchitecture: 0 tvOSSimulatorArchitecture: 0
tvOSRequireExtendedGameController: 0 tvOSRequireExtendedGameController: 0
@ -383,6 +383,103 @@ PlayerSettings:
m_Height: 36 m_Height: 36
m_Kind: 0 m_Kind: 0
m_SubKind: m_SubKind:
- m_BuildTarget: iPhone
m_Icons:
- m_Textures: []
m_Width: 180
m_Height: 180
m_Kind: 0
m_SubKind: iPhone
- m_Textures: []
m_Width: 120
m_Height: 120
m_Kind: 0
m_SubKind: iPhone
- m_Textures: []
m_Width: 167
m_Height: 167
m_Kind: 0
m_SubKind: iPad
- m_Textures: []
m_Width: 152
m_Height: 152
m_Kind: 0
m_SubKind: iPad
- m_Textures: []
m_Width: 76
m_Height: 76
m_Kind: 0
m_SubKind: iPad
- m_Textures: []
m_Width: 120
m_Height: 120
m_Kind: 3
m_SubKind: iPhone
- m_Textures: []
m_Width: 80
m_Height: 80
m_Kind: 3
m_SubKind: iPhone
- m_Textures: []
m_Width: 80
m_Height: 80
m_Kind: 3
m_SubKind: iPad
- m_Textures: []
m_Width: 40
m_Height: 40
m_Kind: 3
m_SubKind: iPad
- m_Textures: []
m_Width: 87
m_Height: 87
m_Kind: 1
m_SubKind: iPhone
- m_Textures: []
m_Width: 58
m_Height: 58
m_Kind: 1
m_SubKind: iPhone
- m_Textures: []
m_Width: 29
m_Height: 29
m_Kind: 1
m_SubKind: iPhone
- m_Textures: []
m_Width: 58
m_Height: 58
m_Kind: 1
m_SubKind: iPad
- m_Textures: []
m_Width: 29
m_Height: 29
m_Kind: 1
m_SubKind: iPad
- m_Textures: []
m_Width: 60
m_Height: 60
m_Kind: 2
m_SubKind: iPhone
- m_Textures: []
m_Width: 40
m_Height: 40
m_Kind: 2
m_SubKind: iPhone
- m_Textures: []
m_Width: 40
m_Height: 40
m_Kind: 2
m_SubKind: iPad
- m_Textures: []
m_Width: 20
m_Height: 20
m_Kind: 2
m_SubKind: iPad
- m_Textures: []
m_Width: 1024
m_Height: 1024
m_Kind: 4
m_SubKind: App Store
m_BuildTargetBatching: [] m_BuildTargetBatching: []
m_BuildTargetShaderSettings: [] m_BuildTargetShaderSettings: []
m_BuildTargetGraphicsJobs: [] m_BuildTargetGraphicsJobs: []
@ -412,8 +509,8 @@ PlayerSettings:
enableInternalProfiler: 0 enableInternalProfiler: 0
logObjCUncaughtExceptions: 1 logObjCUncaughtExceptions: 1
enableCrashReportAPI: 0 enableCrashReportAPI: 0
cameraUsageDescription: cameraUsageDescription: 用于扫描二维码
locationUsageDescription: locationUsageDescription: 用于蓝牙设备通信
microphoneUsageDescription: microphoneUsageDescription:
bluetoothUsageDescription: bluetoothUsageDescription:
macOSTargetOSVersion: 10.13.0 macOSTargetOSVersion: 10.13.0