修改iphone静态库(.a文件)
我如何修改(仅更改 url)我的静态库文件(.a 文件)?事实上,当我用文本编辑器打开时,我可以看到 url 字符串 然后更改然后保存。但它给出了这个错误:
我采取的错误;
ld: in /Users/ysnky/iPhonePro/MySDKTestApp/../../Desktop/iPhoneMySDK/MySDK.a, file is universal but does not contain a(n) i386 slice
我想更改的网址;
static NSString* baseUrl = @"http://127.0.0.1:8080/SDKProxyServer/secure/";
谢谢。
how can i modify (just only change url) my static library file (.a
file)? in fact i can see url string when i open with textmate editor
and then change then save. but it gives this error:
error which i take;
ld: in /Users/ysnky/iPhonePro/MySDKTestApp/../../Desktop/iPhoneMySDK/MySDK.a, file is universal but does not contain a(n) i386 slice
url which i would like to change;
static NSString* baseUrl = @"http://127.0.0.1:8080/SDKProxyServer/secure/";
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你不应该那样做!
但如果您确实想编辑二进制文件,请尝试 0xED
请记住保留文件的长度。这意味着您只能输入相同长度或更短的网址(用零填充)。
You shouldn't do it like that!
But if you really want to edit binary files try 0xED
Remember to keep the length of the file. This meaning that you can only enter an url with the same length or shorter (padding with zeros).