extern NSString not accessible since Swift 2.2

Viewed 3478

Since the update to Xcode 7.3 with Swift 2.2 I am not able to access variables from an external Objective-C Library.

Since today I was able to access this variables:

extern NSString* const DEFAULT_URL;  

This is defined in an Objective-C Header file from a precompiled .a framework.

In my swift code I only had to call DEFAULT_URL.

Since Swift 2.2 I get the following errror:

Use of unresolved identifier 'DEFAULT_URL'  

I am able to access the classes and methods of this framework, but I can't access extern NSStrings.

Any ideas how to fix this?

2 Answers
Related