Comments (6)
Do you mean you are using the Misc/swiftshell-init script? I just tested it on my computer and it was working fine.
Can you run this command from the same directory to see what version of Swift you are using?
swift -version
from swiftshell.
@scifiman Iām closing this for lack of information. Feel free to reopen it if you still have this problem.
from swiftshell.
@kareman I am reopening this, but it's probably just a tidbit of info I'm missing that will fix this.
I somehow got this working in 2019 and have been using it since, but I'm compiling a new version of my app and it is complaining that I need to recompile swiftshell to the current Swift version.
So, I grabbed the swiftshell-init file again and got the same cyclic dependency error.
Here's my command: ./swiftshell-init swiftshell
It seems to not give the error if I specify a different folder name, i.e. swiftshell2.
However, when I do that and import the framework into my app in Xcode, it can't find swiftshell when I use the import command.
What am I doing wrong?
from swiftshell.
Well, I think I figured out what I did last time and got it working this time.
I used the command and successfully built the framework as swiftshell2. So apparently, you have to name it something different than swiftshell.
Then, instead of clicking "+" and adding the framework to the project, I had to "Add files" to my project in Xcode so they were copied to a path inside the application and set to use Absolute Path instead of Relative Path.
Xcode recognized it as a framework and automatically added the configuration.
Then I was able to successfully build my application.
I hope this helps someone else.
Thanks for the great work on this project. It has been extremely useful.
from swiftshell.
I think I see the problem. If you're going to use SwiftShell in an already existing Xcode project, you do not need to use swiftshell-init
(it is for creating new Xcode projects). Instead you can add it as a Swift package dependency in your already existing Xcode project.
from swiftshell.
Thank you! I didn't know about that functionality.
from swiftshell.
Related Issues (20)
- runAsync(bash"") cannot write nothing on onStringOutput on mac osx app standalone HOT 2
- `waitUntilExit` cause slow execution HOT 1
- How to execute rm -rf /xxx/* HOT 3
- Could not find module 'SwiftShell' for target 'arm64-apple-macos'; found: x86_64, x86_64-apple-macos
- How to execute an ncurses-based command? HOT 2
- run shell empty output HOT 4
- PID of the command launched using SwiftShell
- The interactive command is suspended at the terminal
- Im trying to find a way to make a run cancellable
- Not support `Pod` command HOT 5
- New syntax? HOT 2
- Xcode 12 beta / Swift 5.3 not building HOT 5
- Tupling issue? HOT 1
- Request for an API that do not exit when executable to run is not found HOT 2
- Final released Swift 5.3 crashes on compile HOT 10
- Using ubuntu-latest for GHAction Test HOT 4
- Make run and throwable HOT 1
- onStringOutput returning nothing.
- Allow `run` to take an array HOT 1
- How to pipe with different contexts?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftshell.