How to integrate facebook-ios-sdk into Targets senTesting
I created a project let it be DemoProject and also integrated the facebook-ios-sdk run the project every thing is working fine. now i am trying to write test case for my DemoProject
where i need to integrate Facebook-ios-sdk to DemoProjectTest. how to configure facebook-ios-sdk to DemoProjectTest Target. so i can able to create object for the Facebook.
I am unable to include #import "facebook-ios-sdk/Facebook.h" inside my class for the DemoProjectTest Target for class FacebookTest.h. If i do import the Facebook.h then i can able to create the object for the Facebook.
Is it possible to integrate Facebook-ios-sdk into DemoProjectTest Target?
#All any one advice me for scenario.
Related
i am working on different projects. where all projects need facebook and google SDK integration.
The are two way's which i can adopt:
integrate fb and google sdk's in all projects
OR
create a common project (cocoa framework) and just add that framework in all projects. common logic
I want to use 2nd approach and now i have a framework project with pod file. How can i add this framework into my App because there is .xcworkspace file which does not add like framework.
I'm trying to use Google Maps SDK for iOS in Swift. I have been following these steps from google developers website. The problem is when I tried to import GoogleMaps in AppDelegate.swift, it's showing an error like..No such module 'GoogleMaps'.
I have added all the frameworks and made necessary changes to Linking and Build settings. Is there anything I'm missing out?
The steps on that website are still for Objective-C apps. To write an app in Swift with the Google Maps API, you need to add a bridging header, and then you can import the module in that header using #import <GoogleMaps/GoogleMaps.h>.
In application:didFinishLaunchingWithOptions: instead of using [GMSServices provideAPIKey:#"API_KEY"]; then you use GMSServices.provideAPIKey("API_KEY").
Delete your all of your pod files including workspace except podinstall and lock and install pod again
I have a project developed in Xcode and I would like to import to Unity or add it as a feature to existing Unity project. Is it possible at all?
You can not import Xcode project to Unity but you can create plugin in unity and you can access your Xcode code from unity.
For example in you iPhone app you have integrated Facebook and you want to access that Facebook integration in to your app then you should created plugin for that.
Here is the reference.
I have created a iOS framework and want to use that framework in one of my application.
My question is about the UnitTesting of the framework.
I have read about the inbuilt xcode unittest framework, but not sure how to get started on testing the framework.
Or do I have to import the framework in one of my apps and then perform the testing of the framework via
Regards,
Nirav
Add a new target to your project, select Others -> Cocoa Touch Unit Testing Bundle, give it a name.
Add to the new target the Compile Sources and the Link Binary. And in your test class write the tests you need.
I have my drupal xml-rpc service setup, and now I want to retrieve content for my iphone app.
I'm attempting to use https://github.com/eczarny/xmlrpc, however I dont know where to begin. How do I add the project to my own project for use? I've added a static library before; is it the same process? Just drag the proj file to my project and add the xml-rpc library?
Any tips would be appreciated.
Try dragging the project file for xmlrpc framework into the code list in XCode for starters. Next make the framework target in the xmlrpc framework a build dependency. Finally add the xmlrpc.framework to your linked frameworks. Exactly how you do this depends on whether you are using XCode 3 or 4