小编Nik*_*Kov的帖子

Xcode错误ITMS-90783:“缺少包显示名称”

今天,我开始使用fastlane和Xcode收到此错误:

错误ITMS-90783:“缺少包显示名称。Info.plist键CFBundleDisplayName丢失,或者在包标识符为'com.id'的包中具有空值。”

可以,我没有删除此属性。我认为这是苹果方面的错误。

有谁遇到同样的问题,您如何解决?

xcode testflight fastlane app-store-connect

97
推荐指数
5
解决办法
8856
查看次数

? ocoapods 主干 URL 无法下载

当我尝试pod repo update和时出现此错误pod install

CDN:无法下载主干 URL: https ://cdn.cocoapods.org/deprecated_podspecs.txt,错误:无法打开到 cdn.cocoapods.org:443 的 TCP 连接(没有到主机的路由 - connect(2) for "cdn.cocoapods.org" 端口 443)

有人知道如何解决这个问题吗?

iphone ios cocoapods podfile

93
推荐指数
11
解决办法
5万
查看次数

应用内购买。没有验证插件来验证 com.apple.account.iTunesStore.sandbox 类型帐户的凭据

我正在使用.storekit配置。尝试购买此类产品时出现错误

<SKPaymentQueue:0x600001240ce0>:付款已完成,但出现错误:错误域= ASDErrorDomain代码= 500“未处理的异常”UserInfo = {NSUnderlyingError = 0x600001c62160 {Error Domain = AMSErrorDomain代码= 100“身份验证失败”UserInfo = {NSLocalizedFailureReason =验证凭据调用失败., NSLocalizedDescription=身份验证失败,NSUnderlyingError=0x600001c60960 {Error Domain=com.apple.accounts Code=4“没有身份验证插件来验证 com.apple.account.iTunesStore.sandbox 类型帐户的凭据” UserInfo={NSLocalizedDescription=无身份验证用于验证 com.apple.account.iTunesStore.sandbox 类型帐户凭据的插件}}}},NSLocalizedFailureReason=发生未知错误,NSLocalizedDescription=未处理的异常}

如何解决这个问题?

storekit in-app-purchase ios tvos

14
推荐指数
2
解决办法
5561
查看次数

如何让团队加入itunes连接?

我在iTunes Connect中有多个团队,希望离开其中一个团队.我无法与该团队的管理员联系.怎么做?
PS 这个答案仅适用于开发者网站.

membership iphone itunesconnect

13
推荐指数
1
解决办法
1321
查看次数

NSBluetoothAlwaysUsageDescription是必需的,但未使用蓝牙

在部署新Xcode 11 GM Seed 2的ios应用中,苹果返回了错误: ITMS-90683:Info.plist中缺少NSBluetoothAlwaysUsageDescription的目的字符串

https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothalwaysusagedescription?language=objc已读取。

问题是我没有在应用程序中使用蓝牙。也许我不知道。我如何找出为什么需要此许可目的?

我没用 CoreBluetooth.framework

permissions xcode ios xcode11

13
推荐指数
3
解决办法
6095
查看次数

iOS推送通知操作未显示

我的应用程序与Firebase服务器连接,也用于发送推送通知.现在,我想更进一步,为通知添加一个动作.在抛出大量教程之后,它仍然不适合我.操作按钮未显示,您可以在此处看到:

在此输入图像描述

这是我的代码:

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    UIApplication.shared.applicationIconBadgeNumber = 0
    FirebaseApp.configure()
    registerForPushNotifications()
    return true
}

func registerForPushNotifications() {
    UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) {
        (granted, error) in
        print("Permission granted: \(granted)")

        guard granted else { return }

        let viewAction = UNNotificationAction(identifier: "addToCal",
                                              title: "Zum Kalender hinzufügen",
                                              options: [.foreground])

        let newsCategory = UNNotificationCategory(identifier: "NEW_SESSION",
                                                  actions: [viewAction],
                                                  intentIdentifiers: [],
                                                  options: [])
        UNUserNotificationCenter.current().setNotificationCategories([newsCategory])
        self.getNotificationSettings()
    }
}

func getNotificationSettings() {
    UNUserNotificationCenter.current().getNotificationSettings { (settings) in
        print("Notification settings: \(settings)")
        guard settings.authorizationStatus == …
Run Code Online (Sandbox Code Playgroud)

push-notification apple-push-notifications ios firebase swift

9
推荐指数
1
解决办法
3001
查看次数

Xcode如何从编译中排除FOLDERS?

我在stackO中看到了这个和答案,但没有找到如何排除文件夹.

我有3个文件夹,有很多.h,.m和.mm,我需要暂时排除它们,但不要删除引用.我怎样才能做到这一点?

xcode compilation build project linker-flags

8
推荐指数
3
解决办法
3902
查看次数

Apple Push Notification服务SSL(沙盒和生产)证书是否通用?

我阅读了很多有关证书的内容,并观看了WWDC,但应该为我自己和其他人清除下一个问题。在开发人员门户中创建证书时,我们看到了下一种可能性: 在此处输入图片说明

那么,仅创建沙盒证书而不是沙盒和生产证书的目的什么?在证书的应用说明中也有两个字段。

在此处输入图片说明 这是初级产品,我们只能使用S&P证书,还是应该实施开发证书?

ssl push-notification apple-push-notifications ios

8
推荐指数
1
解决办法
1030
查看次数

Xcode 在 swift 中打破了 switch case 多行缩进?

在以前的 Xcode 版本中,切换大小写多行缩进是:

switch error {
    case .authError,
         .decodeError,
         .dataNotExists:
    return "Error"
}
Run Code Online (Sandbox Code Playgroud)

但现在它坏了

switch error {
    case .authError,
           .decodeError,
           .dataNotExists:
    return "Error"
}
Run Code Online (Sandbox Code Playgroud)

或者

switch error {
    case
            .authError,
            .decodeError,
            .dataNotExists:
    return "Error"
}
Run Code Online (Sandbox Code Playgroud)

设置

有没有办法来解决这个问题?

xcode indentation swift

7
推荐指数
1
解决办法
549
查看次数

如何解析firebase FDataSnapshot对象?

我的代码从firebase检索结构化数据,但我不清楚如何从firebase数据对象中获取每个值.我没有在stackoverflow上找到答案,我在这里为其他初学者发布问答.

我的firebase快照对象值:

{
    "08AD8779-6EEB-4449-BC77-78A661ADA72E" =     {
        field1 = "to device id";
        field2 = "text message";
    };
    "EB841471-618C-4C52-8AA0-C20AD2C947AC" =     {
        field1 = "to device id";
        field2 = "text message";
    };
} 
Run Code Online (Sandbox Code Playgroud)

如何将设备ID(例如"08AD8779-6EEB-4449-BC77-78A661ADA72E")和'field1'和'field2'的值分配给NSString变量?

objective-c ios firebase swift

6
推荐指数
1
解决办法
4137
查看次数