的自動生成的報頭作爲每約內部訪問修飾符蘋果文檔: For framework targets, only declarations with the public or open
modifier appear in the generated header.
現在我寫具有目標C &夫特混合框架。在我定義的快捷類: import Foundation
@objc(Utility)
i
我有 一個應用目標項目鏈接到嵌入式框架:MyApp 一個嵌入式框架目標:MyKit.framework 一個應用程序擴展目標:MyExtension Here is a sample project. 我想使用的MyKit共享代碼的MyExtension但是當我聯繫,我得到警告 ld: warning: linking against a dylib which is not safe for u