crownstone / bluenet-ios-lib Goto Github PK
View Code? Open in Web Editor NEWCrownstone lib for iOS written in Swift to interface with Crownstone devices that run the bluenet firmware.
License: Apache License 2.0
Crownstone lib for iOS written in Swift to interface with Crownstone devices that run the bluenet firmware.
License: Apache License 2.0
Hi, i tried to archive and failed.
here's what i got ?
Undefined symbols for architecture armv7: "Swift.UnsafeMutableBufferPointer.(subscript.materializeForSet : (Swift.Int) -> A).(closure #1)", referenced from: function signature specialization <Arg[2] = Exploded> of generic specialization <Swift.UnsafeMutableBufferPointer<BluenetLibIOS.iBeaconPacket> with Swift.UnsafeMutableBufferPointer<BluenetLibIOS.iBeaconPacket> : Swift.MutableCollection in Swift and Swift.UnsafeMutableBufferPointer<BluenetLibIOS.iBeaconPacket> : Swift.RandomAccessCollection in Swift> of Swift._siftDown <A where A: Swift.MutableCollection, A: Swift.RandomAccessCollection> (inout A, index : A.Index, subRange : Swift.Range<A.Index>, by : inout (A.Iterator.Element, A.Iterator.Element) -> Swift.Bool) -> () in PABeaconMonitor.o function signature specialization <Arg[1] = Exploded> of generic specialization <Swift.UnsafeMutableBufferPointer<BluenetLibIOS.iBeaconPacket> with Swift.UnsafeMutableBufferPointer<BluenetLibIOS.iBeaconPacket> : Swift.MutableCollection in Swift and Swift.UnsafeMutableBufferPointer<BluenetLibIOS.iBeaconPacket> : Swift.RandomAccessCollection in Swift> of Swift._heapSort <A where A: Swift.MutableCollection, A: Swift.RandomAccessCollection> (inout A, subRange : Swift.Range<A.Index>, by : inout (A.Iterator.Element, A.Iterator.Element) -> Swift.Bool) -> () in PABeaconMonitor.o function signature specialization <Arg[1] = Exploded> of generic specialization <Swift.UnsafeMutableBufferPointer<BluenetLibIOS.iBeaconPacket> with Swift.UnsafeMutableBufferPointer<BluenetLibIOS.iBeaconPacket> : Swift.MutableCollection in Swift and Swift.UnsafeMutableBufferPointer<BluenetLibIOS.iBeaconPacket> : Swift.RandomAccessCollection in Swift> of Swift._partition <A where A: Swift.MutableCollection, A: Swift.RandomAccessCollection> (inout A, subRange : Swift.Range<A.Index>, by : inout (A.Iterator.Element, A.Iterator.Element) -> Swift.Bool) -> A.Index in PABeaconMonitor.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
any idea why ? thanks!
After many tests and revisions, we have found that, given a smartphone carried inside a building over multiple hours, set to track the region of all the beacons in that building, not running in the foreground, eventually location updates will cease to come until the app is woken back up. Typically this takes something in the realm of 30 minutes.
I've eventually found that Apple states that the location updates background mode doesn't actually allow ranging to run indefinitely - "Enabling this mode does not prevent the system from suspending the app, but it does tell the system that it should wake up the app whenever there is new location data to deliver." So even if tracking is left on, even if ranging is left on, eventually the process is killed until another kind of event triggers the location services.
Is this correct, or does this conflict with your findings? It would seem an additional source of triggers (such as the pedometer) will be needed to keep ranging live through a day.
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.