我正在开发一个使用服务器会话的PhoneGap应用程序.它需要cookie来处理会话.此外,还应处理来自负载均衡器的cookie.所以没有办法解决.你如何处理PhoneGap应用程序中的Cookie?
我已经完成了一些研究:
我按照PhoneGap 2.0.0中的说明开始使用iOS指南.它似乎没有更新到目前为止,因为创建的项目中的某些文件具有除指南之外的其他名称.除此之外,在建造时会发生警告和错误.
- 警告:检查依赖项:缺少依赖项目标"CordovaLib(来自CordovaLib.xcodeproj)"
- 错误:CpResource/VERSION /<...>/Test.app/VERSION cd /<...>/test-phonegap setenv PATH"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/ usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/ usr/bin:/ bin:/ usr/sbin:/ sbin"builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn - exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip/VERSION /<...>/Build/产品/调试-iphonesimulator/Test.app
错误:/ VERSION:没有这样的文件或目录
你有什么想法让它运作起来吗?谢谢和最好的问候.
- 指南:http://docs.phonegap.com/en/2.0.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS