depoon / NetworkInterceptor

iOS URLRequest interception framework
MIT License
157 stars 35 forks source link

install issue. #19

Closed gaplan closed 5 years ago

gaplan commented 5 years ago

when I try this command, pod 'NetworkInterceptor', : git => 'https://github.com/depoon/NetworkInterceptor.git', :tag => '0.0.5'

I see this error;

-bash: https://github.com/depoon/NetworkInterceptor.git,: No such file or directory

gaplan commented 5 years ago

Or if i use pod install

this is the error message;

[!] The Podfile contains framework or static library targets (NetworkInterceptor), for which the Podfile does not contain host targets (targets which embed the framework). If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).

depoon commented 5 years ago

Hey sorry for the late reply. I have published the pod to cocoapods and its now 0.0.8.

Let me know if you still encoutering issues

depoon commented 5 years ago

Have you tried with the latest version?

gaplan commented 5 years ago

Sorry for delay.

pod --version 1.5.3 MacOs 10.13.6

pod 'NetworkInterceptor' [!] Unknown command: NetworkInterceptor Did you mean: deintegrate?

Usage:

$ pod COMMAND

  CocoaPods, the Cocoa library package manager.
depoon commented 5 years ago

Refer to this https://github.com/depoon/ios-movies-app/blob/master/Podfile

You need to create a Podfile which describes all the required dependencies of your project.

Then you all you need to run pod install

depoon commented 5 years ago

can u msg me your github repo? maybe let me create a PR commit for you