stremsdoerfer / Nikka

A networking library for Swift
Other
30 stars 0 forks source link

Cannot get Nikka to work with Gloss. #1

Open MortenHN81 opened 6 years ago

MortenHN81 commented 6 years ago

Hi.

Im trying to follow the documentation to get Nikka to work with Glossbut i cannot get it working.

Documentation says:

" To install this extension with CocoaPods simply add this line to your podfile:

pod 'StreemNetworking/Gloss' "

As "pod 'StreemNetworking/Gloss'" just return a unknown repo error, i changed that to pod 'Nikka/Gloss' and my pod file now looks like this:

" Uncomment the next line to define a global platform for your project source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.0' use_frameworks!

target 'xxxxx' do Pods for xxxxx pod 'IQKeyboardManagerSwift' pod 'Nikka' pod 'Nikka/Gloss' pod 'SideMenu', '~> 3.1.5' pod 'LFLoginController' pod 'SVProgressHUD' end "

Running this gives me:

" Analyzing dependencies Downloading dependencies Using Gloss (2.0.0) Using IQKeyboardManagerSwift (6.0.2) Using LFLoginController (0.3.1) Using Nikka (1.0.7) Using SVProgressHUD (2.2.5) Using SideMenu (3.1.5) Generating Pods project Integrating client project Sending stats Pod installation complete! There are 6 dependencies from the Podfile and 6 total pods installed. MortenHlsensMBP:iOS_Wisix mortenhjortshjnielsen$ "

So it only installs Nikka 1.0.7, which gives me this compile error in the project:

"Ambiguous reference to member 'fill(result:)'" Probaly because it wont fetch the newest version, i have tried expit to set version 2.1.1 of nikka but just get an error.

Please help me move forward, as i have been working with this some hours now and cant move forward.

Thank you in advance.

Best Regards Morten

MortenHN81 commented 6 years ago

Is Nikka not supported by the dev anymore ?

Best Regards Morten