issues in XCode 八

网友分享于:2015-09-23 16:51 发表在 移动开发
issues in XCode 8

http://www.cocoachina.com/bbs/read.php?tid=1696016

鍗囩骇xcode8宸叉槸蹇呯劧,鍗囩骇ios10鐨勭敤鎴蜂笉鑳借澶ф湁浜哄湪,搴旇涔熶笉浼氬皯,妤间富鍚,濡傛灉涓嶅崌绾code8,涓婃灦鏈€鏂扮殑鍖?閭d箞鍙兘搴旂敤鍦╥os10 涓婃槸涓嶆敮鎸佺殑.
so,杩欎簺xcode8鐨勬柊鐗规€?浣犲簲璇ヤ簡瑙?!!

1.蹇嵎閿犅燾ommand + /聽聽 娉ㄩ噴澶辨晥; 瑙e喅鏂规硶1: Xcode -> preferences -> key bindings 涓殑comment selection 鏄惁璁剧疆涓婂揩鎹烽敭浜喡犅犺В鍐虫柟娉?:http://blog.csdn.net/jnbbwyth/article/details/52576169聽绗洓涓棶棰樿瑙?br style="">
2.鐪熸満娴嬭瘯涓嶅湪鏀寔ios8.0浠ヤ笅鐗堟湰; (宸茶В鍐?杩藉姞:xcode8鏀寔ios8浠ヤ笅鐪熸満娴嬭瘯鏂规硶:1.搴旂敤绋嬪簭-xcode 鏄剧ず鍖呭唴瀹?Contents-Developer-Platforms-iPhoneOS.platform-DeviceSupport 鎶婇噷杈?6.0 6.1 7.0 7.1 鐨勬枃浠跺す绮樿创鍒皒code8 瀵瑰簲鐨勬枃浠跺す鍐吢犅?. 搴旂敤绋嬪簭-xcode 鏄剧ず鍖呭唴瀹?Contents-Developer-Platforms-iPhoneOS.platform-Developer-SDKs-iPhoneOS.sdk-SDKSettings.plist 鏂囦欢涓婦efaultProperties - DEPLOYMENT_TARGET_SUGGESTE... 璇ユ暟缁勪腑娣诲姞 6.0 6.1 7.0 7.1 瀵瑰簲鐨勬祴璇曠増鏈?(娉ㄦ剰:濡傛灉浣犵殑鏂囦欢鏄彧璇绘ā寮忕殑,閭d箞鏄笉鑳戒慨鏀圭殑,浣犻渶瑕佹妸Contents-Developer-Platforms-iPhoneOS.platform-Developer-SDKs-iPhoneOS.sdk-SDKSettings.plist 杩欎簺鏂囦欢鐨勫彧璇绘ā寮忛兘鏀规垚璇诲啓妯″紡)杩欎釜鐗堟湰鎺掑簭涓€瀹氳鏄粠灏忓埌澶?鐩存帴鎶婂皬鐨勬坊鍔犲埌涓嬮潰鏄笉绠$敤鐨?蹇呴』鎶婂皬鐨勬嫋鍒版渶涓婅竟.杩欎釜鏃跺€欓€€鍑轰綘鐨刋code,鐒跺悗閲嶆柊鍚姩,浣犲氨浼氬彂鐜癷os8.0浠ヤ笅鐨勭湡鏈?涔熷彲浠ユ甯告祴璇曚簡聽闈炲父鎰熻阿ID:84447879聽聽鐨勫缓璁柟娉?鍒嗕韩缁欏ぇ瀹?聽

3.濡傛灉椤圭洰涓寘鍚瘉涔?璇佷功鍐呭寘鍚殑Id 蹇呴』涓?bundle Id 淇濇寔涓€鑷存墠琛?寮€鍙戣€卼eam璐﹀彿蹇呴』鍒涘缓浜?璇?bundle Id 瀵瑰簲鐨勮瘉涔?灏辨槸璇翠笉鏄墍鏈夌殑鑻规灉璐﹀彿閮借兘鐪熸満娴嬭瘯浜?杩欓噷璇寸殑鏄」鐩腑鏈壜犅犺瘉涔︾殑鍓嶆彁涓?

4.浣跨敤Xcode 8鍒涘缓鏂伴」鐩殑鏃跺€欙紝浼氳浣犻€夋嫨寮€鍙戣€卼eam涓轰簡鑷姩鐢熸垚瀵瑰簲鐨勮瘉涔︺€傚湪鏂拌€侀」鐩殑General涓篃鍙互瀵圭鍚嶈繘琛岃缃?鍕鹃€夎嚜鍔ㄧ鐞嗚瘉涔?鍙€夌殑)锛孹code浼氳嚜鍔ㄦ浛浣犵敓鎴愯皟璇曡瘉涔﹀拰鎻忚堪闂锛岃瘉涔︿笌鎻忚堪鏂囦欢鏈夋晥鏈熶负6澶╋紝閬垮厤浜嗗ぇ閲忕殑鍨冨溇鍐椾綑璇佷功鍗犵敤闂銆?br style="">
5.- (void)webView:(UIWebView *)webView didFailLoadWithError:(nullable NSError *)error;聽聽鍙樻垚浜? (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error

6.鐗堟湰target 浠?.0 璧锋浜?浣嗘槸鑰佷唬鐮佺殑7.1 鐢▁code8 鎵撳紑杩樻槸鏄剧ず7.1 ,灏辨槸涓嶇煡閬撹捣涓嶈捣浣滅敤浜?杩藉姞:鍙互鎵嬪啓杈撳叆7.1,浠嶇劧绠$敤.

7.涔嬪墠涓や釜姹夊瓧鍗犵敤24瀹藉害,鐜板湪鍗犵敤27浜?瀵艰嚧閮ㄥ垎UI鍙兘闇€瑕侀噸鏂伴€傞厤; 鎴栬€呭垽鏂笅褰撳墠绯荤粺鐗堟湰,濡傛灉>=10.0,灏辫闇€瑕侀€傞厤鐨勬帶浠惰皟鐢犅爏izetofit聽聽鏂规硶.

8.楹﹀厠椋庢潈闄愶細Privacy - Microphone Usage Description 鏄惁鍏佽姝pp浣跨敤浣犵殑楹﹀厠椋庯紵
鐩告満鏉冮檺锛?Privacy - Camera Usage Description 鏄惁鍏佽姝pp浣跨敤浣犵殑鐩告満锛?br style="">鐩稿唽鏉冮檺锛?Privacy - Photo Library Usage Description 鏄惁鍏佽姝pp璁块棶浣犵殑濯掍綋璧勬枡搴擄紵
閫氳褰曟潈闄愶細 Privacy - Contacts Usage Description 鏄惁鍏佽姝pp璁块棶浣犵殑閫氳褰曪紵
钃濈墮鏉冮檺锛歅rivacy - Bluetooth Peripheral Usage Description 鏄惁璁稿厑姝pp浣跨敤钃濈墮锛?br style="">璇煶杞枃瀛楁潈闄愶細Privacy - Speech Recognition Usage Description 鏄惁鍏佽姝pp浣跨敤璇煶璇嗗埆锛?br style="">鏃ュ巻鏉冮檺锛歅rivacy - Calendars Usage Description 鏄惁鍏佽姝pp浣跨敤鏃ュ巻锛?br style="">瀹氫綅鏉冮檺锛歅rivacy - Location When In Use Usage Description 鎴戜滑闇€瑕侀€氳繃鎮ㄧ殑鍦扮悊浣嶇疆淇℃伅鑾峰彇鎮ㄥ懆杈圭殑鐩稿叧鏁版嵁
瀹氫綅鏉冮檺: Privacy - Location Always Usage Description 鎴戜滑闇€瑕侀€氳繃鎮ㄧ殑鍦扮悊浣嶇疆淇℃伅鑾峰彇鎮ㄥ懆杈圭殑鐩稿叧鏁版嵁

9.寮曠敤:45妤?Dcook -> MJRefresh iOS10鐨勭郴缁熶笂姣忔涓嬫媺鍒锋柊鍚庢病鍔炴硶瀹屽叏鎭㈠Normal 鐘舵€伮犅燳杞磋窛绂讳笂鎬绘槸鐩稿樊20宸﹀彸...(妤间富涓汉涔熶娇鐢ㄧ殑MJ,琛ㄧず鏆傛椂娌℃湁鍙戠幇杩欎釜闂)
瑙e喅鏂规聽http://www.cnblogs.com/dev1024/p/5889865.html聽

10.寮曠敤:闆ㄥ鐨勯浘聽聽ItunesConnect涓婁紶閬囧埌闂锛孍RROR ITMS-90682: "Invalid Bundle. The asset catalog at 'Payload/ElitePlus.app/Assets.car' can't contain 16-bit or P3 assets if the app is targeting iOS releases earlier than iOS 9.3."聽聽 瑙e喅鏂规硶:http://www.cnblogs.com/zyonbao/p/5872943.html聽聽聽聽聽http://www.jianshu.com/p/b13e1e441116

11.iOS 10 鍥犺嫻鏋滃仴搴峰鑷撮棯閫€ crash聽聽 鍘熸枃閾炬帴锛?a target="_blank" style="color: #0070af; margin: 0px; padding: 0px;" href="http://www.jianshu.com/p/545bd1bf5a23">http://www.jianshu.com/p/545bd1bf5a23
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'NSHealthUpdateUsageDescription must be set in the app's Info.plist in order to request write authorization.'

12.寮曠敤79妤?鏂板浜咰AAnimationDelegate聽聽,涔嬪墠浣跨敤CAAnimation鐨勬枃浠堕渶瑕佸己鍒舵坊鍔犱唬鐞?br style="">
濂芥枃绔犳帹鑽?:聽http://blog.csdn.net/jnbbwyth/article/details/52576169聽聽 (鍐呭惈:1.璇佷功绠$悊 2.xib娉ㄦ剰浜嬮」 3.浠g爜鍙夾pi娉ㄦ剰 4.浠g爜娉ㄩ噴涓嶈兘鐢ㄧ殑瑙e喅鍔炴硶 5.鏉冮檺浠ュ強鐩稿叧璁剧疆 6.瀛椾綋鍙樺ぇ锛屽師鏈塮rame闇€瑕侀€傞厤 7.鎺ㄩ€?8.灞忚斀鏉備贡鏃犵珷鐨刡ug)

濂芥枃绔犳帹鑽?:杞嚜 鑸炲皬鏈埪?a target="_blank" style="color: #0070af; margin: 0px; padding: 0px;" href="http://www.cocoachina.com/bbs/read.php?tid-1695563.html">http://www.cocoachina.com/bbs/read.php?tid-1695563.html
iOS10鐩稿唽鐩告満闂€€bug
http://www.jianshu.com/p/5085430b029f
iOS 10 鍥犺嫻鏋滃仴搴峰鑷撮棯閫€ crash
http://www.jianshu.com/p/545bd1bf5a23
楹﹀厠椋庛€佸濯掍綋銆佸湴鍥俱€侀€氳褰?br style="">ios10鐩告満绛夊穿婧?br style="">http://www.jianshu.com/p/ec15dadd38f3
iOS10 閰嶇疆椤荤煡
http://www.jianshu.com/p/65f21dc5c556
iOS寮€鍙?閫傞厤iOS10浠ュ強Xcode8
http://www.jianshu.com/p/9756992a35ca
iOS 10 鐨勯€傞厤闂
http://www.jianshu.com/p/f8151d556930

闂姹囨€?(寰呰В鍐?

1.寮曠敤36妤?/span>:鐘舵€佹爮闅愯棌澶辨晥浜喡犅?br style="">- (BOOL)prefersStatusBarHidden{
聽聽聽聽return YES;
}

2.寮曠敤37妤?/span>:APP鍒囧埌鍚庡彴 鐒跺悗浠庡悗鍙板垏鍥濧PP灏遍棯閫€浜?鍗囩骇鍒癐OS10鍚勭鑾悕鍏跺鐨勯棯閫€鎬庝箞鍥炰簨聽

3.寮曠敤44妤?/span>:xcode8浣跨敤source control 涓璯it鎻愪氦浠g爜涔熸湁鐐逛笉姝e父,杩滅瀛樺湪涓€涓猰aster鍒嗘敮鍜屼竴涓猟ev鍒嗘敮,鎴戣繖杈规湰鍦版湁master dev 鍐嶅涓€涓猚oder1鐨勫垎鏀?褰撳垏鎹㈠埌coder1鍒嗘敮涓婃棤娉曟媺鍙杁ev鎴栬€卪aster涓婄殑浠g爜,鍙湁鍒囨崲鍒癿aster鎴栬€卍ev涓婃墠鑳芥媺鍙柭?br style="">
4.寮曠敤27妤?/span>:nslog淇℃伅鎵撳嵃涓嶅叏聽

5.寮曠敤50妤?/span>:璇烽棶ImagePickerController.cameraViewTransform杩欎釜灞炴€у湪iOS10鏄笉鏄笉鑳界敤浜嗭紵聽

6.寮曠敤57妤?/span>:app鍦╥OS10涓婃棤娉曡闂綉缁滐紝鎵撳紑app涓嶅脊鍑烘槸鍚﹀厑璁镐娇鐢ㄧ綉缁滃脊绐楋紝鍦ㄨ缃?鏃犵嚎灞€鍩熺綉-浣跨敤鏃犵嚎灞€鍩熺綉涓庤渹绐濈Щ鍔ㄧ殑搴旂敤閲屼篃鏃犳硶鐪嬪埌璇pp锛屾湁浜涙満瀛愰噸鍚垨鑰呰繕鍘熺綉缁滆缃彲浠ヨВ鍐筹紝杩欐槸绯荤粺BUG涔堬紵

7.寮曠敤35,64妤?/span>:Xcode8 + iOS8 杩涘叆鏂偣寰堝崱,浣曡В?

鎸佺画鏇存柊涓?..
[ 姝ゅ笘琚玾o709128079鍦?016-09-26 10:57閲嶆柊缂栬緫 ]
鍥剧墖:灞忓箷蹇収 2016-09-20 涓婂崍11.10.23.png聽
推荐分类: 移动开发 Android Iphone Windows Mobile Symbian BlackBerry QT开发 Brew MeeGo 移动平台 移动软件开发 电信IT应用开发 移动应用
推荐标签: php websocket input navicat finereport
相关文章
最新发表
热门推荐