» xcode の記事

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}"
}

~ add devicesupport on old version Xcode ~

connie 2020.11.03 | xcode | | No Comments

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

~ clear all UiWebView from Xcode project ~

connie 2020.06.11 | xcode | | No Comments

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


~ Not enough free space while update xcode ~

connie 2020.02.24 | xcode | | No Comments

Free up 34GB+ before update xcode

~ iOS Xcode project change development language ~

connie 2019.08.22 | ios, xcode | | No Comments

-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 ~

connie 2019.05.16 | ios, xcode | | No Comments

xxx.ipa => xxx.zip
unzip
otool -L xxx.app/xxx

« Previous Page | HOME |

Smiley face

October 2021
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
31