当前位置: 首页 > 知识库问答 >
问题:

代号一 构建错误,无法在 IOS 应用程序中构建

俞子实
2023-03-14

我有一个代号为one的应用,在android和IOS中运行正常。第二个应用程序,在android版本中正常工作,但在发送到服务器后,在Ios版本中总是显示错误。我正在删除构建,刷新libs文件,但每次,它在构建后显示一个错误,只有在应用程序不工作。最近的错误:

  === BUILD TARGET MyApplication OF PROJECT MyApplication WITH CONFIGURATION Release ===

    Check dependencies
    Code Signing Error: Provisioning profile "College App IOS_DEVELOPMENT Profile" doesn't include the com.apple.developer.icloud-services entitlement.
    warning: skipping file '/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build1084661638350343875xxx/dist/MyApplication-src/MyApplication-Prefix.pch' (unexpected file type 'sourcecode.c.objc.preprocessed' in Frameworks & Libraries build phase)
    warning: skipping file '/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build1084661638350343875xxx/dist/MyApplication-src/MyApplication-Info.plist' (unexpected file type 'text.plist.xml' in Frameworks & Libraries build phase)
    Warning: The Link Binary With Libraries build phase contains this target's Info.plist file 'MyApplication-src/MyApplication-Info.plist'.
    Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'

 === BUILD TARGET MyApplication OF PROJECT MyApplication WITH CONFIGURATION Release ===
Check dependencies
Code Signing Error: Provisioning profile "College App IOS_DEVELOPMENT Profile" doesn't include the com.apple.developer.icloud-services entitlement.
warning: skipping file '/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6819108292745406701xxx/dist/MyApplication-src/MyApplication-Prefix.pch' (unexpected file type 'sourcecode.c.objc.preprocessed' in Frameworks & Libraries build phase)
warning: skipping file '/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6819108292745406701xxx/dist/MyApplication-src/MyApplication-Info.plist' (unexpected file type 'text.plist.xml' in Frameworks & Libraries build phase)
Warning: The Link Binary With Libraries build phase contains this target's Info.plist file 'MyApplication-src/MyApplication-Info.plist'.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'

** ARCHIVE FAILED **


The following build commands failed:
    Check dependencies
(1 failure)
Process return code is 65
Failed xcodebuild step

共有1个答案

司徒博容
2023-03-14

您是否编辑了设置以包括iCloud?

我假设你包含了文件选择器cn1lib,其中存在这个句子:

如果部署到iOS,您需要确保您的应用ID包含iCloud支持。(目前它不应该与任何iCloud容器相关联)。

您可以在此处生成iOS配置:https://developer.apple.com/account/ios/profile/

这意味着您需要从Apple provisioning profile网站生成配置文件

 类似资料:
  • 我试图让CN1LIB为设备日历工作,在发送一个iOS版本到codename one后,它停止并给我一个错误: 似乎CN1Lib有问题,我通过代码名One Properties添加了它,并添加 手动到文件末尾的“codenameone_settings.properties”。由于我只发送了iOS版本,因此无论如何都不需要,对吧? 是有人在使用这个库时遇到了同样的问题,还是我做错了什么?

  • 我在尝试构建Android时发现了以下错误。iOS调试和发布都可以。 我也可以在调试器中运行它。 我需要使用GoogleLogin,但我不知道是什么原因导致此错误。 有什么想法吗?

  • 尝试将我的应用程序发送到服务器进行构建时遇到错误(android)。Netbeans输出以下消息(实际用户名已删除): 建筑xml(第338行附近): 代号一设置也不会显示... 当我收到这个错误时,它开始: 与此同时,Netbeans在JavaFX上遇到了一个问题。所以我下载了最新的jdk,并在codename one中添加了一个提示:java.version - 编辑:Codename_set

  • 我正试图在直接在android studio上运行的iOS设备上构建Flitter应用程序,但它提示我以下错误: 正在运行Xcode生成。。。Xcode生成完成 12.7s安装和启动。。。 线程#3,队列='com.apple.root.default-qos',停止原因=信号SIGABRT帧#0:0x000000019096dec4libsystem_kernel.dylib'__pthread

  • 我最近开始使用Android Studio。我正在通过教程学习,我制作了一个下载原始数据的flicker应用程序的一部分。当我每次尝试运行它时,我都会在“消息”选项卡中看到这个错误: 错误:配置项目': app'时发生问题。无法解析配置': app:_debugCompile'的所有依赖项。找不到com.android.support: appcomat-v7:22的任何匹配项。因为com.and

  • 在gradle attemp构建项目后有一个日志(使用Pro buf) :app:GeneratedBugProto失败 失败:生成失败,出现异常。 > 错误:任务“:app:generateDebugProto”的执行失败。 协议:标准输出:。stderr:/Users//app/build/extracted protos/main:警告:目录不存在/用户//app/src/debug/pro