google-toolbox-for-mac

ld: library not found for -lGoogleToolboxForMac

℡╲_俬逩灬. 提交于 2019-12-23 07:47:21
问题 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 path target 'ProductName' do # Uncomment the next line if you're using Swift or would like to use dynamic frameworks # use_frameworks! # Pods for mCura pod 'Firebase/Core' pod 'Firebase/Messaging' end Everything is fine with iPad simulator. its running

Cannot find <GoogleToolboxForMac/GTMNSData+zlib.h> error when building an ionic project for ios

时光总嘲笑我的痴心妄想 提交于 2019-12-23 03:24:06
问题 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 23: platforms/ios/Pods/FirebaseCore/Firebase/Core/FIRNetwork.m It seems the angle brackets don't allow the search for the file to start at the Pods level, whereas quotes allow a relative path to be used. I found the solution was to do the following, so I thought I'd post it here in case anyone else has

Error compiling for unit test using google toolbox for mac

陌路散爱 提交于 2019-12-12 01:35:29
问题 Hi my application runs fine but when I try to run the unit tests I am getting this error... 2010-10-19 00:27:49.919 AssignmentUnitTest[27988:903] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter' Irony is I have searched the whole project & I dont have any similar line of code that uses **[NSURL initFileURLWithPath:]** I have pretty much wasted half of my day on it without any success. I am using

OCMock: Why do I get an unrecognized selector exception when attempting to call a UIWebView mock?

十年热恋 提交于 2019-12-11 07:32:49
问题 Edit: This was all caused by a typo in my Other Link Flags setting. See my answer below for more information. I'm attempting to mock a UIWebView so that I can verify that methods on it are called during a test of an iOS view controller. I'm using an OCMock static library built from SVN revision 70 (the most recent as of the time of this question), and Google Toolbox for Mac's (GTM) unit testing framework, revision 410 from SVN. I'm getting the following error when the view controller attempts

Cannot find <GoogleToolboxForMac/GTMNSData+zlib.h> error when building an ionic project for ios

99封情书 提交于 2019-12-06 22:03:30
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 23: platforms/ios/Pods/FirebaseCore/Firebase/Core/FIRNetwork.m It seems the angle brackets don't allow the search for the file to start at the Pods level, whereas quotes allow a relative path to be used. I found the solution was to do the following, so I thought I'd post it here in case anyone else has the same problem: Either: Change line 23 from: #import <GoogleToolboxForMac/GTMNSData+zlib.h> to: #import

How to unit test asynchronous APIs?

我的未来我决定 提交于 2019-11-27 05:57:47
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 actually want to test return results asynchronously via calling a method on a delegate - for example a call to a file download and update system will return immediately and then run a -fileDownloadDidComplete: method when the file finishes downloading. How would I test this as a unit test? It seems like I'd want to the testDownload function, or at

Framework not found GoogleToolboxForMac

浪尽此生 提交于 2019-11-26 14:26:17
After I update my Firebase via "pod update", I got error like this : ld: warning: directory not found for option '-F/Users/bennysantoso/Library/Developer/Xcode/DerivedData/FCM-atfcxuircoryufazlomgwfgmvaqm/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac' ld: framework not found GoogleToolboxForMac clang: error: linker command failed with exit code 1 (use -v to see invocation) Here my Podfile : # Uncomment this line to define a global platform for your project # platform :ios, '9.0' pod 'Firebase/Core' pod 'Firebase/Messaging' target 'BB' do # Comment this line if you're not using Swift

How to unit test asynchronous APIs?

百般思念 提交于 2019-11-26 11:48:10
问题 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 actually want to test return results asynchronously via calling a method on a delegate - for example a call to a file download and update system will return immediately and then run a -fileDownloadDidComplete: method when the file finishes downloading.

Framework not found GoogleToolboxForMac

心不动则不痛 提交于 2019-11-26 03:54:23
问题 After I update my Firebase via \"pod update\", I got error like this : ld: warning: directory not found for option \'-F/Users/bennysantoso/Library/Developer/Xcode/DerivedData/FCM-atfcxuircoryufazlomgwfgmvaqm/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac\' ld: framework not found GoogleToolboxForMac clang: error: linker command failed with exit code 1 (use -v to see invocation) Here my Podfile : # Uncomment this line to define a global platform for your project # platform :ios, \'9