iOS   发布时间:2022-03-30  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了ios – Adob​​eCreativeSDK:’SDK Version Mismatch’,原因:’找不到CreativeSDKFoundation版本’大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我要集成AviarySDK,即AdobeCreativeSDK.
添加了AdobeCreativeSDKFoundation和AdobeCreativeSDK Image以及与之相关的其他框架.还添加一些链接器标志.并参以下链接.
我正在使用XCode 6.1 ..

> https://creativesdk.adobe.com/docs/ios/#/articles/imageediting/index.html
> @L_696_6@

这是我的代码.

#import <AdobeCreativeSDKFoundation/AdobeCreativeSDKFoundation.h>
#import <AdobeCreativeSDKImage/AdobeCreativeSDKImage.h>

添加了AdobeUXImageEditorViewControllerDelegate

[[AdobeUXAuthManager sharedManager]setAuthenticationParametersWithClientID:@"MyKey" withClientSecret:@"MySecret"];
AVYPhotoEditorController *editorController = [[AVYPhotoEditorController alloc] initWithImage:imageToEdit];
    [editorController setDelegate:self];
[self presentViewController:editorController animated:YES completion:nil];

#pragma mark - AdobeCreativeSDK Delegates
- (void)photoEditor:(AdobeUXImageEditorViewController *)editor finishedWithImage:(UIImage *)image
{
    //Got Image.
    [self dismissviewControllerAnimated:YES completion:nil];
}
- (void)photoEditorCanceled:(AdobeUXImageEditorViewController *)editor
{
    [self dismissviewControllerAnimated:YES completion:nil];
}

但我得到了一些未知的错误,如下所示.

请查看以下屏幕截图.

我错过了什么?帮助将是适当的.

解决方法

发现了这个问题.您必须在构建阶段下为每个框架添加捆绑资源▸复制捆绑资源,您必须手动添加. Bundle resource存在于AdobeCreativeSDKImage.framework下▸版本▸答▸资源.对您添加项目中的所有框架执行相同的步骤.

大佬总结

以上是大佬教程为你收集整理的ios – Adob​​eCreativeSDK:’SDK Version Mismatch’,原因:’找不到CreativeSDKFoundation版本’全部内容,希望文章能够帮你解决ios – Adob​​eCreativeSDK:’SDK Version Mismatch’,原因:’找不到CreativeSDKFoundation版本’所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。