bugly模拟器可用配置

修改包名
This commit is contained in:
2025-11-03 21:04:39 +08:00
parent 5af2612ff7
commit cb5819e330
20 changed files with 278 additions and 278 deletions

View File

@@ -8,7 +8,9 @@
#import "AppDelegate.h"
#import "KBPermissionViewController.h"
#import <AFNetworking/AFNetworking.h>
#if !DEBUG
#import <Bugly/Bugly.h>
#endif
#import "BaseTabBarController.h"
#import "LoginViewController.h"
#import "KBLoginSheetViewController.h"
@@ -17,8 +19,8 @@
// bundle id target
// PRODUCT_BUNDLE_IDENTIFIER
// CustomKeyboard target com.keyBoardst.CustomKeyboard
static NSString * const kKBKeyboardExtensionBundleId = @"com.keyBoardst.CustomKeyboard";
// CustomKeyboard target com.loveKey.nyx.CustomKeyboard
static NSString * const kKBKeyboardExtensionBundleId = @"com.loveKey.nyx.CustomKeyboard";
@implementation AppDelegate
@@ -30,11 +32,15 @@ static NSString * const kKBKeyboardExtensionBundleId = @"com.keyBoardst.CustomKe
[KBNetworkManager shared].enabled = YES;
///
[self getNetJudge];
/// Bugly
#if !DEBUG
/// Bugly
BuglyConfig *buglyConfig = [BuglyConfig new];
/// GroupID
// buglyConfig.applicationGroupIdentifier = @"";
[Bugly startWithAppId:BuglyId config:buglyConfig];
#endif
// KBGuideVC
return YES;
}

View File

@@ -11,18 +11,18 @@
#import <Security/Security.h>
#import "KBConfig.h" // 访 KBConfig.h
NSString * const kKBDarwinAuthChanged = @"com.keyBoardst.auth.changed";
NSString * const kKBDarwinAuthChanged = @"com.loveKey.nyx.auth.changed";
NSNotificationName const KBAuthChangedNotification = @"KBAuthChangedNotification";
static NSString * const kKBKCService = @"com.keyBoardst.auth"; // service
static NSString * const kKBKCService = @"com.loveKey.nyx.auth"; // service
static NSString * const kKBKCAccount = @"session"; // account
// Keychain Sharing 访 target entitlements
// Capabilities Keychain Sharing
// $(AppIdentifierPrefix)com.keyBoardst.shared
// TN6HHV45BB.com.keyBoardst.shared
// $(AppIdentifierPrefix)com.loveKey.nyx.shared
// TN6HHV45BB.com.loveKey.nyx.shared
#ifndef KB_KEYCHAIN_ACCESS_GROUP
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.keyBoardst.shared"
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.loveKey.nyx.shared"
#endif
// <=

View File

@@ -25,9 +25,9 @@
// --- 认证/共享钥匙串 配置 ---
// 若已在 Capabilities 中启用 Keychain Sharing并添加访问组
// $(AppIdentifierPrefix)com.keyBoardst.shared
// 运行时会展开为TN6HHV45BB.com.keyBoardst.shared
// $(AppIdentifierPrefix)com.loveKey.nyx.shared
// 运行时会展开为TN6HHV45BB.com.loveKey.nyx.shared
// KBAuthManager 通过下面的宏定位访问组;如需修改,可在 Build Settings 或前缀头中覆盖该宏。
#ifndef KB_KEYCHAIN_ACCESS_GROUP
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.keyBoardst.shared"
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.loveKey.nyx.shared"
#endif

View File

@@ -6,7 +6,7 @@
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.keyBoardst.keyboard</string>
<string>com.loveKey.nyx.keyboard</string>
<key>CFBundleURLSchemes</key>
<array>
<string>kbkeyboard</string>

View File

@@ -11,18 +11,18 @@
#import <Security/Security.h>
#import "KBConfig.h" // 访 KBConfig.h
NSString * const kKBDarwinAuthChanged = @"com.keyBoardst.auth.changed";
NSString * const kKBDarwinAuthChanged = @"com.loveKey.nyx.auth.changed";
NSNotificationName const KBAuthChangedNotification = @"KBAuthChangedNotification";
static NSString * const kKBKCService = @"com.keyBoardst.auth"; // service
static NSString * const kKBKCService = @"com.loveKey.nyx.auth"; // service
static NSString * const kKBKCAccount = @"session"; // account
// Keychain Sharing 访 target entitlements
// Capabilities Keychain Sharing
// $(AppIdentifierPrefix)com.keyBoardst.shared
// TN6HHV45BB.com.keyBoardst.shared
// $(AppIdentifierPrefix)com.loveKey.nyx.shared
// TN6HHV45BB.com.loveKey.nyx.shared
#ifndef KB_KEYCHAIN_ACCESS_GROUP
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.keyBoardst.shared"
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.loveKey.nyx.shared"
#endif
// <=

View File

@@ -25,9 +25,9 @@
// --- 认证/共享钥匙串 配置 ---
// 若已在 Capabilities 中启用 Keychain Sharing并添加访问组
// $(AppIdentifierPrefix)com.keyBoardst.shared
// 运行时会展开为TN6HHV45BB.com.keyBoardst.shared
// $(AppIdentifierPrefix)com.loveKey.nyx.shared
// 运行时会展开为TN6HHV45BB.com.loveKey.nyx.shared
// KBAuthManager 通过下面的宏定位访问组;如需修改,可在 Build Settings 或前缀头中覆盖该宏。
#ifndef KB_KEYCHAIN_ACCESS_GROUP
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.keyBoardst.shared"
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.loveKey.nyx.shared"
#endif

View File

@@ -8,7 +8,7 @@
</array>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)com.keyBoardst.shared</string>
<string>$(AppIdentifierPrefix)com.loveKey.nyx.shared</string>
</array>
</dict>
</plist>