I have followed this tutorial http://attila.tumblr.com/post/21180235691/ios-tutorial-creating-a-chat-room-using-parse-com to create a basic functioning chatroom, however once I had finished and tried to run it I got the error
"Query has outstanding network connections"
I was adding it to an existing project where I call another Parse query so I assumed it was that, so I tried creating a completely new project, that produced the same error.
So I downloaded the example project from the tutorial and ran it, it worked fine. After a lot of playing around I tried using the Parse.framework from the tutorial in my project and it worked! That would be fine but I use parts of the SDK that weren't available in the older SDK, so now I'm completely stuck.
I've uploaded the new project here https://github.com/cstokes/ChatTest it includes the new framework (1.1.29) with the error, the version it works it is 0.4.40. I asked over at Parse.com and got simply "Update your projects SDK to a recent version", obviously I tried it with the newest and get the error.
Thanks in advance for any help or advice.
You're trying to do both a find and a count at the same time with one PFQuery. PFQuery can't do multiple searches at one time. You should make a separate PFQuery for the count.
Related
I have a Xcode project I got from another developer. Initially when I opened it it has a bunch of errors (most of which were un-updated frameworks). I got it to work after a while and I fixed it. I want pass it back to the manager since I'm leaving uni in a few months. I copied it over to my friends Mac to see what would happen if I just took the project and all it's folders and made it a zipfile. It didn't work for some reason. It gave me an error:
error: using bridging headers with framework targets is unsupported
But why did that come up? I mean it's the same code on the slightly different versions of Xcode (13.1 versos 14.1) but I doubt there was a massive change between the two that would cause this. I want to be able to pass these app later in the future without having to care about this stuff. I made a GitHub (link below) would cloning that work? Also the laptop I chose was just a fresh reset. Would it be due to not having coco-pods installed?
I feel like I could go through and fix it all on that laptop and document that but then I'm afraid that every time I put it on a new one it would come up with random errors every single time making my documentation moot.
https://github.com/AbdullahMSaid/SonicExperiment-Works
With big help this was Fixed.
Things that fixed it.
Having the correct version of Xcode
Turning everything from absolute path to relative
Lots of other code fixes. But those are my project specific.
You don't need bridging headers in framework. Use should have something like "YourFramework.h" where you can import your .h files.
I followed all kinds of tutorials and tried different things, but no help. I successfully installed cocoaPods via Terminal and initialised a pod file. After figuring out how to solve "import Firebase error", now I have difficulties with simple operations like trying to write data into database. Xcode error when trying to write data
My pod file
The new Firebase SDK 3.2.0 has several breaking changes compared to the old version 2.x, therefore the old Quick Start guide is completely obsolete. All classes have been renamed, and the integration process is different. So use new pod file. It will help you.
You can also do it by adding them directly which is also mentioned on there original web site.
You must follow the new guide on firebase.google.com instead.
Alright, guys. I'm going freakin' crazy with this one. It is utterly ridiculous that the FacebookSDK causes so many issues. I know there are a couple questions on here regarding this issue, but they all seem to be outdated.
I pulled my Xcode project onto a new computer, and can't build it because I get the "FacebookSDK/FacebookSDK.h" file not found error. There are answers such as This one, but I've followed the steps in every single answer and haven't found one that works. I've just made a fresh pull from my working project from the original machine to the new one. I'll take some screenshots showing my current settings for various fields mentioned in other answers, and maybe I Just have something wonky that is interfering.
Here are the contents of the SDK that I just downloaded
Here are the contents of my Xcode project folder. There isn't anything else Facebook in here.
Here are the frameworks inside my Frameworks group and inside the Link Binary with Libraries section of Build Phases
There are a couple frameworks that are red, and that's OK for now. They were not in the repo, and are instead referenced from Documents or Downloads, and they played nice when I moved the files over and linked them. I just reset my repo to when I pulled it to make sure I didn't have anything from weird stuff I tried that prevents a proper solution from working.
Framework search paths. You can also see that my library search paths is empty. I labeled the stuff I wanted to hide, as it was identifying information
For some reason, my Documents for the new machine is already under the framework search paths. I did not add this myself.
Any ideas on what I can try? This is endlessly frustrating. I've wasted an entire day of development on trying to get Facebooks SDK re-integrated on a new machine.
I was also face the same problem every time I got the checkout for new version from svn.What I did was just removed the Facebook SDK and add again from the backup.It taken me out that time.Please try this might be it works for you.
I have developed an application it worked fine, I have released a version to client , he came back with some changes in UI, now when I opened that project after 15 days to complete the changes I am getting Reference to 'X' is ambiguous error, that X is mainly KCGImage related properties like the one mentioned in Title. I am using Xcode and used cocoa pods for adding two frameworks. I have tried the other questions on this category but they are related to xcode4 and Xcode5. I have different check points of code which worked fine previously, but now I tried with 3 old versions of code, all are giving the same problem, if you can provide some insights on this, would be helpful thank you.
I am trying to follow this tutorial for integrating RestKit into my project but I am running into some problems. When I add a target dependencies the dialog that popup does not have the bulls eye. I still select the RestKit one (this has a little building next to that's white. Then when I click on Link with Libraries, and I dont get the choices to add the libraries for restkit. Ive tried this in my current project, a blank project, and nothing seems to work. Any ideas what I am doing wrong?
That tutorial is a little out of date. They updated the way Restkit builds (simplified it). There's a thread about it on the Restkit mailing list.
That said, here's what it would look like with the latest Xcode:
So for iOS you'd select the first on the list, with the little house-looking graphic. For Mac you'd choose the framework.
I found the tutorial at https://github.com/RestKit/RestKit/wiki/Installing-RestKit-in-Xcode-4.x to work with Xcode4.2. Make sure you follow all the directions. But, here's the catch. I couldn't get it to work with a project that I convert from xcode3. Probably could have but gave up. I made a new project in 4, dropped all my sources in it, then followed the directions in the above tutorial.
You can just drag the libRestKit.a file from the Products Group of the RestKit project into the Link with Libraries Build Phase of the build target that needs it.