zlybear / bearfree Goto Github PK
View Code? Open in Web Editor NEWiOS NetworkExtension ShadowSocket for iOS developer (swift 5) 支持系统小组件开关SS
iOS NetworkExtension ShadowSocket for iOS developer (swift 5) 支持系统小组件开关SS
请问IM类型的app,如wechat or telegram等app开启了vpn后好似不能连线,请问该如何修改呢? 谢谢
修改Bundle identifier之后,运行项目,就没办法上网了,请问如何解决呢?求大神支个招。
请问如何支持ssr?谢谢
[LaiTongXue@Mr-Lais-MacBook-Pro:] ~/Downloads/RabbitVpnDemo $ carthage update --no-use-binaries --platform mac,ios
*** Fetching CommonCrypto
*** Fetching NEKit
*** Fetching CocoaAsyncSocket
*** Fetching Resolver
*** Fetching CocoaLumberjack
*** Fetching tun2socks
*** Checking out NEKit at "4687dbe0ef880d876e171836ab0fc761af8e76c6"
*** Checking out tun2socks at "0.7.0"
*** Checking out CocoaLumberjack at "3.7.0"
*** Checking out CommonCrypto at "v1.1.0"
*** Checking out YamlSwift at "3.4.3"
*** Checking out CocoaAsyncSocket at "7.6.5"
*** Checking out MMDB-Swift at "0.5.0"
*** Checking out Resolver at "0.2.0"
*** Checking out Sodium-framework at "v1.0.10.1"
*** xcodebuild output can be found in /var/folders/mq/93cdzpy54y3_wl6xp59vdg7r0000gn/T/carthage-xcodebuild.ycqUEn.log
*** Building scheme "Mac Framework" in CocoaAsyncSocket.xcodeproj
*** Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj
Build Failed
Task failed with exit code 1:
/usr/bin/xcrun lipo -create /Users/LaiTongXue/Library/Caches/org.carthage.CarthageKit/DerivedData/12.3_12C33/CocoaAsyncSocket/7.6.5/Build/Intermediates.noindex/ArchiveIntermediates/iOS\ Framework/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CocoaAsyncSocket.framework/CocoaAsyncSocket /Users/LaiTongXue/Library/Caches/org.carthage.CarthageKit/DerivedData/12.3_12C33/CocoaAsyncSocket/7.6.5/Build/Products/Release-iphonesimulator/CocoaAsyncSocket.framework/CocoaAsyncSocket -output /Users/LaiTongXue/Downloads/RabbitVpnDemo/Carthage/Build/iOS/CocoaAsyncSocket.framework/CocoaAsyncSocket
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/mq/93cdzpy54y3_wl6xp59vdg7r0000gn/T/carthage-xcodebuild.ycqUEn.log
我的xcode是12.3的,编译的时候就一直报错
弄了个日本节点,通过shadowsocks 的全局代理和配置模式都能够登录联盟手游。我用NEKit搭建出来的项目,Google啥的都能访问,但是登录联盟手游的时候会提示当前地区无法登录的信息。我目前用的gwflist添加的规则(gwf规则去掉也不行)
在学习代码过程,看到enablePacketProcessing这个变量,但它一直为false,没有地方去修改它。
那么,很多地方都是 if false 。这里到底是为什么这么设计?
希望有人可以分析一下
Xcode 里面的日志有这个报错
2020-02-25 13:56:54.374059+0800 BearFree[2710:941921] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
PacketTunnelProvider 这个类好像没有执行,有人遇到过这个问题么?
执行到try manager.connection.startVPNTunnel(options:[:]),没有回调到startTunnel(),也没有抛出异常,vpn没有创建,是什么原因?也没有日志
怎么不让用户在设置里面直接开启vpn呢?
创建完描述文件,执行到了manager.connection.startVPNTunnel(),但是tunnel直接crash,没有走进startTunnel(),attach to process 也是。
控制台输出
[] nw_read_request_report [C5] Receive failed with error "Software caused connection abort"
Xcode 14.3 环境都配置好了,运行也是Success,但是跑起来报错
dyld[52953]: Library not loaded: '@rpath/Yaml.framework/Yaml'
Referenced from: '/private/var/containers/Bundle/Application/05412697-8095-4D6C-BB49-CB2E02977567/BearFree.app/BearFree'
Reason: tried: '/usr/lib/swift/Yaml.framework/Yaml' (no such file), '/private/var/containers/Bundle/Application/05412697-8095-4D6C-BB49-CB2E02977567/BearFree.app/Frameworks/Yaml.framework/Yaml' (no such file), '/usr/lib/swift/Yaml.framework/Yaml' (no such file), '/private/var/containers/Bundle/Application/05412697-8095-4D6C-BB49-CB2E02977567/BearFree.app/Frameworks/Yaml.framework/Yaml' (no such file), '/System/Library/Frameworks/Yaml.framework/Yaml' (no such file)
这几个库我都有添加,不知道是什么问题
绑死shadowsock跪得一塌糊涂
如题
非常感谢,有可以work的程序,对于初学者来说是很好的学习项目。
不过有个问题,build出来的文件达到了80m,是我哪个地方设置的问题?
还是依赖的library太多了的原因?
谢谢
我改了一下源码,在状态栏上 vpn 图标已经显示有了,但是还是没法翻墙
在创建应用之前我们需要安装NEProviderTargetTemplates.pkg,在xcode10.12之后苹果在xcode中删除了这个文件,为什么?可能和**区被下架的那些VXN一样的原因吧。好在我们还可以从老版本的xcode中提取这个文件,链接在此点击下载 ,提取码:18ek,要低调,安装好后重启xcode。
z这里下载的模板不生效,并且,有后门软件,自从安装后,机器无法联网。即将重装
千万注意!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.