Skip to content

imports missing #19

@mattneub

Description

@mattneub

This is not a huge deal, but please note that _ sbhc.py_ is omitting to start the resulting file with necessary import lines. For example, I did

sdef /Applications/iTunes.app > iTunes.sdef
sdp -fh --basename iTunes iTunes.sdef
sbhc.py iTunes.h
sbsc.py iTunes.sdef

and imported those into my project, and the project didn't compile. I was able to fix that by adding

import Foundation
import ScriptingBridge

at the top of iTunes.swift. But it seems to me that the Python script should have done that for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions