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

無法更改 Xcode 4.5 中的目標(biāo)成員身份可見性

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

問題描述

限時(shí)送ChatGPT賬號(hào)..

我目前嘗試在我的應(yīng)用程序中排除我的應(yīng)用程序內(nèi)購(gòu)買邏輯,以使其可在我的其他應(yīng)用程序中重復(fù)使用,甚至將其放在公共 git 存儲(chǔ)庫(kù)中供其他人使用.為此,我遵循了在 XCode 中創(chuàng)建框架的本指南.

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 設(shè)置為 public.問題是,在我的 Xcode (v 4.5) 中,單擊 .h 文件時(shí)看不到任何可見性(當(dāng)我單擊 .m 等其他文件時(shí)也看不到任何可見性).看起來是這樣的:

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:

我做錯(cuò)了什么?

推薦答案

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

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.

您可以將復(fù)制標(biāo)題"構(gòu)建階段添加到您在第 1 步中創(chuàng)建的目標(biāo)(示例中為 Serenity),而不是更改目標(biāo)成員的可見性.這將有公共、私有和項(xiàng)目標(biāo)題的 3 個(gè)部分.只需單擊底部的加號(hào)和要在此步驟中公開的標(biāo)題.默認(rèn)情況下,它們被放置在 Project 部分,但您可以單擊并將它們拖動(dòng)到 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.

本教程的其余部分應(yīng)該可以正常工作.

The rest of the tutorial should work fine from there.

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

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

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

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

相關(guān)文檔推薦

UITableView: Handle cell selection in a mixed cell table view static and dynamic cells(UITableView:在混合單元格表視圖靜態(tài)和動(dòng)態(tài)單元格中處理單元格選擇)
How to remove Address Bar in Safari in iOS?(如何在 iOS 中刪除 Safari 中的地址欄?)
iOS 5 SDK is gone after upgrade to Xcode 4.5(升級(jí)到 Xcode 4.5 后,iOS 5 SDK 消失了)
Having trouble creating UIImage from CIImage in iOS5(在 iOS5 中從 CIImage 創(chuàng)建 UIImage 時(shí)遇到問題)
Open target=quot;_blankquot; links outside of UIWebView in Safari(打開目標(biāo)=“_blank;Safari 中 UIWebView 之外的鏈接)
Get list of all photo albums and thumbnails for each album(獲取所有相冊(cè)的列表和每個(gè)相冊(cè)的縮略圖)
主站蜘蛛池模板: 亚洲精品久久久一区二区三区 | 久久夜视频 | 国产精品视频一二三区 | 欧美日韩视频一区二区 | 日韩欧美中文字幕在线观看 | 色综合久久天天综合网 | 亚洲精品1区 | 国产美女精品视频 | 拍真实国产伦偷精品 | 日本三级在线 | a黄在线观看 | 亚洲国产91| 久久精品久久综合 | 99国内精品久久久久久久 | 黄色毛片一级 | 欧美一级在线免费观看 | 人人爽日日躁夜夜躁尤物 | 国产羞羞视频在线观看 | av影音资源 | 精品久久久久久亚洲精品 | 秋霞精品 | 国产亚洲网站 | 国产日韩精品一区二区 | 伊人狠狠操 | 国产精品三级 | 精品一区国产 | 亚洲欧美另类在线观看 | 午夜激情视频 | 91视频麻豆 | 精品久久久久久亚洲综合网 | www.av7788.com| 亚洲最新在线视频 | 国产亚洲一区二区三区在线观看 | 国产精品国产成人国产三级 | 国产在线观看一区二区 | 国产日韩欧美在线 | 国产精品亚洲成在人线 | 一级毛片在线看 | 精品小视频 | 51ⅴ精品国产91久久久久久 | 美女日批免费视频 |