gpt4 book ai didi

ios - AdobeCreativeSDK : 'SDK Version Mismatch' , 原因: 'No CreativeSDKFoundation version found'

转载 作者:可可西里 更新时间:2023-11-01 05:11:49 26 4
gpt4 key购买 nike

我必须集成 AviarySDK,它被称为 AdobeCreativeSDK。我添加了 AdobeCreativeSDKFoundationAdobeCreativeSDKImage 以及其他与之相关的框架。还要添加一些链接器标志。并引用以下链接。我正在使用 XCode 6.1。

  1. https://creativesdk.adobe.com/docs/ios/#/articles/imageediting/index.html
  2. https://creativesdk.zendesk.com/hc/en-us/articles/202903359-Migrating-from-the-Aviary-SDK-to-the-Adobe-Creative-SDK-Beta

这是我的代码。

#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];
}

但是我遇到了一些未知的错误,如下所示。

*** Terminating app due to uncaught exception 'SDK Version Mismatch', reason: 'No CreativeSDKFoundation version found'

请检查下面的屏幕截图。

enter image description here

我错过了什么?我们将不胜感激。

最佳答案

我发现了问题。您必须在必须手动添加的 Build Phases ▸ Copy Bundle Resource 下为每个框架添加捆绑资源。捆绑资源存在于 AdobeCreativeSDKImage.framework ▸ 版本 ▸ A ▸ 资源 下。对您添加到项目中的所有框架执行相同的步骤。

关于ios - AdobeCreativeSDK : 'SDK Version Mismatch' , 原因: 'No CreativeSDKFoundation version found',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29338701/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com