Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 228

cheapwebmonkey
Aspiring developer
Profile
Posts: 38
Reg: Jan 12, 2012
Earth, sometime...
380
09/09/12 08:05 AM (13 years ago)

Parse Implementaion

I have watched the Parse tutorial for buzztouch 1.5 on youtube (it's awesome) with no luck actually using the directions to modify an BT2 app so that it works with Parse. I actually got xcode down to one error- no ViewController.h file, which when I change the name in the string to the xcode suggestion-UIViewController-forces 15 errors...I'm sure the tut is awesome for apps that run BT 1+ but have not been able to figure it out on my flavor. Any tips/ticks/tuts that you guys have would be greatly appreciated
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
09/09/12 09:48 AM (13 years ago)
Hey Monkey, Which tutorial did you use? David buzztouchmods.com
 
cheapwebmonkey
Aspiring developer
Profile
Posts: 38
Reg: Jan 12, 2012
Earth, sometime...
380
like
09/09/12 11:46 AM (13 years ago)
Hey Davis- I used Isillis81's link here: http://www.youtube.com/watch?v=vzmqCij-V1I
 
cheapwebmonkey
Aspiring developer
Profile
Posts: 38
Reg: Jan 12, 2012
Earth, sometime...
380
like
09/09/12 11:47 AM (13 years ago)
With the code from Parse
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
09/09/12 06:17 PM (13 years ago)
I can't remember the thread this was on but I used this document and managed to get to work last week on BT 2 self hosted server. http://www.talgrace.com/iospushtut.pdf And for android http://www.ridgerockmusic.com/androidtut.pdf Hope this helps!
 
cheapwebmonkey
Aspiring developer
Profile
Posts: 38
Reg: Jan 12, 2012
Earth, sometime...
380
like
09/10/12 12:22 PM (13 years ago)
Thanks! No errors in any of the added code- now getting Apple Mach-O Linker errors-15 of em ndefined symbols for architecture armv7: "_sqlite3_reset", referenced from: _initializeStatement in Parse(PF_FBCacheIndex.o) "_sqlite3_prepare_v2", referenced from: _initializeStatement in Parse(PF_FBCacheIndex.o) "_sqlite3_open_v2", referenced from: ___39-[PF_FBCacheIndex initWithCacheFolder:]_block_invoke_0 in Parse(PF_FBCacheIndex.o) "_sqlite3_bind_text", referenced from: -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _readEntryFromDatabase:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _removeEntryFromDatabaseForKey:] in Parse(PF_FBCacheIndex.o) "_sqlite3_step", referenced from: -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _readEntryFromDatabase:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _fetchCurrentDiskUsage] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _removeEntryFromDatabaseForKey:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _dropTrimmingTable] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _trimDatabase] in Parse(PF_FBCacheIndex.o) ... "_sqlite3_bind_double", referenced from: -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o) "_sqlite3_bind_int", referenced from: -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _trimDatabase] in Parse(PF_FBCacheIndex.o) "_sqlite3_finalize", referenced from: _releaseStatement in Parse(PF_FBCacheIndex.o) "_sqlite3_column_text", referenced from: -[PF_FBCacheIndex _readEntryFromDatabase:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _trimDatabase] in Parse(PF_FBCacheIndex.o) "_sqlite3_exec", referenced from: ___39-[PF_FBCacheIndex initWithCacheFolder:]_block_invoke_0 in Parse(PF_FBCacheIndex.o) "_sqlite3_errmsg", referenced from: _releaseStatement in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o) _initializeStatement in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _readEntryFromDatabase:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _fetchCurrentDiskUsage] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _removeEntryFromDatabaseForKey:] in Parse(PF_FBCacheIndex.o) ... "_sqlite3_column_int", referenced from: -[PF_FBCacheIndex _readEntryFromDatabase:] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _fetchCurrentDiskUsage] in Parse(PF_FBCacheIndex.o) -[PF_FBCacheIndex _trimDatabase] in Parse(PF_FBCacheIndex.o) "_sqlite3_close", referenced from: ___26-[PF_FBCacheIndex dealloc]_block_invoke_0 in Parse(PF_FBCacheIndex.o) "_sqlite3_column_double", referenced from: -[PF_FBCacheIndex _readEntryFromDatabase:] in Parse(PF_FBCacheIndex.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
09/11/12 10:27 AM (13 years ago)
Apple Mach-O Linker is probably failure to link the binary with libraries. There are 8 of them that had to be added to your project. Did you add each one? I think QuartzCore is already in BT projects so no need to add it twice. Lincolns tutorial and notes are excellent and he's got them all listed. here they are just in case: AudioToolbox CFNetwork SystemConfiguration MobileCoreServices CoreGraphics libz.1.1.3dylib Security QuartzCore I would also grab the framework from github and not use the parse.framework he packaged. I had issues using the one he included and grabbed it from Parse. There actually seem to be A LOT of versions of the Parse Framwork on github. I had to do some searching to find the Parse Framework that includes the PFLogIn class so I could add the Parse login to my app. Version 1.0.47 is what I'm using now and that works for PUSH and the Login in a 2.0 Self Hosted app I'm workign on now.... This is where I grabbed it: https://github.com/ParsePlatform/LoginAndSignUpTutorial and how timely to see the Androind tutorial here. thanks itcbuddy, that is just what i was looking for today!!!! :)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.