我正在 DragonMake 上进行一个非常简单的调整。到目前为止,我在构建时遇到以下错误:
ld: building for 'iOS', but linking in dylib (/Users/[myuser]/.dragon/frameworks/CydiaSubstrate.framework/CydiaSubstrate.tbd) built for 'iOS-simulator' clang: error: linker command failed with exit code 1 (use -v to see invocation)
我基本上恢复为一个空项目以缩小问题范围,所以这是我的 DragonMake 文件:
name: Testing id: com.serch.testing depends: mobilesubstrate architecture: iphoneos-arm version: '0.1' description: Testing tweak build author: Serch section: Tweaks
我正在使用最新的 Dragon V 2.0.0 开发 MacOS Sonoma。有什么想法吗?
事实证明,我必须在 CydiaSubstrate.framework 中编辑 CydiaSubstrate.tbd 文件
来自
archs: [ armv7, armv7s, arm64, arm64e, i386, x86_64 ]
至
archs: [ armv7, armv7s, arm64, arm64e ]