Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwiftR 0.14.0 is not connecting with server using Xcode 9.3, Swift 4.1 and iOS 11.3 #113

Open
vishalgabani opened this issue Apr 13, 2018 · 3 comments

Comments

@vishalgabani
Copy link

I was using SwiftR 0.12.0 with Xcode 9.2, swift 4.0 and iOS 11.0, it was working fine.
Once started using Xcode 9.3, SwiftR 0.12.0 stopped connecting with server so updated SwiftR to 0.14.0 version. Latest version also does not connected with server. It just gives in log "Starting...", "Connected" and "Disconnected" not matter how many times you try. Even when credentials are wrong it does not show any error or any other log messages.

@sathishTkumar
Copy link

Hi Vishal,

Basically am trying to built a custom framework which uses SignalR. So I reached out to Cocoapod to install SwiftR.
Once done, when i build the framework and integrate the same in my sample native iOS application project, on running it in my device, the app is crashing with the below error :

dyld: Library not loaded: .framework/SwiftR
Referenced from: /private/var/containers/Bundle/Application/4D90F911-C15A-4059-92C5-BF983A3FA39B/AAAA.app/Frameworks/YYYY.framework/YYYY
Reason: image not found

This is what in my Podfile FYR:
platform :ios, '9.0'
target 'YYYY' do
use_frameworks!
pod 'SwiftR'
end

Since you are already working with this framework, kindly help me in solving this issue.

@vishalgabani
Copy link
Author

vishalgabani commented May 18, 2018

Hi @sathishTkumar,

I am not sure but this could work.
Change your podfile to this,

use_frameworks!
platform :ios, '9.0'

target 'YYYY' do
    pod 'SwiftR'
end

Regards,

@sathishTkumar
Copy link

Thanks Vishal. I sorted out my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants