Update: Give up now. Skype
never
responds to the
[SkypeAPI connect]
method!
Original post follows:
(Mac OS X only, works on Lion, Xcode 4.1, Skype 5.3)
Here are the steps to starting work on interfacing a Cocoa app with Skype:
Don’t try and get the framework from the documentation (what the hell?! Invalid link? PowerPC issues? Come on Skype!)
Copy
Skype.framework
into your app’s folder from within Skype (find the Skype app, control-click and Show Package Contents)Drag your copy of
Skype.framework
into theFrameworks
folder of your Xcode project.In Project -> Target -> Build Phases:
- Ensure Link Binary with Libraries contains
Skype.framework
- Add a new build phase (Editor -> Add Build Phase -> New Copy Files
Build Phase), set the destination to Frameworks, the Subpath blank,
and drag
Skype.framework
here from yourFrameworks
group.
- Ensure Link Binary with Libraries contains
In the relevant source file add
1
|
|
- Code your app. You might want to start with the following:
1 2 3 |
|
Hopefully that’ll get you started a bit faster than I did! API documentation can be found here: https://developer.skype.com/resources/public_api_ref.zip