Skip to content

Alfresco iOS SDK v1.1.0

Compare
Choose a tag to compare
@mikeh mikeh released this 23 Aug 16:41
· 705 commits to master since this release

ObjectiveCMIS

Built upon ObjectiveCMIS Release 0.2

Debug and Release Binaries

The SDK is now shipped with both debug and release binaries to help control final application size. The differences between the two libraries are:

  • The default log level for the debug build is AlfrescoLogLevelDebug whereas for the release build it is AlfrescoLogLevelInfo. For both libraries, the level can be changed at run time using [AlfrescoLog sharedInstance].logLevel = .... The equivalent log level is passed down to the ObjectiveCMIS library.
  • The release build has debug symbols stripped, which reduces file size by about 50%. This applies to both the Alfresco SDK and the included ObjectiveCMIS library.

To dynamically link to the appropriate library at compile time depending on your own app's configuration:

  • Using Xcode's Navigator view, remove the reference to the libAlfrescoSDKv1.1.0.a library
  • Now view the project settings for your app's target, selecting "Build Settings" and search for "Other Linker Flags".
  • Expand the field to reveal the Debug and Release values and double-click the Debug value to view the popup editor.
  • From a Finder window, drag-and-drop the libAlfrescoSDKv1.1.0-debug.a library into the popup. Xcode should resolve to path to something similar to $(SRCROOT)/AlfrescoSDK/libAlfrescoSDKv1.1.0-debug.a
  • Perform the same step for the Release value with the non-debug library.

A Note About Backward Compatibility

Please be aware that the method signature for the progressBlock has changed and is not backward compatible with previous SDK releases.
Old definition (v1.0.2 and earlier):

progressBlock:^(NSInteger bytesTransferred, NSInteger bytesTotal)

New definition (v1.1 and newer):

progressBlock:^(unsigned long long bytesTransferred, unsigned long long bytesTotal)

Known Issues

  • MOBSDK-518: Updating document contents via iOS SDK for file created via SDK does not update the version number.

    This issue is dependent on the availability of a CheckOut/CheckIn service within ObjectiveCMIS
  • MOBSDK-519: Updating document contents via iOS SDK for file NOT created via SDK does not update the version number.

    This issue is dependent on PUBLICAPI-203: Wrong version returned after HTTP PUT request