I am getting error
:0: error: no such file or directory: 'package'
why its happening.
It probably means that you did not install Swift Package Manager. Download it from https://swift.org/download/.
Related
The process function show error
I install updated shell out updated package , but i faced the Cannot find type 'Process' in scope. error
Process and shell are not supported in iOS, those are macOS APIs.
I am trying to create a dart CLI program (I frequently create flutter apps without issue).
I'm following this tutorial and the first step (after installing dart) is
dart create -t console-full cli
however when I do that I get the following error
Error: Error when reading 'create': No such file or directory
I've tried reinstalling dart and that worked just fine, but didn't fix the issue.
I've also tried doing just
dart create example
And I get the exact same error (Error: Error when reading 'create': No such file or directory)
Has anyone else gotten this?
What is the fix for it?
Thanks to comments from #jamesdlin for this answer.
This happens with an older version of dart.
Update to the latest dart to fix it.
brew upgrade dart
I'm trying to build a simple app in Xcode however I'm getting this error saying build failed
:0: error: PCH was compiled with module cache path '/Users/apple/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/5JW54F8EE7JD', but the path is currently '/Users/Neil/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/5JW54F8EE7JD'
:0: error: missing required module 'SwiftShims'
what can I do to solve it?
You can try delete derived data of your app and then clean and build app, you can follow the steps of the following link https://programmingwithswift.com/delete-derived-data-xcode/. Also, you can follow this link Fixing Xcode
I want to integrate card.oi iOS source into my app but i am facing this error on very start. i have just downloaded card.io source From Github (card.io-iOS-source) I am running Xcode 7.2.
Error Message
card.io-iOS-source-master/Classes/CardIOPaymentViewController.m:18:9: fatal error: 'warp.h' file not found
#import "warp.h"
^
1 error generated.
What i am doing wrong?
OR
its framework missing file?
Should i use POD file for adding dependencies?
any one face the same problem?
I installed the dependencies from this tutorial http://docs.rikulo.org/rikulo/latest/UXL/Fundamentals/UXL_Overview.html
dependencies:
rikulo_uxl:
git: git://github.com/rikulo/uxl.git
trying to compile with uc.dart
I get:
Error: line 8 pos 1: library handler failed
import 'package:args/args.dart';
what is wrong? missing path?
This normally happens when you reference a package that isn't found on disk. You should ensure you have the package listed in your pubspec.yaml and that you've run pub get. You can also check that inside your packages folder you can see a folder named args.