We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

  • Michael Titus

    deleting previous error reports,
    Forgot to include --recursive when cloning project:

    git clone --recursive git://github.com/jonmumm/Roule...

    Starting over...

  • james

    When i used http://www.powchat.com the same code was used, It was quite buggy but i guess the author fixed the bug.

  • Akhileshwar

    Hi Jan Mumm

    I am implementing chat fun chatroulatte in my app, here in init handshake you have use

    [RKClient clientWithBaseURL:[NSString stringWithFormat:@"http://%@", serverUrl]];

    10 NSTimeInterval time = [[NSDate date] timeIntervalSince1970];

    11 time = time * 1000;

    12 [[RKClient sharedClient] get:[NSString stringWithFormat:@"/socket.io/1?t=%.0f", time] delegate:self];

    How can I create RKRequest kind of object with RKObjectManager (new rest kit 0.2.0),
    please sould you suggest me

  • Akhileshwar

    Hi here you are using RKClint, how can I make same request using RKObjectManagar

  • Roger

    on chatroulettesite.nl seems to be the same

  • Roger

    And seen on a dutch version http://www.chatroulette88.nl, think its all jabbercam, but can be fully edited

  • Roger

    Looks good, thanks, also added it in http://www.peoplechatroulette...., its uses the same code

  • Michael Titus

    Continuing from previous post, I added the -fno-objc-arc compiler flag to all the source files which appear in Build Phases -> Compile Sources

    Now I get 49 compile errors like these:

    In file included from /Users/administrator/Documents/RouletteTok-iOS/RestKit/Code/Support/Parsers/XML/RKXMLParserLibXML.m:20:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/libxml2/libxml/parser.h:15:10: fatal error: 'libxml/xmlversion.h' file not found
    #include <libxml xmlversion.h="">

    /Users/administrator/Documents/RouletteTok-iOS/RestKit/Examples/RKMacOSX/RKMacOSX/main.m:9:9: fatal error: 'Cocoa/Cocoa.h' file not found
    #import <cocoa cocoa.h="">

    etc, etc.

  • Michael Titus

    I'm having a lot of trouble building this project "out of the box" on OS/X Lion using Xcode 4.3.2:

    git clone --recursive git://github.com/jonmumm/Roule...

    Build Clean, then Build succeeds for the (default) RKMacOSX scheme. When I switch to the RouletteTok scheme for my iPad, Build fails:

    1) First, there are 11 of warnings like this:
    Warning: Multiple build commands for output file /Users/administrator/Library/Developer/Xcode/DerivedData/RouletteTok-edoctvyxxogtvuankanuiprwkmtl/Build/Products/Release-iphoneos/RouletteTok.app/users.json

    I navigated to Build Phases (for RouletteTok), Copy Bundle Resources, and deleted the indicated files.

    2) Now the build fails with many errors like these:
    /Users/administrator/Documents/RouletteTok-iOS/RestKit/Code/CoreData/NSManagedObject+ActiveRecord.m:33:10: error: receiver type 'RKManagedObjectStore' for instance message is a forward declaration
    return [[[RKObjectManager sharedManager] objectStore] managedObjectContext];
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/administrator/Documents/RouletteTok-iOS/RestKit/Code/CoreData/NSManagedObject+ActiveRecord.m:42:34: error: 'autorelease' is unavailable: not available in automatic reference counting mode
    NSFetchRequest *fetchRequest = [[[NSFetchRequest alloc] init] autorelease];
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:37:1: note: declaration has been explicitly marked unavailable here
    - (id)autorelease NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
    ^
    /Users/administrator/Documents/RouletteTok-iOS/RestKit/Code/CoreData/NSManagedObject+ActiveRecord.m:42:34: error: ARC forbids explicit message send of 'autorelease'
    NSFetchRequest *fetchRequest = [[[NSFetchRequest alloc] init] autorelease];

    3) I tried selecting the project, and then Edit -> Refactor -> Convert to Objective-C ARC. This failed with 174 errors like:
    /Users/administrator/Documents/RouletteTok-iOS/RouletteTok/RouletteViewController.m:21:13: error: @synthesize of 'weak' property is only allowed in ARC or GC mode
    @synthesize statusField = _statusField;

    4) According to this post:
    http://stackoverflow.com/quest...

    it looks like I have to add the -fno-objc-arc compiler flag to some or all source files?

    Mike

  • Czzsunset

    I remove the -ObjC tag in Other linker flags and it works fine

  • Czzsunset

    hi, when I imported RestKit and SocketRocket,it can build, but after imported the opentok and build then, it has a compile error:
    ld: duplicate symbol _NewBase64Decode in /Users/User/Desktop/Projects/RandonFaceTime/Opentok.framework/Opentok(Base64Util.o) and /Users/User/Library/Developer/Xcode/DerivedData/RandonFaceTime-frxovtvswxokgkexxbxedktouuvp/Build/Products/Debug-iphonesimulator/libRestKit.a(NSData+Base64.o) for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    how to solve this problem?
    all libs are downloaded from github recently, Xcode version is 4.3.2

  • Charley Robinson

    We've had some issues with linking alongside other libraries. There's a thread on the support forums addressing this: http://www.tokbox.com/forums/i...