ios - 代号一 构建错误,无法在IOS应用中构建

标签 ios codenameone

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

最佳答案

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

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

If deploying to iOS, you'll need to make sure that your App ID includes iCloud support. (Currently it should not be associated with any iCloud containers).

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

enter image description here

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

关于ios - 代号一 构建错误,无法在IOS应用中构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52556550/

相关文章:

iphone - 从 map View 中获取 DetailView 中的 xml 数据(Iphone IOS)

iOS : JSON String to NSArray not working as expected

ios - 如何在 xCode Swift 中使用用户默认值永久存储数据作为切换按钮

paypal - Codenameone 浏览器出现 paypal checkout express 问题

codenameone - 如何在 Codename One 中触发属性更改监听器

java - 如何使用 IO Codenameone 发布图片/图像

ios - App Store 上显示的 App 本地化版本信息

iphone - 如何检查我的 UILabel 值是否大于 0?

java - 如果isSelected,如何在ListCellRenderer中为Component使用主题Selected样式

codenameone - 将文本字段设置为必填