gpt4 book ai didi

iOS Objective-C 设置框架版本

转载 作者:行者123 更新时间:2023-11-29 11:46:55 26 4
gpt4 key购买 nike

我找到了一个实现这样的框架版本的建议:

I have found that Apple's new Cocoa Touch frameworks supported in Xcode 6, offer an easy answer to this problem. In the default header file created for you, something like Framework.h, you'll see two constants declared for you. These are defined later presumably at runtime by internal framework logic. But I have confirmed they're pulled from the plist for the framework.

//! Project version number for LocalSearch.
FOUNDATION_EXPORT double FrameworkVersionNumber;

//! Project version string for LocalSearch.
FOUNDATION_EXPORT const unsigned char FrameworkVersionString[];

但是我不确定如何在我的框架中实际将其设置为 1.1.1。谁能给我一个如何设置这些值的例子?我不太熟悉如何正确设置 char

最佳答案

您可以在目标的常规选项卡中设置您的框架版本,参见附图。

enter image description here

关于iOS Objective-C 设置框架版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43231029/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com