[Mac] Serial Communication

Hello,

Im trying to make a little application for serial communication with my Mac and my Arduino Uno board. I downloaded the a package named ORSSerialPort and implemented it. But when i want to build it, i get this error:

Ld "/Users/Jan/Library/Developer/Xcode/DerivedData/Serial_Alarm_Clock-epjncddgoqkbmqdmsqvgnyfkuksi/Build/Products/Debug/Serial Alarm Clock.app/Contents/MacOS/Serial Alarm Clock" normal x86_64
    cd "/Users/Jan/Desktop/Serial Alarm Clock"
    setenv MACOSX_DEPLOYMENT_TARGET 10.8
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/Jan/Library/Developer/Xcode/DerivedData/Serial_Alarm_Clock-epjncddgoqkbmqdmsqvgnyfkuksi/Build/Products/Debug -F/Users/Jan/Library/Developer/Xcode/DerivedData/Serial_Alarm_Clock-epjncddgoqkbmqdmsqvgnyfkuksi/Build/Products/Debug -filelist "/Users/Jan/Library/Developer/Xcode/DerivedData/Serial_Alarm_Clock-epjncddgoqkbmqdmsqvgnyfkuksi/Build/Intermediates/Serial Alarm Clock.build/Debug/Serial Alarm Clock.build/Objects-normal/x86_64/Serial Alarm Clock.LinkFileList" -mmacosx-version-min=10.8 -fobjc-arc -fobjc-link-runtime -framework Cocoa -o "/Users/Jan/Library/Developer/Xcode/DerivedData/Serial_Alarm_Clock-epjncddgoqkbmqdmsqvgnyfkuksi/Build/Products/Debug/Serial Alarm Clock.app/Contents/MacOS/Serial Alarm Clock"

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_ORSSerialPort", referenced from:
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried to resolve it on my own but didnt succeed..

Jan

Hi Jan,

I'm the author of ORSSerialPort. It looks like the problem is that ORSSerialPort itself is not in the Compile Sources phase for your target. Make sure it appears there:

You need to make sure both ORSSerialPort.m and ORSSerialPortManager.m are there. You can add them either by dragging them from the project navigator on the left into the Compile Sources box, or you can click the plus button at the bottom of the Compile Sources box and select them that way. Finally, a third way to accomplish this same thing is to select the files, and make sure your target is checked under "Target Membership" in the File Inspector:

If you continue to have trouble, please feel free to ask me questions.

How can I get a copy of ORSSerialPort ?