无法使用 Theos 使 deb 文件工作。手动复制 dylib - 有效
我遇到了一个非常奇怪的问题。我已经为 iPhone 开发了第一个调整(旨在用于 Cydia 分发)。我已经完成了调整的开发,一切正常,但我在将其打包到 deb 文件中时遇到问题。输入 make 并手动将 dylib 复制到 Library/MobileSubstrate/DynamicLibraries 中,并将首选项文件复制到 Library/PreferenceLoader/Preferences 中 - 一切正常,但当我输入 make package 时,我的调整根本不起作用。文件被复制到正确的文件夹中,我可以在 Settings.app 中看到设置,但 dylib 不会运行,我什至在控制台中看不到我的 NSLog。我尝试使用 dpkg -b,甚至 http://www.myrepospace.com/iDeb/ 但是无济于事。 我能做些什么? 谢谢!
I'm having a really weird problem. I've developed my first tweak for the iPhone (intended for Cydia distribution). I'm all done developing the tweak and everything works, but I'm having trouble packing it into a deb file. Typing make and manually copying the dylib into Library/MobileSubstrate/DynamicLibraries and the preference file into Library/PreferenceLoader/Preferences - everything works just fine, but when I type make package, my tweak doesn't work at all. The files are copied to their right folders, I can see the settings in the Settings.app, but the dylib won't run, I can't even see my NSLog in the console. I tried using dpkg -b, and even http://www.myrepospace.com/iDeb/ but to no avail.
What can I do?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我是 Theos 的作者,你在 IRC 频道中发布了这个问题,然后就匆匆离开了。
我很想帮助你,但我需要看看 Theos 创建的包。
除非出现常见问题,因为它是一个调整,请确保在安装软件包后重新启动,因为 dpkg 不会为您执行此操作。
您可以在 #theos (irc.saurik.com) 中以 DHowett 身份找到我。
I'm the author of Theos, and you posted this question in the IRC channel and then summarily left.
I would like to help you, but I need to look at the package that Theos creates.
Barring the usual issues, since it IS a tweak, please make sure to respring after you install the package, as dpkg will not do that for you.
You can find me in #theos (irc.saurik.com) as DHowett.