CreativeSDK / phonegap-plugin-csdk-image-editor

A PhoneGap plugin for the Creative SDK Image Editor.
Apache License 2.0
35 stars 15 forks source link

iOS: Compatibility with current SDK version #34

Open tomsun opened 7 years ago

tomsun commented 7 years ago

The current download at https://creativesdk.adobe.com/downloads.html at the time of writing is CreativeSDK-iOS-v0.15.2181.1.zip, which extracts to a directory AdobeCreativeSDKDynamicFrameworks unlike README's suggestion AdobeCreativeSDKFrameworks.

Furthermore, the file tree has a different structure than expected by phonegap-plugin-csdk-image-editor:

Installing "phonegap-plugin-csdk-image-editor" for ios
Error during processing of action! Attempting to revert...
Failed to install 'phonegap-plugin-csdk-image-editor': CordovaError: Uh oh!
Cannot find resource file "/opt/myapp/plugins/phonegap-plugin-csdk-image-editor/src/ios/AdobeCreativeSDKFrameworks/AdobeCreativeSDKImage.framework/Versions/A/Resources/AdobeCreativeSDKImageResources.bundle" for plugin phonegap-plugin-csdk-image-editor in iOS platform

There is also a CreativeSDK-iOS-v0.15.2181.1_deprecated.zip available which the expected directory structure. It however, does not seem to have 64 bit support:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_AdobeUXAuthManager", referenced from:
      objc-class-ref in AdobeCreativeSDKImage(AVYAdobeIDManager.o)
      objc-class-ref in AdobeCreativeSDKImage(AdobeUXImageEditorViewController.o)
      objc-class-ref in AdobeCreativeSDKImage(AdobeUXImageEditorViewController+Compatibility.o)
  "_AdobeAuthManagerLoggedOutNotification", referenced from:
      -[AVYAdobeIDManager init] in AdobeCreativeSDKImage(AVYAdobeIDManager.o)
      -[AVYAdobeIDManager dealloc] in AdobeCreativeSDKImage(AVYAdobeIDManager.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)