NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

Hacking With Swift: macOS Project 3 - No NSSharingServicePicker Warning, but...

Forums > Books

I completed the Chapter 3 and didn't run into the NSSharingServicePicker error that was discussed, but I am encountering an error in the Xcode log when I click the share button while the app is running:

Project1[64468:5502531] [default] Unable to open asset catalog with URL: (null) error: Error Domain=NSOSStatusErrorDomain Code=-50 "paramErr: error in user parameter list".

It shows up four times when I first click the share button and nothing after that, but it doesn't seem to effect anything AFAICT.

Does anyone know what causes this? Is it something that should be fixed?

Apologies if this is self-evident/an easy fix. I'm completely new to macOS programming and just working my way through the book to get started.

I'm running Xcode 12.5 (from the About Xcode dialog), but I don't know how to find out what version of Swift.

Cheers

1      

That seems to indicate that a path to the assets catalog is missing.

1      

Hacking with Swift is sponsored by Play

SPONSORED Play is the first native iOS design tool created for designers and engineers. You can install Play for iOS and iPad today and sign up to check out the Beta of our macOS app with SwiftUI code export. We're also hiring engineers!

Click to learn more about Play!

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

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.