Comments (2)
Hey,
Yeah, it can be a bit fiddly to get an Xcode project set up.
I'm not an expert on Xcode (every time I try to set something up, I seem
to have to run around in circles to fix slightly different issues each
time), but I worked my way through some instructions I found online. I
used this one to guide me:
http://groups.google.com/group/mobile-couchbase/msg/b3bce2a9082d61c9?hl=en
and did answer to one person's questions here:
http://groups.google.com/group/mobile-couchbase/msg/1e8ddb1f5b67aa80?hl=en
To be honest, the way to get couch working on iOS is changing all the
time. Around a month ago, the templates were introduced and coming up
will be a static library. I've tried to avoid getting into the set up
instructions because anything I write up will just get out of date ;-P
What I recommend is that you try to get it working in two steps:
-
First, try following these instructions:
http://www.youtube.com/watch?v=GWXGlXRyJdI since it is a nice and short
video that will get you all the way to a web view rendering (just with
the couch response). -
Once you have that working, you should be able to drag the .version
and .json files into your resources folder, include the CouchMover.h and
.m files, include the interesting bits from the app delegate sample for
loading into the documents, and hopefully the webview will just work.
If this doesn't work for you, just let me know!
Cheers,
Kevin
On 7/9/11 1:06 AM, maxogden wrote:
howdy,
I've run into a few problems getting the ios portion of this repo to run using XCode4 (please note that I am not Objective-C literate :) )
When attempting to build + run onto my iOS device Xcode complained that I was missing
~Library/Developer/Xcode/Templates/Couchbase/Couchbase Base.xctemplate
so I installed the template fromhttps://github.com/mschoch/iOS-Couchbase-Xcode-templates
Needed to add the CoreMedia framework
XCode complained about
webView
not being defined here so I googled and found a suggestion that I should change it toself.webView
. That seemed to fix the issuewhen launching in the IOS simulator it never renders a webview (just the menu bar with a black screen). Here are the last few lines from the console:
[INFO] CouchDB is ready at serverURL http://0.0.0.0:57355/
[info] [<0.94.0>] 127.0.0.1 - - 'GET' /mycouchapp_db 200
[info] [<0.94.0>] 127.0.0.1 - - 'GET' /mycouchapp_db/_design/mycouchapp_loaded_version 200
[info] [<0.94.0>] 127.0.0.1 - - 'GET' /mycouchapp_db 200
[info] [<0.94.0>] 127.0.0.1 - - 'GET' /mycouchapp_db/_design/mydata_loaded_version 200
[info] [<0.94.0>] 127.0.0.1 - - 'GET' /mycouchapp_db 200
[info] [<0.94.0>] 127.0.0.1 - - 'GET' /mycouchapp_db/_design/mydata_views_loaded_version 200Would it be possible to document the steps needed to add all of the dependencies to a fresh XCode4 project?
Thanks!
from phonegap-couchbase-xplatform.
Ahh nica, didn't know about the screencast! I'll give it a shot
Thanks,
Max
from phonegap-couchbase-xplatform.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phonegap-couchbase-xplatform.