Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Previews in Xcode 14 failed to run with SettingsError: noExecutablePath(IDESwiftPackageStaticLibraryProductBuildable)
Hopefully this may help some of you. Im using Xcode 14.0 I had this same issue when building previews. I had added 2 swift packages via the built in spm in Xcode and was getting the error. Removing them from the target -> Frameworks & Libraries solved the issue for me and the preview showed as expected and the product also built successfully.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’22
Reply to Type 'CameraPreview' does not conform to protocol 'UIViewRepresentable'
Hi Robby, I can't see all your code, but from the error message I would check you satisfy the protocol, which means its expecting some methods and you may have some missing. Right click on UIViewRepresentable -> Jump to definition This should give you an idea of what is expected.
Replies
Boosts
Views
Activity
Jan ’22
Reply to SwiftUI Previews in Xcode 14 failed to run with SettingsError: noExecutablePath(IDESwiftPackageStaticLibraryProductBuildable)
Hopefully this may help some of you. Im using Xcode 14.0 I had this same issue when building previews. I had added 2 swift packages via the built in spm in Xcode and was getting the error. Removing them from the target -> Frameworks & Libraries solved the issue for me and the preview showed as expected and the product also built successfully.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Using genmoji in Swift
Im confused, is it only available in UIKit ?
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24