/Users/travisg/Projects/twigpilot_remote_ios/Carthage/Checkouts/CocoaAsyncSocket/Source/RunLoop/AsyncSocket.m:4282:38: warning: 'AsyncSocket' is deprecated: The RunLoop versions of CocoaAsyncSocket are deprecated and will be removed in a future release. Please migrate to GCDAsyncSocket. [-Wdeprecated-declarations]
But it seemed to build OK. When I start up my app though, without even changing any other code, my app crashes:
dyld: Library not loaded: @rpath/CocoaAsyncSocket.framework/CocoaAsyncSocket
Referenced from: /private/var/containers/Bundle/Application/92A79DA4-28B1-467E-B944-87CD7BB33594/twigpilot_remote_ios.app/Frameworks/RMQClient.framework/RMQClient
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/92A79DA4-28B1-467E-B944-87CD7BB33594/twigpilot_remote_ios.app/Frameworks/RMQClient.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket: required code signature missing for '/private/var/containers/Bundle/Application/92A79DA4-28B1-467E-B944-87CD7BB33594/twigpilot_remote_ios.app/Frameworks/RMQClient.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket'
Am I jumping the gun too much here? Or did I miss a step in there somewhere?
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Oct 19, 2016, at 1:31 AM, Andrew Bruce <abr...@pivotal.io> wrote:Travis,It's highly likely that you missed step 3 of https://github.com/rabbitmq/rabbitmq-objc-client#installation-with-carthageI just tested a new Swift 3 project using those instructions and could make a connection and publish / subscribe.When you do get it building, note that Swift 3 doesn't complete `publish` very well. You need parens around the block to disambiguate with the two-arity version: https://github.com/rabbitmq/rabbitmq-objc-client/issues/99
Looks correct. Still no image found? Does it work in a new project?
$ cat Cartfile
github "rabbitmq/rabbitmq-objc-client" ~> 0.10.0 Bootstrapped...
$ carthage bootstrap --platform iOS
*** No Cartfile.resolved found, updating dependencies
*** Fetching rabbitmq-objc-client
*** Fetching JKVValue
*** Fetching CocoaAsyncSocket
*** Checking out CocoaAsyncSocket at "7.5.0"
*** Checking out JKVValue at "v1.3.1"
*** Checking out rabbitmq-objc-client at "v0.10.0"
*** xcodebuild output can be found in /var/folders/2k/6y8rslzn1m95gjpg534j7v8jzr03tz/T/carthage-xcodebuild.ueqSMW.log
*** Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj
*** Building scheme "JKVValue-iOS" in JKVValue.xcodeproj
*** Building scheme "RMQClient" in RMQClient.xcodeproj
/Users/travisg/Projects/SwiftHeartRabbit/Carthage/Checkouts/CocoaAsyncSocket/Source/RunLoop/AsyncSocket.m:671:17: warning: Implementing deprecated class [-Wdeprecated-implementations]
/Users/travisg/Projects/SwiftHeartRabbit/Carthage/Checkouts/CocoaAsyncSocket/Source/RunLoop/AsyncSocket.m:4252:3: warning: 'AsyncSocket' is deprecated: The RunLoop versions of CocoaAsyncSocket are deprecated and will be removed in a future release. Please migrate to GCDAsyncSocket. [-Wdeprecated-declarations]
.
. <lots of the same>
.
/Users/travisg/Projects/SwiftHeartRabbit/Carthage/Checkouts/CocoaAsyncSocket/Source/RunLoop/AsyncUdpSocket.m:2307:41: warning: 'AsyncUdpSocket' is deprecated: The RunLoop versions of CocoaAsyncSocket are deprecated and will be removed in a future release. Please migrate to GCDAsyncUdpSocket. [-Wdeprecated-declarations]Opened XCode and the SwiftHeartProject. Adjusted the link binary and added the copy phase steps. Ran on my iPhone again:
dyld: Library not loaded: @rpath/CocoaAsyncSocket.framework/CocoaAsyncSocket
Referenced from: /private/var/containers/Bundle/Application/640E2C82-0DD2-4782-97E3-0756B5386E81/SwiftHeartRabbit.app/Frameworks/RMQClient.framework/RMQClient
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/640E2C82-0DD2-4782-97E3-0756B5386E81/SwiftHeartRabbit.app/Frameworks/RMQClient.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket: required code signature missing for '/private/var/containers/Bundle/Application/640E2C82-0DD2-4782-97E3-0756B5386E81/SwiftHeartRabbit.app/Frameworks/RMQClient.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket'
(lldb)
When you did your fresh build, did you see the same spewage about CocoaAsyncSocket?
--
--