Reputation: 434
While installing Digits 1.15.1 in iOS app following errors occurs in AppDelegate.m file:
#import <DigitsKit/DigitsKit.h>
[Fabric with:@[[Digits class]]]
statement in didFinishLaunchingWithOptions
methodUpvotes: 1
Views: 212
Reputation: 434
Navigate to Project Name -> Build Settings -> Apple LLVM 7.0-Language-Modules
Set Enable Modules (C and Objective-C) to No (Default - Yes).
This will solve both errors. But it will show another errors in Digits.h file
Solve errors
Navigate to Digits.h
file and remove __TVOS_UNAVAILABLE
from all error statements
Now Build and Run the project that will generate another error statements.
Solve errors
Navigate to Project Name -> Build Settings -> Apple LLVM 7.0-Language-Modules
Set Enable Modules (C and Objective-C) to Yes (Default - No).
Build and Run the project and have fun.
Upvotes: 1