Skip to content

ifusernameif/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

介绍

icodesign

该文件夹是 Potato 最新版,由 icodesign 维护,不定期更新。 https://github.com/shadowsocks/Potatso

liruqi

该文件夹是另一个作者维护的 Potatso, Build 版本不一定是最新版。 https://github.com/liruqi/Potatso-iOS

Other

该文件夹包含 shadowsocks-iOSshadowsocks-libev 和 Potato 的 Podfile 修改后的文件。

安装指南

框架依赖


Potatso 根目录下执行

git submodule update --init

如果在执行 git submodule update --init 时发生错误,需要手动下载 shadowsocks-libev (或者在 shadowsocks-libev 文件夹下获取旧版本),复制到

/Potatso/Library/ShadowPath/ShadowPath/shadowsocks-libev 

文件夹目录下,然后在 Terminal 中进入该文件夹,执行

./configure --with-openssl="{user path}/ShadowPath/ShadowPath/libopenssl"

编译 shadowsocks-libev 下的文件。

复制 /Potatso/Other/CocoaPod-Podfile/Podfile 文件到 /Potatso 项目的根目录下,执行

pod install

再通过 Terminal 执行

carthage update

编译

/Potatso/Carthage/Checkouts/YAML.framework/YAML.xcodeproj

项目编译

修改 **Targets -> Identity -> Team **

X-Reception Technology (Beijing) Co., Ltd.

修改项目 Targets -> Bundle Identifier

Potatso: com.zuiqt.potatso
PacketTunnel: com.zuiqt.potatso.PacketTunnel
TodayWidget: com.zuiqt.potatso.TodayWidget 

关闭 Capabilites 中的 Push NotificationBackground Modes,

去掉三个 TargetApp Group 原来的钩,并选择

group.com.zuiqt.duotaidemo 

之后修改 PacketTunnel/PacketTunnelProvider.minitWithApplicationGroupIdentifieridentifier

group.com.zuiqt.duotaidemo 

三个 TargetsProvisioning Profile 均在开发者平台建好,如状态为 Invalid,重新 “Edit -> Generate” 即可重新激活。


之后即可在编译执行。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published