开发者

modify iphone static library (.a file)

开发者 https://www.devze.com 2023-04-08 12:07 出处:网络
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

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/ys开发者_C百科nky/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.


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号