boozook / playdate

Playdate Build Tools and API
https://mastodon.gamedev.place/@pd
MIT License
133 stars 8 forks source link

`cargo playdate new` generates invalid bundle ID #396

Closed paulyoung closed 1 month ago

paulyoung commented 2 months ago

I ran cargo playdate new crates/demo and then cargo playdate run -p demo --device -vvv.

I got the following error. It didn't show up the first time I ran it without -vvv.

       Error Pdc exited with error, code: 1
    stdout: ""
    stderr: "error: Metadata bundle ID not in reverse DNS format (ex: com.panic.b360)\n"
       Error Pdc stderr:
error: Metadata bundle ID not in reverse DNS format (ex: com.panic.b360)

Cargo.toml contains:

[package.metadata.playdate]
bundle-id = "com.demo"

I changed this to bundle-id = "com.demo.demo" and no longer got the error.