代号一生成错误,无法在IOS应用中生成

时间:2018-09-28 13:32:33

标签: ios codenameone

我有一个代号为一个可以在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 个答案:

答案 0 :(得分:1)

您是否已将配置编辑为包括iCloud?

我假设您将文件选择器cn1lib包括在this sentence exists中:

  

如果部署到iOS,则需要确保您的App ID包括iCloud支持。 (当前不应将其与任何iCloud容器关联。)

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

enter image description here

这意味着您需要从Apples供应配置文件网站生成供应配置文件