depoon / NetworkInterceptor

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

NetworkInterceptor example file. #23

Closed gaplan closed 5 years ago

gaplan commented 5 years ago

When i try NetworkInterceptorexample file. this is my error message.

dyld: Library not loaded: @rpath/NetworkInterceptor.framework/NetworkInterceptor Referenced from: /var/containers/Bundle/Application/69C104C8-576C-4D50-8396-8B4146AFACC8/NetworkInterceptorExample.app/NetworkInterceptorExample Reason: image not found

gaplan commented 5 years ago

Update ; Xcode Version 10.2.1 (10E1001)

Iphone6 / ios 12.2

depoon commented 5 years ago

You need to embed the framework in the app target. Missing this, xcode will not issue a compile time error.

gaplan commented 5 years ago

i'm ok , i can do now. thank for the code