-
Notifications
You must be signed in to change notification settings - Fork 407
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
no such moudle ’CocoaAsyncSocket #64
Comments
Sorry,the document has not been updated, now you do not need to create CocoaMQTT-Bridging-Header.h |
CocoaPods , Carthage and Manual should done step by step? |
Does not need select all, just select one: CocoaPods Carthage or Manual |
@lsxredrain ,you can recreate a project, just use CocoaPods. |
follow those step: pod 'CocoaAsyncSocket' |
just two step: 1.create the Podfile with follow content:
2.excude the command: |
lsxdeMacBook-Pro:CocaMQTT lsx$ cat Podfile For more information see http://blog.cocoapods.org Analyzing dependencies
lsxdeMacBook-Pro:CocaMQTT lsx$ ls |
Make sure you are running $pod install from your project directory: |
lsxdeMacBook-Pro:CocaMQTT lsx$ pwd CocoaPods 1.0.0.beta.8 is available. For more information see http://blog.cocoapods.org Analyzing dependencies
|
like my test project:
|
1 create null project as named CocoaHello in Xcode 7.2 localhost:CocoaHello lsx$ ls 4 close CocoaHello.xcodeproj |
|
use the xcode7.3 |
i can't use Xcode 7.3 for my os is 10.10, can u add selector: #selector(CocoaMQTT._aliveTimerFired) for Xcode 7.2? |
you can change |
ok thanks a lot! |
follow this step
$ git init
Add CocoaMQTT as a git submodule by running the following command:
$ git submodule add https://github.com/emqtt/CocoaMQTT.git
CocoaPods
Install using CocoaPods by adding this line to your Podfile:
use_frameworks! # Add this if you are targeting iOS 8+ or using Swift
pod 'CocoaMQTT'
Then, run the following command:
$ pod install
Last, creat a CocoaMQTT-Bridging-Header.h file in your project, in which add the following line:
import "CocoaMQTT/CocoaMQTT.h"
xcode 7.2
//
// CocoaMQTT.swift
// CocoaMQTT
//
// Created by Feng Leefeng@eqmtt.io on 14/8/3.
// Copyright (c) 2015 emqtt.io. All rights reserved.
//
import Foundation
import CocoaAsyncSocket --- no such moudle ’CocoaAsyncSocket ‘
import MSWeakTimer
The text was updated successfully, but these errors were encountered: