function make_fat_library {
# Will smash 2 static libs together
# make_fat_library in1 in2 out
lipo -remove arm64 "${2}" -output "${2}"
xcrun lipo -create "${1}" "${2}" -output "${3}"
}
» xcode の記事
Download the file from the git
https://github.com/iGhibli/iOS-DeviceSupport
copy the folder to
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
reboot Xcode
add JavaScriptCore.framework
XCODE Go to your Target -> General -> Linked Frameworks and Libraries then add WebKit.framework
grep -r UIWebView /Path/To/Project/*
make your hdd with more space
del all the folder in
~/Library/Developer/Xcode/Ios DeviceSupport
Manually download the xcode from
https://developer.apple.com/download/more/
to the external hdd
extract the Xcode.xip
see size of the xcode.app
if the mac cannot contains more extra space, del the xcode from application folder and copy the xcode.app to the primary hdd
AppDelegate.h add back this line
@property (strong, nonatomic) UIWindow * window;
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow * window;
@end
Free up 34GB+ before update xcode
-close Xcode
-go to project folder
-find the xxx.xcodeproj, right click show package
find project.pbxproj and open with txt editor
and search developmentRegions and change it form en to zh-HK
reopen project and you will see Localization section, development language change to HK
~ 掃ipa內的framework ~
xxx.ipa => xxx.zip
unzip
otool -L xxx.app/xxx
Recent Comments