Okan
Okan

Reputation: 1389

Importing a library with cocoapods

I am trying to use this library in my ios project:https://github.com/nuclearace/Socket.IO-Client-Swift

I am trying to use with cocoapods.I created a Podfile in my project library.

This is my podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'Socket.IO-Client-Swift', '~> 2.2.2’

When I run, I am getting following errors:

SyntaxError - /Users/.../Documents/SwiftSonSurum/Podfile:4: unterminated string meets end of file
[!] Oh no, an error occurred.

It appears to have originated from your Podfile at line 4.

How can I fixt these errors ?

Upvotes: 0

Views: 507

Answers (1)

Thomas Keuleers
Thomas Keuleers

Reputation: 6115

The last quote of your podfile should be a ' instead of a

Upvotes: 2

Related Questions