Xcode在哪里存储存档框架? [英] Where does Xcode store archived frameworks?
问题描述
我使用 Cocoa Framework模板创建了一个Xcode项目。当我存档时,在管理器中看不到它。
I created an Xcode project with the "Cocoa Framework" template. When I archive it, it isn't visible in the Organizer.
存档存储在哪里?
推荐答案
您可以仅包含一个 复制文件构建阶段
,而不是设置自定义位置或弄乱Xcode的首选项。应该将已存档的框架正确添加到管理器中。
Instead of setting custom locations or messing with Xcode's preferences, you could just include a Copy Files Build Phase
that should add the archived Framework properly into Organizer.
使用绝对具有变量
似乎可以正常工作。然后,您应该在XCode的Organizer或以下文件中找到任何存档: $(BUILD_DIR)
的路径
Using an Absolute Path
with the variable$(BUILD_DIR)
seems to work fine. You should then find any archives in XCode's Organizer or in:
〜/ Library / Developer / Xcode / Archives
~/Library/Developer/Xcode/Archives
这篇关于Xcode在哪里存储存档框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!