Neither Mac OS X 10.8 and iOS 6 require a dispatch_release under ARC #55

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
9 participants
Contributor

mikelikespie commented Oct 10, 2012

If you use SocketRocket as a library (and not add the files to your existing build target) this shouldn't be a problem.

It has OS_OBJECT_USE_OBJC_RETAIN_RELEASE=0 set as a preprocessor definition. I recommend keeping it in a separate target than your main executable.

goldo commented Nov 1, 2012

Hello,

I had the same problem including only socketrocket files, so I followed your advice including the whole socketrocket project in my iOS 6 project. I included libsocketrocket.a in link binaries and added -ObjC in linker flags and still, I can't import <SocketRocket/SRSocketRocket.h>, it says not found.. any advice ?

thanks

anair commented Nov 6, 2012

I had to modify the "User Header Search Paths" to include the SocketRocket folder. That fixed the include issue.

This problem is still....:-(

numbcoder referenced this pull request in NetEase/pomelo-cn Jan 7, 2013

Closed

iOS demo 改成iOS6后跑不起来了 #33

shusson commented Jan 9, 2013

Is there a plan to fix this? I also tried to add SocketRocket as a library with no success.

I've successful fixed the problem.
How can I add some fotos to comments :(
ok, i just write down it .

'Build Settings' --'Apple LLVM compiler 4.1 - Preprocessing' -'Preprocessor Macros' --'Debug' add
'OS_OBJECT_USE_OBJC_RETAIN_RELEASE=0' and 'DEBUG=1'
the same place
'Release' add 'OS_OBJECT_USE_OBJC_RETAIN_RELEASE=0' and 'NDEBUG'

Maybe also to add, but im not sure that, you can try as in the follows if the problem is still.

'Build Settings' --'Apple LLVM compiler 4.1 - Language' - 'Other C Flags' --'Release' --
'-DNS_BLOCK_ASSERTIONS=1'

After understanding the concept of our management for parking and charging
services, this work comes into the implementation part. In this chapter, we
build a model of a car park from the standpoint of an implementation and
implement it using a modeling tool. Then, we explain the implementation of
the two charging allocation algorithms and how to configure a car park to
an agent.

2013/1/9 shusson notifications@github.com

Is there a plan to fix this? I also tried to add SocketRocket as a library
with no success.


Reply to this email directly or view it on GitHubhttps://github.com/square/SocketRocket/pull/55#issuecomment-12069875.

Contributor

lukeredpath commented Mar 1, 2013

Any plans to fix this? It breaks using SocketRocket as a CocoaPods in an iOS6 project.

Phando commented Apr 4, 2013

Hey All,
I have set up MyProject and SocketRocket in my workspace but SocketRocket not building its Products. All the products for SocketRocket are red even though the build is successful. Mind letting know what I am doing wrong?

:D

r-dent commented Apr 10, 2013

I have the same issue as @megaplow. Any suggestions?

Phando commented Apr 10, 2013

Sorry I didn't follow up,
In the build targets, I had to set the parameters in the Architectures section. I am only building the OSX version to that is working, the rest are still red, but not an issue.

Great framework!
Joe

Contributor

dfed commented Sep 18, 2015

Doing some housecleaning. If this is still an issue please fix conflicts and reopen. We'll do a better job of reviewing quickly this time, I promise.

dfed closed this Sep 18, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment