【问题标题】:Codename one Build error, unable to build in IOS app代号一构建错误,无法在IOS应用中构建
【发布时间】:2018-10-22 23:38:16
【问题描述】:

我有一个代号为 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

【问题讨论】:

    标签: ios codenameone


    【解决方案1】:

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

    我假设你包含了文件选择器 cn1lib 其中this sentence exists:

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

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

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

    【讨论】:

    • 我已经完成了,但仍然无法正常工作,尽管构建在另一个项目上正常工作。还请检查我上面粘贴的错误的更新。
    • 您是否下载并替换了项目中的配置文件?
    • 我通过重置构建提示解决了这个问题。谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-04
    • 1970-01-01
    相关资源
    最近更新 更多