This is a migrated thread and some comments may be shown as answers.

ios build error when adding ios filePicker

2 Answers 90 Views
iOS Devices
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Francis
Top achievements
Rank 1
Francis asked on 22 Aug 2017, 11:11 PM

I've added a telerik plugin https://github.com/Telerik-Verified-Plugins/FilePicker but now when I build the ios I get this error:

Server exception
Project "FFMOBILE.tmp.proj" (default targets): Warning: Cannot include the following item(s) in your application: .abremote. The build system treats items with a leading dot as hidden files or directories and does not process them. If you want to include these items in your application package, rename them and rebuild your app. ios Build Tooling revision 2017.06.21.4r Build Tooling Hostname administrators-mac-4.local Warning: Running hook to add iCloud entitlements Warning: iosFolder: /private/tmp/builds/zS70ChlVAFAL4aZ3h4/app Warning: Added iCloud entitlements to project 'Cordova640' Warning: security: unable to open "'/Users/builder/Library/MobileDevice/Provisioning Profiles/b39084bb-167d-4cc3-9683-8a7635dc168d.mobileprovision'" for reading: No such file or directory Warning: [xcode-build] com.apple.developer.icloud-container-identifiers, [xcode-build] and com.apple.developer.icloud-services entitlements. Error: [xcode-build] Provisioning profile "FFAppProvProfile" doesn't include the com.apple.developer.ubiquity-container-identifiers, [xcode-build] Code signing is required for product type 'Application' in SDK 'iOS 10.1' Error: 2017-08-22 23:06:27.580 xcodebuild[13159:16939686] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:286 Details: Failed to expand identifiers "{( "iCloud.$(CFBundleIdentifier)" )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=} Object: <Xcode3TargetCapabilitiesContext: 0x7f9d87a3c430> Method: -_appIDFeatureStateIncludingEntitlements: Thread: <NSThread: 0x7f9d82c13b00>{number = 1, name = main} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2017-08-22 23:06:27.584 xcodebuild[13159:16939686] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:286 Details: Failed to expand identifiers "{( "iCloud.$(CFBundleIdentifier)" )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=} Object: <Xcode3TargetCapabilitiesContext: 0x7f9d87a3c430> Method: -_appIDFeatureStateIncludingEntitlements: Thread: <NSThread: 0x7f9d82c13b00>{number = 1, name = main} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. ** ARCHIVE FAILED ** The following build commands failed: Check dependencies (1 failure) Error: 'Build failed with error code 65' Error: 'Build failed with error code 65' Done building project "FFMOBILE.tmp.proj" -- FAILED.

I've edited the App id in apple developer to include iCloud and regenerated a provision profile.

2 Answers, 1 is accepted

Sort by
0
Garo
Telerik team
answered on 25 Aug 2017, 11:39 AM
Hello Francis,

This is most likely occurring because you have not attached an iCloud container to the iCloud service in your mobile provision. To resolve this you need to:

1) Go to the Apple Dev Center.
2) Create an iCloud container.
3) Find the services of your App ID.
4) Edit the iCloud service and assign the newly created container to in.
5) Re-generate your provisioning profile and add it to AppBuilder.

Regards,
Garo
Progress Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Francis
Top achievements
Rank 1
answered on 28 Aug 2017, 02:27 AM

Hi Garo,

Thank you for your response. I did just as you advice, however, I still get a build error with slightly different error message.

This is the error message now:

Project "FFMOBILE.tmp.proj" (default targets):
 ios Build Tooling revision 2017.08.15.1r
 Build Tooling Hostname administrators-mac-14.local
 Warning: Running hook to add iCloud entitlements
 Warning: iosFolder: /private/tmp/builds/QA9uO2FD7sL4u942Ul/app
 Warning: 
Added iCloud entitlements to project 'Cordova640'
 Warning: security: unable to open "'/Users/builder/Library/MobileDevice/Provisioning Profiles/e1c6bea9-8327-42e5-be14-a4a4abe8da21.mobileprovision'" 
for reading: No such file or directory
 Warning: [xcode-build] com.apple.developer.icloud-container-identifiers, [xcode-build] and com.apple.developer.icloud-services entitlements.
 Error: [xcode-build] Provisioning profile "BraveGenProfile3WithICloud" 
doesn't include the com.apple.developer.ubiquity-container-identifiers, [xcode-build] Code signing is required for product type 'Application' in SDK 'iOS 10.1'
 
Error: 2017-08-28 02:14:26.408 xcodebuild[8705:119678280] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:286 Details: Failed to expand identifiers "{( "iCloud.$(CFBundleIdentifier)" )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=} Object: <Xcode3TargetCapabilitiesContext: 0x7fc166c40730> Method: -_appIDFeatureStateIncludingEntitlements: Thread: <NSThread: 0x7fc161c13ae0>{number = 1, name = main} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2017-08-28 02:14:26.412 xcodebuild[8705:119678280] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:286 Details: Failed to expand identifiers "{( "iCloud.$(CFBundleIdentifier)" )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=} Object: <Xcode3TargetCapabilitiesContext: 0x7fc166c40730> Method: -_appIDFeatureStateIncludingEntitlements: Thread: <NSThread: 0x7fc161c13ae0>{number = 1, name = main} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. ** ARCHIVE FAILED ** The following build commands failed: Check dependencies (1 failure)
 Error: 'Build failed with error code 65'
 Error: 'Build failed with error code 65'
 Done building project "FFMOBILE.tmp.proj" -- FAILED.

Francis

Tags
iOS Devices
Asked by
Francis
Top achievements
Rank 1
Answers by
Garo
Telerik team
Francis
Top achievements
Rank 1
Share this question
or