WWDC24 SALE: Save 50% on all my Swift books and bundles! >>

SOLVED: XcodeCloud failing

Forums > Swift

I have an app that is written in SwiftUI, it runs locally fine on macOS, visionOS, and iOS, but when I try to submit the build via XcodeCloud I am getting the macOS erroring out with the following message

Unable to find a destination matching the provided destination specifier: 
{ generic:1, platform:macOS } Available destinations for the "Greet Keeper" scheme: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } 
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } 
{ platform:visionOS, id:dvtdevice-DVTiOSDevicePlaceholder-xros:placeholder, name:Any visionOS Device }
{ platform:visionOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-xrsimulator:placeholder, name:Any visionOS Simulator Device } 
{ platform:visionOS Simulator, id:FDB24688-1F85-4E65-865E-1B788C388BDD, OS:1.2, name:Apple Vision Pro } 
{ platform:iOS Simulator, id:9F66A8DD-2B2C-4A27-BA26-9FD906E48830, OS:17.5, name:iPad (10th generation) } 
{ platform:iOS Simulator, id:E990F35C-1245-4285-B0B7-48D5232A9145, OS:17.5, name:iPad Air 11-inch (M2) } 
{ platform:iOS Simulator, id:74A72142-F458-425D-83D1-3F3F3A4DEAE8, OS:17.5, name:iPad Air 13-inch (M2) } 
{ platform:iOS Simulator, id:6422BBC3-BC43-45A2-B63E-E9FAF5A07D59, OS:17.5, name:iPad Pro 11-inch (M4) } 
{ platform:iOS Simulator, id:C2B779F3-04F6-4545-B36C-F1823196C583, OS:17.5, name:iPad Pro 13-inch (M4) } 
{ platform:iOS Simulator, id:1782B6F9-CDF0-40C2-BB22-2C78CA739D12, OS:17.5, name:iPad mini (6th generation) } 
{ platform:iOS Simulator, id:4F29371E-294E-4F73-A09D-D719906BC0C4, OS:17.5, name:iPhone 15 } 
{ platform:iOS Simulator, id:09FC6B6F-1139-4013-B09C-00977100E877, OS:17.5, name:iPhone 15 Plus } 
{ platform:iOS Simulator, id:FA72C5B8-9A38-483C-A37C-F136BA80C353, OS:17.5, name:iPhone 15 Pro } 
{ platform:iOS Simulator, id:1E546B5A-44F3-4534-B10B-20B44C9580EE, OS:17.5, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:C8F7E0B5-D4AC-429A-92B6-E514874E32AE, OS:17.5, name:iPhone SE (3rd generation) }

My target lists all the targest, iOS, macOS, and visionOS. On the macOS version I have it listed as Mac (Designed for iPad), because of one package I am using will not target macOS native.

Has anyone else seen this, and if so, how'd you fix it? Thanks!

   

OK.. seems like I need to make this a mac Catalyst app due to one of the packages I am including. As soon as I did this, the errors went away. I really need a native SwiftUI Contact Picker to replace the one in SwiftUIKit. Anyone have a good example to provide this level of this level of easy of use?

   

@Michael notes:

I really need a native SwiftUI Contact Picker to replace the one in SwiftUIKit.
Anyone have a good example to provide this level of this level of easy of use?

Your post is marked "Solved".
The original issues was XcodeCloud.

You may not get many views on your second question. I might suggest you add a new topic?

   

Save 50% in my WWDC sale.

SAVE 50% To celebrate WWDC24, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.