ich ein iOS-Framework erstellt sagen CustomFramework und in der CustomFramework.h Datei von Xcode erstellt hat folgende Inhalte standardmäßigKeine vorherige extern-Deklaration für nicht-statische Variable ‚FrameworkNameVersionString‘
#import <UIKit/UIKit.h>
//! Project version number for CustomFramework.
FOUNDATION_EXPORT double CustomFrameworkVersionNumber;
//! Project version string for CustomFramework.
FOUNDATION_EXPORT const unsigned char CustomFrameworkVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <CustomFramework/PublicHeader.h>
Als ich das Projekt erstellen , Bekomme ich diese Warnungen
No previous extern declaration for non-static variable 'CustomFrameworkVersionNumber'
No previous extern declaration for non-static variable 'CustomFrameworkVersionString'
Eine Idee, warum die Standard-Framework-Erstellung würde diese Warnungen geben?
Haben Sie das jemals gelöst? – Dov