neoteo / ipfsiosappexample Goto Github PK
View Code? Open in Web Editor NEWExample Ipfs app for iOS. For local testing it requires an https proxy since iOS started enforcing https connections.
Example Ipfs app for iOS. For local testing it requires an https proxy since iOS started enforcing https connections.
class IpfsNodeDiscovery : NSObject, NetServiceBrowserDelegate, NetServiceDelegate {
let DOMAIN = "local"
// let SERVICE_TYPE = "_services._dns-sd._udp."//"_airplay._tcp."
let SERVICE_TYPE = "_ipfs-discovery._udp."
// let SERVICE_TYPE = "_ipfs._tcp."
// let SERVICE_TYPE = "_1password4._tcp."
let domainBrowser: NetServiceBrowser
var active_service: NetService?
var active_handler: ((String) -> ())?
var node_address: String?
ipfs daemon is running fine.
nitializing daemon...
Swarm listening on /ip4/10.106.30.113/tcp/4001
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /p2p-circuit/ipfs/QmPGh4BgmrFqBcqNDa1kLww8nFsjhw2MZzjSiokvrXekEM
Swarm announcing /ip4/10.106.30.113/tcp/4001
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready
16:56:15.791 ERROR ipns-repub: Republisher failed to republish: failed to find any peer in table core.go:518
17:01:15.787 ERROR ipns-repub: Republisher failed to republish: failed to find any peer in table core.go:518
17:06:15.785 ERROR ipns-repub: Republisher failed to republish: failed to find any peer in table core.go:518
17:11:15.783 ERROR ipns-repub: Republisher failed to republish: failed to find any peer in table core.go:518
Hi, I'm testing IPFS for iOS and I've found your example repo. I'm trying to execute it on an iPhone 6 running iOS 11. It compiles, install, run the IPA and start resolving IPFS service but netServiceDidResolveAddress
never get called.
Maybe I'm not understanding the purpose of the swift-ipfs-api
. I'm trying to run a full working IPFS node on an iOS device, the same way I can run a node on my MacBook terminal. Is this a correct approach? Or this repo is no longer maintained?
Thank you for your time
Just FYI, as of Carthage 0.18.1 and with XCode8 on the machine, this is currently needed in order to build the Carthage dependencies:
$ TOOLCHAINS=com.apple.dt.toolchain.Swift_2_3 carthage update
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.