我有一个代号为 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/
这意味着您需要从 Apple 的配置文件网站生成配置文件
关于ios - 代号一 构建错误,无法在IOS应用中构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52556550/