cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to build my iOS app using Alfresco sdk

rowanbean
Champ in-the-making
Champ in-the-making
Hi,

We're working on iOS application and we are planning to make use of Alfresco CMS and build our own iOS app using Alfresco api.

But, we decided to do RnD on iOS SDK by trying to get clone of your Alfresco app and build it. Its not working and its giving me error.

Can anyone help me to setup the iOS SDK correctly, I'm sure there's something I'm missing to do. All we want to demonstrate is listing our documents and viewing them using QuickLook framework. So we need to know few things:

1. How to work with the SDK and build iOS app without error.

2. API for listing document(we know this).

3. API for fetching specific document from our local Alfresco server where we have uploaded those documents.

4. Can we edit those document?

Thanks in Advance Smiley Happy
3 REPLIES 3

mikeh
Star Contributor
Star Contributor
Hi

Could you give more details on the error you're seeing please? Note that our own app at alfresco-ios-app is built on top of the SDK, so that's the best example we have. However if you give more details of the problem you're seeing, we might be able to point you in the right direction.

Thanks,
Mike

sky4055
Champ in-the-making
Champ in-the-making
Hi Mike,
I downloaded the sources on Github (alfresco-ios-app-ios 2.1.1 and alfresco-sdk-1.4.0) on my Mac with Xcode 6.1.
By building the application, I get an error "AlfrescoSDK-IOS / AlfrescoSDK.h 'file not found in the file" AlfrescoKit-Prefix.pch "on line" #import <AlfrescoSDK-iOS / AlfrescoSDK.h>
I start with programming in XCode, but I need to get a IPA for alfresco mobile application.
Could you help me ?

mikeh
Star Contributor
Star Contributor
When you clone the GitHub repository, make sure you use the "–recursive" flag, i.e.
git clone –recursive git@github.com:Alfresco/alfresco-ios-app.git

You can update an already cloned project using
git submodule update –init —recursive