Apple
解决 Xcode 编译时,多个 .a 文件包含了同一个库的问题
doorxp 发表于2018-11-06 浏览3869 评论0
思路 1.lipo 拆分 .a 文件为每个 cpu (如果只有一个 cpu就不需要,如只有 arm64) 2.ar 删除有冲突的*. o文件实践: 1. lipo -thin arm64 -output libXXXX.64.a libXXXX.a //提取 arm64的库 2.&
OpenWrt
路由器固件下载
doorxp 发表于2018-11-02 浏览4288 评论0
openwrt https://downloads.openwrt.org/releases/18.06.1/targets/dd-wrt ftp://ftp.dd-wrt.com/betas meilin https://drivers.softpedia.com
ObjC
Carplay NSIndexPath 对应关系.
doorxp 发表于2018-10-30 浏览4919 评论0
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #ffffff; background-color: #000000}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #00a0ff; background-color: #000000}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font:
Apple
CarPlay "External Display"
doorxp 发表于2018-10-22 浏览3664 评论0
Actually there is a CarPlay "External Display" that can be enabled, for it to show up you simply need to type in this command in a Terminal window:defaults write com.apple.iphonesimulator CarPlay -bool YESThen shutd
Apple
Xcode Build Setting Transformations
doorxp 发表于2018-09-22 浏览3953 评论0
Xcode supports the ability to substitute the value of build settings using the $(BUILD_SETTING_NAME) or ${BUILD_SETTING_NAME} syntax in a number of places including Info.plists, other build setting values, and .xcconfig files. In
Crack
cycript hook method
doorxp 发表于2018-09-05 浏览4130 评论0
cy# @import com.saurik.substrate.MS
cy# var oldf = {}
cy# var log = []cy# MS.hookFunction(fopen, function(path, mode) {
var
Apple
Mac OSX 一键删除过期证书
doorxp 发表于2018-08-30 浏览4369 评论0
security find-identity | grep EXPIRED | awk '{print $2}' | xargs -ti security delete-certificate -Z {}
Apple
iOS交叉编译C库
doorxp 发表于2018-08-28 浏览4000 评论0
Configure:./configure:该命令是我们所需要注意和配置的地方,这个配置决定了我们所生产出来的静态库的平台(构建版本和操作系统)这里我们只牵扯到iOS系统对应的构建版本,在此说明一下:x86: 如果你的静态库需要在iOS simulator上运行且你的Mac OS是32位系统,需要打这个构建版本。x86_64: x86的64位版本,你的Mac OS版本是64位,打这个版本armv7: iPhone 4s上使用的构建版本armv7s: iPhone 5上使用的构建版本arm64:
Apple
解决webView内存泄漏问题
doorxp 发表于2018-08-24 浏览3726 评论0
[[NSUserDefaults standardUserDefaults]setInteger:0 forKey:@"WebKitCacheModelPreferenceKey"];//导致泄漏的关键属性是的WebKitCacheModelPreferenceKey。当你在一个UIWebView打开一个链接,这个属性被自动设置为“1”值。因此,解决的办法是每当你打开一个链接时把它设回0:[[NSUserDefaults standardUserDefaults]setBoo
Apple
Delete expired certificates from Keychain
doorxp 发表于2018-08-17 浏览3772 评论0
#!/bin/bash# Grabs the expired certificate hashesexpired=$(security find-identity | grep EXPIRED | awk '{print $2}')# Check for certsif [ -z "