rive-app / rive-ios

iOS runtime for Rive
MIT License
496 stars 57 forks source link

Cannot preview my views after installing package. #232

Open pavittarsingh315 opened 1 year ago

pavittarsingh315 commented 1 year ago

Description

After installing the package into my SwiftUI project, I am unable to preview my views within Xcode. I get the following error:

HumanReadableSwiftError

SettingsError: noExecutablePath(<IDESwiftPackageStaticLibraryProductBuildable:ObjectIdentifier(0x000060000900fde0):'RiveRuntime'>)

When I remove the package, all is good. I have installed other packages and previews work just fine but this package causes this issue for some reason.

Provide a Repro

To reproduce this, simple install the package.

Specs

Xcode: Version 14.0.1

Berkay-Disli commented 1 year ago

Same here.

My Xcode version is 14.0.1

creativejace commented 1 year ago

Same issue here. The founder just replied to my tweet and suggested that we install it as an .xcframework instead of via Swift Package Manager. Apparently there is an issue with all binary frameworks with Swift Package Manager right now. Anyone know how to do this?

zplata commented 1 year ago

See the comment here: https://github.com/rive-app/rive-ios/issues/225#issuecomment-1278989979

mjtalbot commented 1 year ago

Is this issue still happening?

it looks like this maybe resolved with a later version of xcode