Alfresco / alfresco-ios-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't build alfresco ios app from tag 2.0.1

cristianfrog opened this issue · comments

Hello,
I've downloaded the 2.0.1 tag source code and tried to compile the alfresco-mobile-app with my Xcode 5.1
The steps I did are the following:
-opened AlfrescoApp.xcodeproj from alfresco-ios-app-2.0.1 and imported AlfrescoSDK to AlfrescoApp.
-when I tried to compile it gived me error: Lexical or Preprocessor Issue 'XCTest/XCTest.h' file not found
in file: AlfrescoBaseTest.h
I didn't found how to fix this , so I deleted the AlfrescoSDKTests reference from AlfrescoSDK, tried to re-build but after apparently compiling it gived me error saying:
Apple Mach-O Linker Error - no such file or directory '/Users/cristian/Library/Developer/Xcode/DerivedData/AlfrescoApp-cvmanhmkqyflowbixxbkqcqkrpvu/Build/Products/Debug-iphonesimulator/libAlfrescoSDK1.3.1-debug.a'

Can you help me?

It sounds like perhaps you didn't get the SDK as a submodule when you initially cloned the source code

git clone --recursive git@github.com:Alfresco/alfresco-ios-app.git

If you didn't, you can add the SDK using

git submodule update --init --recursive

Make sure you open the AlfrescoApp.xcworkspace rather than the .xcodeproj otherwise you won't have all the correct dependencies.

Thanks,
Mike