How to properly add dreamfactory API to an Xcode project?


#1

I have tried ways like creating a “group” in xcode project and then copying the API files inside.
And I have tried copying the entire “ios-sdk” example provided by dreamfactory at
https://github.com/dreamfactorysoftware/ios-sdk.

Any help is appreciated thanks!


#2

/Users/ios/Desktop/xCode Projects/dreamfactory ios-sdk-master/SampleApp/TodoList/SWGEnvironmentResponse.m:4:17: Method definition for ‘server:swgrelease:platform:php_info:’ not found

I get this error when i Copy the API folder to my project.


#3

Try cleaning and then rebuilding the project.
You should only need the NIKFile and NIKAppInvoker files, so perhaps only copy those into your project.