Questions tagged [google-toolbox-for-mac]

Google Toolbox for Mac is a collection of utilities from different Google projects that may be of use to developers working on other Mac or iOS projects.

Google Toolbox for Mac is a collection of utilities from different Google projects that may be of use to developers working on other Mac or iOS projects.

https://code.google.com/p/google-toolbox-for-mac/

29 questions
90
votes
18 answers

Framework not found GoogleToolboxForMac

After I update my Firebase via "pod update", I got error like this : ld: warning: directory not found for option…
bennysantoso
  • 1,213
  • 2
  • 12
  • 19
64
votes
12 answers

How to unit test asynchronous APIs?

I have installed Google Toolbox for Mac into Xcode and followed the instructions to set up unit testing found here. It all works great, and I can test my synchronous methods on all my objects absolutely fine. However, most of the complex APIs I…
Ben Clayton
  • 80,996
  • 26
  • 120
  • 129
12
votes
5 answers

ld: library not found for -lGoogleToolboxForMac

I am implementing firebase setup via pods. My Pods file looks like following one. # Uncomment the next line to define a global platform for your project platform :ios, '8.0' # $(PROJECT_DIR)/build/Debug-iphoneos/GoogleToolboxForMac lib search…
12
votes
3 answers

Is it possible to exclude dependency in Cocoapods?

Firebase/Messaging have dependencies on: Using Firebase Using FirebaseAnalytics Using FirebaseCore Using FirebaseInstanceID Using FirebaseMessaging Using GoogleInterchangeUtilities Using GoogleSymbolUtilities Using GoogleToolboxForMac I would like…
6
votes
1 answer

Conflict between GoogleToolboxForMac & GoogleOpenSource.framework as both contains GTMLogger file

I am getting error : ld: 23 duplicate symbols for architecture arm64 &duplicate symbols are found in : duplicate symbol _OBJC_METACLASS_$_GTMLogAllowedLevelFilter…
5
votes
2 answers

Xcode error: library not found for -lGoogleToolboxForMac

I am trying to install admobs in my iPhone App (written in objective-c). I have implemented this many times using swift projects, but currently I keep getting the following build error: ld: warning: directory not found for option…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
5
votes
1 answer

iPhone: How can I use gcov?

I'm trying to use gcov on iPhone Project and followed Apple's instruction described here, but it doesn't work. When I build and go configured project, .gcda file is created for each object file. But no executed lines are recorded to .gcda files.…
taichino
  • 1,135
  • 1
  • 15
  • 30
3
votes
0 answers

Cannot find error when building an ionic project for ios

I came across this error when trying to build an ionic project for ios. It happened in the FirebaseCore build part of the process. I found the problem was a bug in the following file on line…
AlphaBeta
  • 1,023
  • 1
  • 9
  • 18
3
votes
2 answers

google-toolbox-for-mac iphone unit test: 1073 Abort trap mkdir "$CFFIXED_USER_HOME" Command /bin/sh failed with exit code 134

I'm trying to setup the iPhone Unit Testing framework from google-toolbox-for-mac. I've got a simple unit test created and try and build it and receive the following error. A coworker of mine can use the same project and build successfully on his…
lukejduncan
  • 121
  • 4
2
votes
1 answer

Using the Google Toolbox for Mac OAuth for Google App Engine

I am trying to integrate an iOS application with Google App Engine using OAuth. I found that GTM has an OAuth Controller -- http://code.google.com/p/gtm-oauth/ Can it be used to connect to Google App Engine? If so, what do I put as the "scope"…
2
votes
0 answers

integrating google's GTM iphone testing framework with XCode 4

We have decided that GTM seems to be better than the integrated XCode 4 octest framework, but is there anyway to link a GTM target to the run pulldown button so we can press 'Test' (shortcut CMD U) and run our GTM stuff instead of the other one?
Mike S
  • 4,092
  • 5
  • 35
  • 68
1
vote
1 answer

Google Toolbox For Mac : testing [NSURLConnection sendSynchronousRequest:...]

I'm wondering how to test a synchronous request to assert the behavior of an API client depending on the server response. As it's a good practice to be independent of the server (so the test run fast and don't rely on the internet connection), I'd…
Julien
  • 9,312
  • 10
  • 63
  • 86
1
vote
1 answer

Implementing deprecated class GTMURLBuilder in SWIFT, GoogleToolboxForMac

Tried to install Firebase services into iOS project. It seems like all goes normally. But there is an issue: GTMURLBuilder.m:26:17: Implementing deprecated class It is a class ob Objective-C library made by Google. What can I do to fix this?
J A S K I E R
  • 1,976
  • 3
  • 24
  • 42
1
vote
1 answer

Unrecognized selector on calling Google Toolbox for Mac NSString category method in iOS

I'm building a static library for use in an iOS project, and I want to decode XML entities returned from a web service. I've grabbed Google Toolbox for Mac and added the following files to my…
Simon Whitaker
  • 20,506
  • 4
  • 62
  • 79
1
vote
2 answers

Checking IBOutlet connection with OCMock

I want to verify with unit tests that all the IBoutlets in my controller class are correctly hooked up in the NIB file. I'd like to do this with OCMock - even though I know I could simply assert the controllers variables are not nil after loading…
Daniel Schneller
  • 13,728
  • 5
  • 43
  • 72
1
2