I am a beginner in iPhone developing. I want to integrate Instagram in my app and for that purpose I downloaded the api of Instagram from Github but it gives the error of Apple LLVM compiler 4.1 error Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
Please give any suggestion which how to solve this error.
I found this is the simplest and step by step tutorial for integrate instagram in my iOS app
How To Create an App Like Instagram With a Web Service Backend – Part 1/2
I had the same ARC problem but if you will follow this you will its so easy and helpful
btw for the error you having just look below word, in that page and see you need to made some changes in Xcode for Libs, and you will get it working.
-fno-objc-arc
Thanks to raywenderlich :)
Related
I have an iphone app to upload to the AppStore and I am stuck with Xcode.
It keeps telling me when I want to create a build:
Library not found for -lOAuthConsumer_iPhone
I have checked everywhere on the web and haven't really found what the problem is.
Please bear in mind that I am not an iphone developer. I just know how to submit the apps but this bug here is really annoying as I can't find what it is.
Where can I find that library and how can I install it?
And where to install it??
It seems like the project is asking for the OAuthConsumer Library which can be found at: https://github.com/jdg/oauthconsumer.
You first need to check if your Project actually needs the library and ensure that the Security.framework is included as described in the OAuthConsumer readme
I ve Downloaded Facebook API fro IOS 5....But its showing some errors regrading the memory release...Since apple has introduced autorelease in IOS 5....
I referred this and tried blocking ARC for certain files ,bt it doesn't work for me...
Is there any other methods to stop ARC in IOS 5?
How to overcome this?
Any one plz provide me the link for downloading the Facebook API for IOS 5...
If you use official SDK, you should compile it as a static library, not with your code, and then link your app with that library. You could see how it is done in SDK examples, and also here is some information about building process. Hope it will help.
Here is the link with working Source Code:
http://www.apress.com/9781430235422
Download complete source code from "Source Code/Downloads"
I've been following this guide on integrating Facebook into my app. Everything is going well except for when I add in the Facebook SDK to my project.
I have added in all the code to enable SSO, however when I build and run my project I get loads of errors caused by the Facebook SDK:
I think it may be due to the sdk being out of date but I got it from the git page so I would have thought it should be compatible with iOS 5.
Maybe I need to carry out some extra steps when adding it into my project? All I did was literally drag and drop the src folder in (not the .pch and .xcodeproj files).
Please can someone help me out - I've tried searching for help online but couldn't find anything of use.
The SDK is outdated for the ARC yes. You have to turn off ARC for the SDK, check this answer out: How can I disable ARC for a single file in a project?
go to project navigator->Build Settings
set Objective-C Automatic Reference Counting to NO.
I am trying to integrate OpenFeint 2.12.5 into my app. I already read this tutorial and this one.. I read the Getting Started page in documentation and follow their indications.
I am using xcode 4.2 whit iOS 5.0 and 2.12.5 framework version of OF; tried to clean, rebuild, RECOMPILE whole thing, nothing works. I get several errors, like:
Use of undeclared identifier 'OFLog'
and
error: use of undeclared identifier 'OFDelegate'
and
'OpenFeint/OpenFeint.h' file not found
and a warning on [OpenFeint applicationWillResignActive];
like:
Class method '+applicationWillResignActive' not found (return type defaults to 'id')
Can someone help me or indicate a tutorial or something??
Thanks
openfeint changed significantly a few months ago - looks like those tutorials are referencing the old version. for example, there is no [OpenFeint applicationWillResignActive] anymore. in the past you integrated OF by dragging all the OF source into your project, but now the preferred way is via including the OF framework.
i'd recommend starting the integration over and using only the official OpenFeint documentation as a reference.
I found a solution: openfeint-with-sparrow
In my iPhone app there is a requirement for Twitter API integration.
Here the problem comes when I integrate the Twitter+ OAuth SDK into my app. It gives errors as shown below in the screen shot.
I have added the xml2.dylib library to my app but still it gives some errors.
I got the answer.
I am posting it here because I don't want to put answer to my own question to earn reputation :). I made a silly mistake.
I didn't add the "Header Search Paths" in project settings as "\usr\include\xml2".
Remove the header file(s) which is importing "xmlversion.h", "tree.h", "xmlIO.h" from your application target.
In one of my project, I am using MGTwitterEngine libray. I was facing the same problem while inegrating the library with my application. Then I read following link which helped me to solve the problem
http://aralbalkan.com/3133