Comments (2)
@Dschee Sorry my bad. I should read it carefully. By the way, thank for the quick reply.
from accio.
Thanks for reporting the issue @jjorn!
Yes, that's right. Since Accio uses SwiftPM
as its core (e.g. for dependency resolution) it also shares some of its pitfalls (while others may be worked around within Accio). But this is a known restriction, the path
parameter of the iOS project needs to only contain Swift files.
This was already documented in the Initialization section of the README as follows:
Also note that the specified path must be a directory recursively containing at least one Swift file – but mixing with other languages like (Objective-)C(++) is not supported, so they shouldn't be within the specified directory. The files in there will not be built, they just need to exist in order for SwifPM to work properly, so you could point this anywhere Swift-only code.
So just use a subdirectory within your project that contains only Swift files.
I hope this clarifies the issue. We could add a hint in the Accio error output on how to fix this as kind of a fix. Until then I'll keep this open.
from accio.
Related Issues (20)
- Leverage Swift 5.1 module stability HOT 4
- Dependencies cannot be resolved when the target is in the same Package.swift HOT 5
- Accio is resetting the project it self when using local dependencies
- Missing CFBundleVersion in Info.plist of frameworks HOT 1
- Unable to successfully compile the sample project HOT 2
- No dependencies specified for target ... HOT 3
- Error: The file “Info.plist” couldn’t be opened HOT 2
- accio fails to install dependencies HOT 23
- Accio isn't compatible with certain Package.swift formats
- Add new "Xcode 11 Supplement" mode & Version 1.0.0 HOT 2
- Error installing Accio HOT 2
- Pick a less generic name than `Dependencies` for your folder HOT 9
- Error with dependencies with higher Swift tools version HOT 1
- Support shorthand Semantic Version Strings HOT 2
- $ accio install won't add build phase after re-generate Xcode project HOT 3
- Deprecate Accio in favor of SwiftPM starting with Xcode 12? HOT 7
- Unable to integrate Accio to support simple clone and build in Xcode IDE HOT 1
- Accio checking for wrong output name when copy framework (Facebook iOS SDK) HOT 2
- Homebrew installation broken HOT 4
- [Deleted Spam Title] HOT 1
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 accio.