login about faq

I must be missing something and have something set up wrong.

Here is my issue. I'm working in swift and have built the universal library and statically attached it, I added the other linker flags. So I think I got it right.

I then was trying to follow the IMAP examples and tried to use the CkoImap() method start the IMAP connection. Well at first tI could compile because the header files name was wrong. I assumed the file name would be CkoImap.h, but it can find that file in the 9.0.5 down load. I found a CkImap.h instead. I make the assuption that the new version changed the file name and adjusted accordingly.

Well no I have 37 compiling error on the header files that relate to quite a few .h files.

What am I doing wrong?

asked Jun 19 '15 at 02:16

joelirette's gravatar image

joelirette
31


link

answered Jun 19 '15 at 21:32

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

That worked! Thanks. Got to remember "Google is my friend"!!!!

(Jun 19 '15 at 21:37) joelirette

I downloaded by the Chilkat iOS libs (http://www.chilkatsoft.com/downloads_ios.asp) and the Mac OS X libs for Objective-C (http://www.chilkatsoft.com/downloads_objc.asp) and opened each downloaded .zip with 7-Zip. The Cko*.h headers are present and located in the "include" directory as expected.

link

answered Jun 19 '15 at 08:00

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

PS> With Swift, you want the Objective-C headers, not the C++ headers..

(Jun 19 '15 at 08:01) chilkat ♦♦

Thanks. My assumption was wrong. Found the headers in the include directory as soon as I looked at the file structure again...

However I guess I must be using the bridging header wrong. Once I moved the library into the project folder and rebuilt I got 560 errors. The are aimed at the two header files I put in the bridging file.

How do I use the bridging header file?

link

answered Jun 19 '15 at 21:15

joelirette's gravatar image

joelirette
31

link

answered Jun 19 '15 at 21:19

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

I follow that to the letter. I added the folder to the project in xcode too. Several of the errors as "Swift compiler error, cannot find interface declaration for 'NSObject', superclass of ChoEmail"

Not sure what that is telling me.

(Jun 19 '15 at 21:29) joelirette
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×14

Asked: Jun 19 '15 at 02:16

Seen: 811 times

Last updated: Jun 19 '15 at 21:37

powered by OSQA