Skip to content

imports missing #19

Open
Open

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.

Activity

  1. adam-rocska commented on Feb 20, 2021

    @adam-rocska
    Contributor

    @mattneub

    This issue is solved by #22

    The problem was a good hint to the root cause of a bigger issue: poor cmake couldn't find the proper header files but didn't bother to tell us about it :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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