Comments (7)
Could you include code examples, configuration, and any errors thrown, so that I could take a look and see what the problem likely is?
from passencoder.
Hello.
here is a zip file containing a copy of my project files
[test (copy).zip] ( removed... )
from passencoder.
my configuration :
Ubuntu 16.04,
Swift 5.0.1
no error thrown, just this return nil :
if let encoder = PassEncoder(passDataURL: directory) {
directory, on my computer :
/home/server/Desktop/test/OrmaaCard.pass/pass.json
from passencoder.
I wish my initializer threw errors instead of just returning nil now.
How do you create directory
?
from passencoder.
from passencoder.
I didn’t see your ZIP at first, sorry. Could you try initializing the URL with URL(fileURLWithPath:)?
from passencoder.
from passencoder.
Related Issues (12)
- Add tests
- Remove PassSigner singleton
- Swift async support
- Unify method for adding files to a pass
- Cannot find 'Process' in scope HOT 4
- Update swift tools version HOT 1
- Unable to configure the signer HOT 1
- Unable to add localizations/subdirectories HOT 2
- Wrong Requirements HOT 1
- Cannot find 'Process' in scope – iOS/tvOS/watchOS support: remove Process, stop invoking OpenSSL HOT 2
- Separate pass model from encoder
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 passencoder.