'FirebaseCoreDiagnosticsInterop/FIRCoreDiagnosticsData.h' file not found - swift

I have a Swift project using Firebase and Cocoapods. I am not able to find the root cause of this error message that shows up as build error
#import <FirebaseCoreDiagnosticsInterop/FIRCoreDiagnosticsData.h>
Error message:
'FirebaseCoreDiagnosticsInterop/FIRCoreDiagnosticsData.h' file not found
The FIRCoreDiagnosticsData.h file is in Pods->FirebaseCoreDiagnosticsInterop hierarchy, but for some reason Xcode cannot find it. Help please.

Related

How To Fix This Error [Error: Failed to find '#ionic/angular/css/display.css']

When i run the operation ionic serve it fails to compile and gives an error code that says:
ERROR in ./src/global.scss (./node_modules/#angular-devkit/build-
angular/src/angular-cli-files/plugins/raw-css-
loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/
sass-loader/lib/loader.js??ref--14-3!./src/global.scss)
Module build failed (from ./node_modules/postcss-loader/src/index.js):
Error: Failed to find '#ionic/angular/css/display.css'
in [
C:project/src
]
at resolveModule.catch.catch (project\node_modules\postcss-
import\lib\resolve-id.js:35:13)
This is a piece of code i tried to integrate into my own project which opens the camera to take a picture and you can either upload the picture or delete it. I tried searching for "#ionic/angular/css/display.css" on the internet but couldn't find a solution. I started ionic just recently so i don't understand much about it.
If anyone wants to see the code It is here The original i took it from had the code at home.page.ts but i needed it at tab1.page.ts so the error may be born from this. Also global.scss
The method i used to solve the problem is importing "#ionic/angular/css/display.css". I did it manually taking it from a project where it exists and copying it to the Project which gives the error.

Early grey environment setup

I'm trying to get Earlgrey setup on my computer by following the steps for Cocoapod installation as described here
After performing all the steps I keep on getting compilation error during build
EarlGrey.swift:17:27: Use of undeclared type 'EarlGreyImpl'
There are 13 such compilation errors all related to unresolved identifier.
I re-tried the steps multiple times with same results. My folder structure matches with what is shown in the instructions.
Any suggestions where should i look further to get this resolved.
For reference i'm using this swift project as base for writing test cases.
So the issue was related to BridgingHeader.h file setting in
test target -> build Setting -> Swift compiler -Code generation -> Objective-C bridging Header
I copied the file from demo project, but did not specify it in the above setting. Once specified there, the compilation errors was gone.
Try importing EarlGrey using #import <EarlGrey/EarlGrey.h> instead of #import EarlGrey;

ShareKit 2.0 PBXCp Error iPhone?

I'm following all steps but when i build the project following error occurs
(null): error: /Users/faxxx/Desktop/LatestVersion (shareKit-2)/ShareKit-master/Classes/ShareKit/Sharers/Services/Buffer/../../../../../Submodules/buffer-ios-sdk/BufferSDK/BufferSDKResources.bundle: No such file or directory
and i can't sort out the problem i also googled it but did not understand the error
Can anyone please guide me how to solve this issue
and i am following this tutorial :
https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit
Please tell me how can i add sharekit to my application

mpglib_interface.c 'interface.h' file not found

I an trying to compile the WunderRadio app source code available here http://dev.wunderground.com/support/wunderradio/wunderradio.1.9lgpl.zip. After making all the modifications to the project to compile on iOS5 i get the following error:
Lexical or Preprocessor Issue 'interface.h' file not found.
Of course i tried getting the interface.h from the lame library that i previously downloaded, and added it to the project with no luck. Apparently its not the right file.
What am i missing ?
I found this file at:
http://code.google.com/p/live-converter/source/browse/trunk/include/interface.h?r=13

llvm-gcc-4.2 failed with xcode error in iphone

This may be a simple problem.
But im totally stuck with this error.
I integrated three 20 into my project.
I integrated the Sharekit also into the project and three20.
But whenever i compile the following error is showing.i can't figure this error.
Can anyone please help me this.Thanks in advace.
Error:
ld: duplicate symbol _OBJC_METACLASS_$_SHKDelicious in /Users/icodingmacmini3/Library/Developer/Xcode/DerivedData/Awesome-gqlhzchmnubhcbetpcfvbiccpdzu/Build/Products/Debug-iphoneos/libThree20UI.a(SHKDelicious.o) and /Users/icodingmacmini3/Library/Developer/Xcode/DerivedData/Awesome-gqlhzchmnubhcbetpcfvbiccpdzu/Build/Intermediates/Awesome.build/Debug-iphoneos/Awesome.build/Objects-normal/armv7/SHKDelicious.o for architecture armv7
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
When ever you get a duplicate symbol check for imports. Some kind of cycle would have happened. Try importing in .m file rather than .h file it may solve the problem.
Also make sure you have not added the file twice.
This is a linkage error. The meaning of this error is that , you have used the symbol SHKDelicious twice. Check the links below
duplicate symbol _OBJC_METACLASS_$_ClassName
http://www.dizzey.com/development/ios/duplicate-symbols-when-linking-objectivec-static-libraries/
http://www.mac-forums.com/forums/os-x-development-darwin/171821-duplicate-symbol-_objc_metaclass_.html