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

無法更改 Xcode 4.5 中的目標成員身份可見性

Can#39;t change target membership visibility in Xcode 4.5(無法更改 Xcode 4.5 中的目標成員身份可見性)
本文介紹了無法更改 Xcode 4.5 中的目標成員身份可見性的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

我目前嘗試在我的應用程序中排除我的應用程序內購買邏輯,以使其可在我的其他應用程序中重復使用,甚至將其放在公共 git 存儲庫中供其他人使用.為此,我遵循了在 XCode 中創建框架的本指南.

I currently try to exclude my In-App Purchase logic in an App of mine to make it reusable in other Apps of mine or even put it on a public git repository for others to use. For this purpose I follow this guide of creating a framework in XCode.

但在 第 2 步我必須將我的 .h 文件的 Target Membership 設置為 public.問題是,在我的 Xcode (v 4.5) 中,單擊 .h 文件時看不到任何可見性(當我單擊 .m 等其他文件時也看不到任何可見性).看起來是這樣的:

But in step 2 I have to set the Target Membership of my .h file to public. The problem is, that in my Xcode (v 4.5) I can't see any visibility when the .h file is clicked (and also not when I click other files like .m ones). It looks like that:

我做錯了什么?

推薦答案

我遇到了同樣的問題,并在發布一個小時后發現了您的問題,但這是我發現的.在 Xcode 4.4 中,更改頭文件的目標成員資格和可見性的功能已被刪除,因此本教程將無法按所寫的那樣工作.

I came across this same problem and found your question an hour after it was posted but here is what I have found. In Xcode 4.4 the ability to change the target membership, and visibility, for header files was removed so this tutorial will not work as written.

您可以將復制標題"構建階段添加到您在第 1 步中創建的目標(示例中為 Serenity),而不是更改目標成員的可見性.這將有公共、私有和項目標題的 3 個部分.只需單擊底部的加號和要在此步驟中公開的標題.默認情況下,它們被放置在 Project 部分,但您可以單擊并將它們拖動到 Public 部分.

Instead of changing the target membership visibility you can add a "Copy Headers" build phase to the target you made in step 1 (Serenity in the example). This will have 3 sections for Public, Private, and Project headers. Just click the plus at the bottom and the headers you want to be public to this step. By default they are put in the Project section but you can click and drag them to the Public section.

本教程的其余部分應該可以正常工作.

The rest of the tutorial should work fine from there.

剛剛注意到在我自己的項目中,在添加復制頭文件構建步驟之后,可以為頭文件選擇目標成員身份,因此教程按編寫的方式工作.雖然我的框架標題似乎有點奇怪.在任何情況下,在構建階段更改可見性都會反映在目標成員資格下,反之亦然

Just noticed that in my own project, after adding the copy headers build step, that the target membership can be selected for header files so the tutorial works as written. Though it seems to act a little strange with my framework header. In any case, changing the visibility in the build phase is reflected under target membership and vice versa

這篇關于無法更改 Xcode 4.5 中的目標成員身份可見性的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

相關文檔推薦

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 之外的鏈接)
Get list of all photo albums and thumbnails for each album(獲取所有相冊的列表和每個相冊的縮略圖)
主站蜘蛛池模板: 欧美中文 | 久久精品av | 在线观看亚洲精品 | 精品在线一区 | 亚洲精品毛片av | 5060网一级毛片 | www.久| 国产一区二区麻豆 | 久久久久一区二区三区 | 国产精品视频一区二区三区, | 精品久久国产 | 天天综合日日夜夜 | 成人国产免费视频 | 国产成人jvid在线播放 | 亚洲第一区国产精品 | 午夜电影网 | 国产精品毛片av一区 | 中文字幕不卡 | 精品国产乱码久久久久久影片 | 欧美视频在线观看 | 亚洲视频区 | 中文字幕在线免费视频 | 精品综合视频 | 成人在线中文字幕 | 国产精品99精品久久免费 | 国产无套一区二区三区久久 | 欧美精品久久久久 | 欧美成人第一页 | 亚洲精品9999久久久久 | 久久999| 在线看黄免费 | 亚州精品天堂中文字幕 | 国产伦精品一区二区三毛 | 久久av一区 | 国产精品久久久久久久久久久久 | 国内在线视频 | 91在线观看网址 | 亚洲视频中文字幕 | 欧美午夜视频 | 91视频一区二区 | av中文在线播放 |