Target of URI doesn't exist - dart

In the Visual Studio program, after installing and downloading the Dart package, I created the first project, but I got the following error message:
Target of URI doesn't exist: 'package:dart_application_1/dart_application_1.dart'.
Try creating the file referenced by the URI, or Try using a URI for a file that does exist.darturi_does_not_exist

Please remove this line
After Import dart file.
Cool Like This.... Thanks You. Happy to Help you.

Related

Cocoapod path reference error

I have newly added cocoapods into my application, now getting “parser error” while compiling the code in client machine, But the same source code working fine in my system (without any changes).
Please find below error along with screen shot.
../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h
And also i have added this tag ($(inherited) - > non-recursive) into below paths in Target -> Build settings.
Header Search Path,
Framework Search path,
Library Search Path.
i hope this is cocoapods path reference issue, Please any one help me out of this issue.
Note: Have sent file to client as a .zip.
Finally i came up with answer, I have sent source file to client end(other systems) as a .tar.gz format instead of .zip file.
This is solved my issue.Hope it will help for some one in the future.....

FLAnimatedImage_AFNetworking error File not found

I'm trying to use this https://github.com/jagbolanos/FLAnimatedImage_AFNetworking and I'm getting the following error:
AFHTTPRequestOperation.h file not found.
I have tried using AFNetworking and FLAnimatedImage by just dragging the files in and by Cocoapods.
Any solutions? Thanks
AFHTTPRequestOperation.h file not found.
The error occurs because of the path problem. The Xcode is not getting the path of this file.
I was able to solve the same problem with the following code.
Add this to the Library Search Paths in Build Settings and make sure you select recursive, delete other library paths which might be absolute paths.
$(PROJECT_DIR)
May be it will help you.

import <IOKit/IOMessage.h> gives error

I'm using theos on iDevice. Installed it with installtheos3 command. If I got it right, it installed SDK too.
Now I have a project that has
import < IOKit/IOMessage.h >
Also I added IOKit to theos' makefile _FRAMEWORK section. Also I tried to add it to PRIVATE_FRAMEWORKS section.
When I'm trying to 'make' i got this error:
error: IOKit/IOMessage.h: No such file or directory
there is no errors with other frameworks, only with this.
Thank you!
I never use theos, but this kind of error generally come from the Header Search Path option inside Build Settings inside your project settings.
When I ran into similar issue, I had just downloaded files from Github as part of my project and proceed forward.
Problem is, these header files are for C type of library(not really obj C). So I doubt, you would be able to include by changing path or config settings.
For some reasons IOKit framework installed with 'installtheos3' doesn't have Headers directory at all. Copying it solved problem

iostream not found in Xcode

I have problem including ZXing in my App. I get error: "iostream file not found".
I have done everything like in ZXing instruction but i can't get this working.
I'm including this in .mm file.
I use story boards this project is for iOS 6.0
This is error i get:
In file included from
/Users/adam/Developer/project/project/SecondViewController.mm:11: In
file included from zxing/iphone/ZXingWidget/Classes/QRCodeReader.h:10:
In file included from
zxing/iphone/ZXingWidget/Classes/FormatReader.h:22:
zxing/cpp/core/src/zxing/common/Counted.h:23:10: fatal error:
'iostream' file not found
Any idea what can i do to get this working?
EDIT:
When i select Compile Source File As Objcetive-C++ project comiples without issues, BUT as i was told this is not god soultion beacuse this can make some problems later on with other parts of app.
Just rename your implementation file with .mm extension instead of .m solve the issue.
Project -> Build Settings -> Apple LLVM compiler 4.1-Language -> C++ Standard Library
Make sure to set that to "libstdc++"
Try to create a new project, and choose "command line tool" as the template for your project. Choose C++. Paste your code into the new project (it should be a .cpp file). When you run the program, it should be able to include iostream without any problems.
Just a tip: be sure the implement file extension is .mm
placing #import "QRCodeReader.h" in the mm-file instead of it's header-file fixed the issue for me

Adding "System.Data.SQLite" as a reference

when I was building my project done in ASP.NET and C#, it produced the following error:
The type or namespace name 'SQLite' does not exist in the namespace 'System.Data' (are you missing an assembly reference?"
So, when I tried to add it as a reference, I was not able to find "System.Data.SQLite" in my library.
How do I overcome this problem?
You get it (as a dll), then add a reference to it.
download here
for example install to C:\Program Files\SQLite.NET and browse to:
C:\Program Files\SQLite.NET\bin
I found that the best way to do this is to enter the following into the Package Manager Console:
Install-Package System.Data.SqLite
Try to search for System.Data.SQLite.DLL file (using windows explorer search) or if you have not yet installed it just download it from the net.
For more information try to read this.
For those folks that downloaded SQLite but can't get the DLL to show up in VS2010:
I've downloaded the latest SQLite build for my environment, but I still couldn't get the DLL to show up under References> Add Reference> .Net tab.
To fix this, I went into the Add Reference Window and selected the Browse Tab and just browsed to the DLL file in the install directory\bin folder. Now it shows up fine.
You need to download System.Data.SQLite, then you can add it to your project.

Resources