Comments (14)
Hi Toby
It is still supported on OSX, I just need to do a bit more work on the packaging. I only got the automated build running the other day and I've only had a chance to look at iOS. In the coming days, I'll get this up and running again for OSX. Support for OSX is definitely not going away, in fact I want to improve it.
I'm actually heading into the Pusher offices again tomorrow and I'll see if I can spend some time then fixing this.
Thanks
Luke
from libpusher.
Great to hear that it is, and that you're working on it. Hope the work goes smooth, good luck.
from libpusher.
Toby, you'll now find a stable and nightly release of the OSX framework on the Downloads page. Please give it a try.
from libpusher.
That was quick!
'PTPusherEventPublisher.h' file not found in /Users/tobyz/Dropbox/spark-titler v3 source/libPusher.framework/Headers/PTPusher.h
...and yep, I can't see it in the Framework's header folder.
from libpusher.
Ah, missed one. I've updated the builds.
from libpusher.
Thanks. Builds without error or warning.
Buuut... on run, I get a dyld fatal error. Hopefully a quirk of my hacking around in the past day or so, but I have done the obvious clean etc.
from libpusher.
Same issue on a fresh XCode project that has the framework added to it and an instance of PTPusher as a property.
from libpusher.
Could you download the latest OSX nightly build, and try that. You'll need to add a Copy Files build phase, which I've outlined in this revised wiki page.
Let me know how you get on.
from libpusher.
Uh-oh - no fix and a regression? Hope this is just me.
The framework in the new download is missing the PTEventPublisher.h
When putting that back in, I still get the dyld fatal error. I also once saw a spurious Xcode 'file not found' or similar dialog. To recap, it still builds fine, and the framework is in the framework folder of the built product.
Looking at the console, might there be a hard-coded path or somesuch?
dyld: Library not loaded: /Library/Frameworks/libPusher.framework/Versions/A/libPusher
Referenced from: /Users/foobar/Library/Developer/Xcode/DerivedData/test-hgmsvtuikodigrcauxtqlblrbgya/Build/Products/Debug/test.app/Contents/MacOS/test
Reason: image not found
from libpusher.
Created a new, new Xcode project that just initialises an instance of PTPusher. It builds.
Runs OK:
[self setPusher:[PTPusher pusherWithKey:@"123" connectAutomatically:NO]];
Runs then crashes on [AsyncSocket doStreamOpen].
[self setPusher:[PTPusher pusherWithKey:@"123" connectAutomatically:NO]];
[pusher connect];
from libpusher.
Hi Toby,
Could you provide me with a detailed backtrace?
Thanks
from libpusher.
No need for the backtrace, I tracked down the error. ZTWebSocket was being compiled without ARC support when it actually needs it. I've updated the nightly and release builds for OSX. I've also added a basic example app to the project.
from libpusher.
Great, thanks. And yep, easily missed. Will check later.
On 5 Feb 2012, at 19:02, Luke Redpath wrote:
No need for the backtrace, I tracked down the error. ZTWebSocket was being compiled without ARC support when it actually needs it. I've updated the nightly and release builds for OSX. I've also added a basic example app to the project.
Reply to this email directly or view it on GitHub:
#20 (comment)
from libpusher.
I have pusher successfully integrated. Many thanks.
from libpusher.
Related Issues (20)
- Xcode 8 and iOS 10 HOT 10
- 'PTEventListener.h' file not found HOT 2
- No auth data sent in subscription event HOT 4
- Crash with PTNSJSONParser objectFromJSONString HOT 2
- [push notifications] Error callbacks? HOT 3
- Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_PTPusher" HOT 1
- [Critical] Version Preprocessor Macro Crashes Cocoapods HOT 1
- Push lib crashes HOT 3
- Retain cycle in PTURLRequestOperation HOT 2
- ReactiveCocoa => ReactiveObjC for swift3
- Undefined symbols for architecture arm64 HOT 2
- Dynamic Channels HOT 4
- New release? HOT 4
- No current subscription to channel myChannel, or subscription in progress HOT 7
- Unable to read your certificate: failed to parse PKCS1 private key HOT 12
- Xcode 9 - PTPusherErrorDomain error while subscribing to private channel HOT 2
- Getting this error. "Value of type 'PTPusherPrivateChannel' has no member 'bind'" HOT 2
- 'WebSocketClient' is ambiguous for type lookup in this context
- Private channel not receiving pusher events. HOT 9
- add objective c documentation for Beam integration 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 libpusher.