ryanmcgrath / cacao

Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!
MIT License
1.79k stars 65 forks source link

tvOS example #104

Open lostb1t opened 10 months ago

lostb1t commented 10 months ago

When running the ios-beta on tvOS simulator it triggers an error. Works on iOS simulator. Wondering if it can work on tvOS or not

ryanmcgrath commented 10 months ago

Hmmm, can you drop the error here?

tvOS is the one platform that's tricky since I can't even remember offhand if Rust has a specific target there. It's all UIKit, but it has subtle differences as to what's available so... yeah....

lostb1t commented 10 months ago

tried different targets but always get dyld[72062]: could not use 'dyld_sim' because it was not built for platform ios-sim

ryanmcgrath commented 10 months ago

Mmmm I'm gonna need more information before we can debug this. Can you give some steps to reproduce - with commands etc?

Are you trying to run a simple example or something more complicated?

lostb1t commented 10 months ago

Im following the instructions in the iOS-beta example from this repo.

ryanmcgrath commented 10 months ago

The responses here do not give a lot to work with, there's several things that could be at work here. Write up a full reproducible test case - commands you're doing/executing, environment/simulator (version) you're targeting, etc.