微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法从 VS 2019 v 16.9.2 分发 iOS 应用程序

如何解决无法从 VS 2019 v 16.9.2 分发 iOS 应用程序

问题: 该应用程序成功构建和存档,但不会分发。下面列出的错误。更新到 16.9.2 后开始出现问题。更新前一切正常。

我已经尝试过的事情:

  • 清理解决方案,删除 Mac 和 PC 上的 bin 和 obj 文件夹,重新启动 PC 和 Mac,重建、构建
  • 清除了在 Mac 和 PC 上重新创建和重新安装的所有配置文件和证书
  • 将手动切换为自动预置构建和重复
  • 确保应用面向最新的 SDK 并设置为发布模式
  • 确保应用 ID 与配置文件匹配

错误

     offersAdapter.addLoadStateListener { updateUiOnNewLoadSate(it) }
    
     private fun updateUiOnNewLoadSate(loadState: CombinedLoadStates) {
    
            Timber.i("STATE $loadState")
          
            // Show empty view if results are less or equal 10
            val displayEmptySearch =
                loadState.source.refresh is LoadState.NotLoading && loadState.append.endOfPaginationReached && offersAdapter.itemCount <= 10 && loadStatesCounter > 1
            if (displayEmptySearch) {
    //here I display the empty view as a part of the
   //infinite scrolling recyclerview by using concatAdapter
                concatAdapter.addAdapter(emptyViewAdapter)
            } else {
                concatAdapter.removeAdapter(emptyViewAdapter)
            }
            loadStatesCounter++ //only apply above block when loadStatesCounter > 1
    }

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。