久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

ios5 ARC 什么是從 ARC 中排除文件的編譯器標志?

ios5 ARC what is the compiler flag to exclude a file from ARC?(ios5 ARC 什么是從 ARC 中排除文件的編譯器標志?)
本文介紹了ios5 ARC 什么是從 ARC 中排除文件的編譯器標志?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

誰能幫我記住告訴 XCode 對某些文件不使用 ARC 的標志是什么?我的項目中有幾個文件被標記為這樣...直到我添加了另一個文件并決定將其轉換為 ARC.聽起來很容易,對吧?我希望我能夠簡單地檢查我想要的文件并讓 XCode 發揮它的魔力.好吧,不是那么容易,在預檢查期間它從文件中刪除了所有 -Noarc 標志,現在我需要手動將標志重新應用于多個文件.

Can anyone help me remember what was the flag to tell the XCode to not use ARC for some file? I had several files in my project marked as such... Until I added another file and decided to convert that one to ARC. Sounds easy, right? I expected that I would be able to simply check a file that I want and let the XCode do it's magic. Well, not so easy, during pre-check it stripped all -Noarc flags from the files and now I need to manually re- apply the flag to several files.

這個故事的寓意是:一旦您的項目在 ARC 中并且您有一些文件標記為無 ARC,請不要從 Refactor>Convert to ARC 重新運行轉換為 ARC 工具.即使預檢查失敗,它也不會恢復您的設置.

the moral of this story is: once your project is in ARC and you have some files marked as no ARC, do not re-run the convert to ARC tool from Refactor>Convert to ARC. It will not restore your settings even if pre-check fails.

推薦答案

我找到了答案:要從 ARC 中排除文件,請在構建階段使用 -fno-objc-arc 標志>compile來源

I found the answer: to exclude the file from ARC, use the -fno-objc-arc flag in build phases>compile sources

這篇關于ios5 ARC 什么是從 ARC 中排除文件的編譯器標志?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Can#39;t change target membership visibility in Xcode 4.5(無法更改 Xcode 4.5 中的目標成員身份可見性)
UITableView: Handle cell selection in a mixed cell table view static and dynamic cells(UITableView:在混合單元格表視圖靜態和動態單元格中處理單元格選擇)
How to remove Address Bar in Safari in iOS?(如何在 iOS 中刪除 Safari 中的地址欄?)
iOS 5 SDK is gone after upgrade to Xcode 4.5(升級到 Xcode 4.5 后,iOS 5 SDK 消失了)
Having trouble creating UIImage from CIImage in iOS5(在 iOS5 中從 CIImage 創建 UIImage 時遇到問題)
Open target=quot;_blankquot; links outside of UIWebView in Safari(打開目標=“_blank;Safari 中 UIWebView 之外的鏈接)
主站蜘蛛池模板: 福利社午夜影院 | 久久毛片| 91久久精| 久草网站 | 国产精品免费一区二区三区四区 | 欧美一级大片免费观看 | 日韩精品视频一区二区三区 | 色婷婷综合久久久中文字幕 | 亚洲精品视频三区 | 中文字幕一区二区三区四区五区 | 中日av| 日韩一区二区三区在线观看 | 日韩一区中文字幕 | 99热精品在线观看 | 国产www.| 二区av | 久久精品亚洲 | 人人爽人人草 | 真人一级毛片 | 在线观看中文字幕 | 亚洲精品视频免费看 | 国产性生活一级片 | 国产91久久久久蜜臀青青天草二 | 国产精品一区二区无线 | 人人九九精 | 久热免费 | 久久精品一级 | 欧美在线一区二区三区 | 黄色片在线免费看 | 高清成人av | 国产精品久久久久久久久免费相片 | 99爱国产 | 欧美电影一区 | 婷婷久久一区 | 午夜欧美一区二区三区在线播放 | 国产不卡一区在线观看 | 欧美日韩综合一区 | 久久999| 日韩久久精品 | 亚洲第一福利视频 | 欧美日韩国产三级 |