You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

测试FileChooser Library后iOS构建持续失败求助

iOS Build Failure in Codename One After FileChooser Library Usage (and Resolution)

Issue Overview

I encountered a stubborn iOS build failure on the Codename One server after testing the FileChooser Library. Here's the sequence of events:

  • After integrating and testing the FileChooser Library, my iOS build started failing consistently.
  • I added iCloud support to my provisioning profile (as shown in the attached screenshot), but the build still wouldn't succeed.
  • I removed the FileChooser Library from the project, ran refresh CN1 libs, and cleaned the entire project—even though no traces of the library remained, the iOS build continued to fail.

Error Log Details

The build log returned these key errors and warnings:

Code Signing Error: Provisioning profile "zeitkuenstler_vollversion_development" doesn't include the com.apple.developer.icloud-services entitlement.
warning: skipping file '/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build8288618829273869413xxx/dist/AppStart-src/AppStart-Info.plist' (unexpected file type 'text.plist.xml' in Frameworks & Libraries build phase)
warning: skipping file '/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build8288618829273869413xxx/dist/AppStart-src/AppStart-Prefix.pch' (unexpected file type 'sourcecode.c.objc.preprocessed' in Frameworks & Libraries build phase)
Warning: The Link Binary With Libraries build phase contains this target's Info.plist file 'AppStart-src/AppStart-Info.plist'.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
** ARCHIVE FAILED **

Resolution

After further troubleshooting, I fixed the issue by adding an iCloud container to the App-ID in my Apple Developer Account. Initially, I had only enabled the "Compatible with Xcode 5" setting (as shown in the second attached screenshot), which wasn't enough to meet the entitlement requirements. Once the iCloud container was properly configured for the App-ID, the iOS build completed without errors.

内容的提问来源于stack exchange,提问作者Klaus Heywinkel

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 06:58:18