测试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
相关产品推荐
相关产品推荐

