Naituw/IPAPatch — 5.3k★ trên GitHub (Objective-C). Patch iOS Apps, The Easy Way, Without Jailbreak.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
IPAPatch provide a simple way to patch iOS Apps, without needing to jailbreak.
[ Features • Instructions • Example • FAQ • License ]
Features
IPAPatch includes an template Xcode project, that provides following features:
Build & Run third-party ipa with your code injected
You can run your own code inside ipa file as a dynamic library. So you can change behavior of that app by utilizing Objective-C runtime.
Presented an custom alert in Youtube app
Step-by-step Debugging with lldb
You can debug third-party apps like your own. For example:
Step-by-Step debug your code inside other app
Set Breakpoints
Print objects in Xcode console with lldb
Debugging Youtube with Xcode
Link external frameworks
By linking existing frameworks, you can integrate third-party services to apps very easily, such as Reveal.
Inspect Youtube by linking RevealServer.framework
Generate distributable .ipa files
You can distribute your patch/work to your friends very easily, with IPAPatch generated modified version of .ipa files
Modified version of Facebook.ipa created by IPAPatch
Instructions
Clone or Download This Project
Download this project to your local disk
Prepare Decrypted IPA File
The IPA file you use need to be decrypted, you can get a decrypted ipa from a jailbroken device or download it directly from an ipa download site, such as http://www.iphonecake.com
Replace Placeholder IPA
Replace the IPA file located at IPAPatch/Assets/app.ipa with yours, this is a placeholder file. The filename should remain app.ipa after replacing.
Place External Resources/Frameworks (Optional)
Follow types of external file are supported:
Frameworks:
External frameworks can be placed at IPAPatch/Assets/Frameworks folder.
Frameworks will be linked automatically.
For example IPAPatch/Assets/Frameworks/RevealServer.framework
Dynamic Libraries:
External dynamic libraries can be placed at IPAPatch/Assets/Dylibs folder.
Libraries will be linked automatically
Resources/Bundles:
Other resources or bundles can be placed at IPAPatch/Assets/Resources
Resources will be copied directly to the main bundle of original app
Configure Build Settings
Open IPAPatch.xcodeproj
In the Project Editor, Select Target IPAPatch-DummyApp
Display Name defaults to "💊", this is used as prefix of the final display name.
Change Bundle Identifier to match your provisioning profiles
Fix signing issues if any.
Configure IPPatch Options
You can config IPAPatch's behavior with Tools/options.plist
Name
Description
Default
RESTORE_SYMBOLS
When YES, IPAPatch will try to restore symbol table from Mach-O for debugging propose (with tools from https://github.com/tobefuturer/restore-symbol, also thanks to @henrayluo and @dannion)
NO
CREATE_IPA_FILE
When YES, IPAPatch will generate a ipa file on each build. Genrated file is located at SRCROOT/Product
NO
IGNORE_UI_SUPPORTED_DEVICES
When YES, IPAPatch will delete UISupportedDevices from source app's Info.plist
NO
REMOVE_WATCHPLACEHOLDER
When YES, IPAPatch will remove com.apple.WatchPlaceholder folder from source app's bundle
YES
USE_ORIGINAL_ENTITLEMENTS
When YES, IPAPatch will use source app's entitlements to resign, you need to make sure your Provisioning Profile matches the entitlements, or you need to disable AMFI on target device
NO
Code Your Patch
The entry is at +[IPAPatchEntry load], you can write code start from here. To change apps' behavior, You may need to use some method swizzling library, such as steipete/Aspects.
Build and Run
Select a real device, and hit the "Run" button at the top-left corner of Xcode. The code your wrote and external frameworks you placed will inject to the ipa file automatically.
Example
I created some demo project, which shows you how to use IPAPatch:
Q: Library not loaded with reason: mach-o, but wrong architecture ?
A: Try set IPAPatch target's Valid Architectures to match your ipa binary's architecture.
Q: process launch failed: Unspecified (Disabled) ?
A: The ipa file use with IPAPatch must be decrypted, See step.2 of Instructions.
Q: dyld: Symbol not found: XXX, Referenced from: XXX, Expected in: XXX/libswiftXXX.dylib
The swift version the framework you injecting use, is incompatible with the version of your Xcode
License
IPAPatch
IPAPatch is licensed under the MIT license.
Copyright (c) 2017-present Wu Tian <[email protected]>.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
OPTOOL
Copyright (c) 2014, Alex Zielenski
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
fishhook
Copyright (c) 2013, Facebook, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name Facebook nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Naituw/IPAPatch thuộc nhóm Security trên TopGit, cùng 7 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về Naituw/IPAPatch ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/Naituw/IPAPatch là nguồn chính thức.
Naituw/IPAPatch có bao nhiêu sao?
Naituw/IPAPatch có 5.3k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/Naituw/IPAPatch. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
Naituw/IPAPatch có phải mã nguồn mở không?
Có — Naituw/IPAPatch phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/Naituw/IPAPatch.
Naituw/IPAPatch còn đang phát triển không?
Commit gần nhất trên Naituw/IPAPatch là 8 tháng trước (theo timestamp GitHub). Repo có 765 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Naituw/IPAPatch dùng license gì?
Naituw/IPAPatch phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Naituw/IPAPatch là gì?
Naituw/IPAPatch (Naituw/IPAPatch) là dự án Objective-C trên GitHub. Theo mô tả gốc: Patch iOS Apps, The Easy Way, Without Jailbreak.
Naituw/IPAPatch viết bằng ngôn ngữ gì?
Naituw/IPAPatch chủ yếu viết bằng Objective-C. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
IPAPatch có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về IPAPatch.