我添加了AdobeCreativeSDKFoundation和AdobeCreativeSDK Image以及与之相关的其他框架.还添加一些链接器标志.并参考以下链接.
我正在使用XCode 6.1 ..
> https://creativesdk.adobe.com/docs/ios/#/articles/imageediting/index.html
> 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>@H_301_19@添加了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];}@H_301_19@但我得到了一些未知的错误,如下所示.
*** Terminating app due to uncaught exception ‘SDK Version Mismatch’,reason: ‘No CreativeSDKFoundation version found’
请查看以下屏幕截图.
我错过了什么?帮助将是适当的.
解决方法 我发现了这个问题.您必须在构建阶段下为每个框架添加捆绑资源▸复制捆绑资源,您必须手动添加. Bundle Resource存在于AdobeCreativeSDKImage.framework下▸版本▸答▸资源.对您添加到项目中的所有框架执行相同的步骤. 总结以上是内存溢出为你收集整理的ios – AdobeCreativeSDK:’SDK Version Mismatch’,原因:’找不到CreativeSDKFoundation版本’全部内容,希望文章能够帮你解决ios – AdobeCreativeSDK:’SDK Version Mismatch’,原因:’找不到CreativeSDKFoundation版本’所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)