In trying to install the latest SDK update for iOS, I am hitting an issue with the “Imp.h” import in the SDK delegate. Xcode is telling me that the file is not found. That should exist in the BlinkUp SDK bundle, correct? As far as I know, I have successfully followed the instructions ElectricImp provided with the package. My background with iOS development and Xcode is very small, which I am sure is contributing to not understanding what is happening…
-ADDENDUM:-
I may have been following the instructions too closely… The instructions say “If the View Controller is to be nominated as the SDK delegate, it needs to notify the compiler that it supports the protocol.” Followed by the code:
`#import <UIKit/UIKit.h>
#import <BlinkUp/BlinkUp.h>
#import “Imp.h”
#import “ImpList.h”
@interface EIViewController : UIViewController
{
BlinkUpController *buController;
NSString *apiKey, *planID;
IBOutlet UITextField *ssidField;
IBOutlet UITextField *pwdField;
IBOutlet UITextField *wpsField;
}`
Are the Imp.h and ImpList.h something native to this particular code? Is just adding the interface declaration with sufficient to notify the compiler in this case?
-END ADDENDUM-
The alternative is that I am misreading the build errors Xcode is giving me. I thought these meant that the SDK was out of date, or improperly installed. Any thoughts?
“OBJC_CLASS$_BlinkUpController”, referenced from:
objc-class-ref in EIViewController.o
“OBJC_CLASS$_BlinkUpNetworkManager”, referenced from:
objc-class-ref in EIViewController.o
“OBJC_CLASS$_BlinkUpWPSConfig”, referenced from:
objc-class-ref in EIViewController.o
“OBJC_CLASS$_BlinkUpWifiConfig”, referenced from:
objc-class-ref in EIViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)