问题:
Building for iOS, but linking in .tbd file (/opt/theos/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd) built for iOS Simulator, file '/opt/theos/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd' for architecture arm64
把/opt/theos/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd
文件用文本打开,我用的是Sublime Text
,删除archs后面的两项(, i386, x86_64
),就可以编译成功了。
---
archs: [ armv7, armv7s, arm64, i386, x86_64 ]
platform: ios
install-name: /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate
current-version: 0.0.0
compatibility-version: 0.0.0
exports:
- archs: [ armv7, armv7s, arm64, i386, x86_64 ]
symbols: [ _MSDebug,
_MSFindSymbol, _MSGetImageByName,
_MSHookFunction, _MSHookMessageEx ]
...