I need to use an existing IOS SDK into my app, but I am a bit confused about the steps to follow: I have read some posts but it is still unclear to me when a wrapper library is needed or when can it be used directly from inline Objective-C...
This is the platform: https://developer.mocaplatform.com
It is quite large, but I only need an initialization step and declare a callback to be called when a beacon is detected. So, I thought (wished!) that it could be solved using inline objectiveC
For this, I have tried to follow the instructions here: moca-ios-sdk-installation , so I do the following steps
But the builder tells me that it doesn't find MOCA.h (it exists in the B4iBuildServer Libs folder)
Is this approach correct/possible? How should I proceed to use this SDK?
This is the platform: https://developer.mocaplatform.com
It is quite large, but I only need an initialization step and declare a callback to be called when a beacon is detected. So, I thought (wished!) that it could be solved using inline objectiveC
For this, I have tried to follow the instructions here: moca-ios-sdk-installation , so I do the following steps
- Download the SDK and decompress it
- Copy the .a and the various .h files to my local builder libs folder
- Then, in my project, I try to just add a single call from inline objective-C
B4X:
#If OBJC
#import "MOCA.h"
- (void)MocaInit {
[MOCA initializeSDK];
}
#end if
But the builder tells me that it doesn't find MOCA.h (it exists in the B4iBuildServer Libs folder)
Is this approach correct/possible? How should I proceed to use this SDK?