Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/93.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 集成Google Analytics后Aviry SDK崩溃_Ios_Aviary - Fatal编程技术网

Ios 集成Google Analytics后Aviry SDK崩溃

Ios 集成Google Analytics后Aviry SDK崩溃,ios,aviary,Ios,Aviary,最近,我在我的iOS应用程序中集成了谷歌分析框架。在集成之前,鸟舍工作正常,但现在鸟舍工作不正常。我使用的是xcode 5。错误是 Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AFPhotoEditorCustomization setEditorSettingsDefaults]: unrecognized selector sent to instance 0xc216

最近,我在我的
iOS
应用程序中集成了谷歌分析框架。在集成之前,鸟舍工作正常,但现在鸟舍工作不正常。我使用的是
xcode 5
。错误是

 Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AFPhotoEditorCustomization setEditorSettingsDefaults]: unrecognized selector sent to instance 0xc2164a0'
*** First throw call stack:
(
    0   CoreFoundation                      0x03c2b5e4 __exceptionPreprocess + 180
    1   libobjc.A.dylib                     0x02e338b6 objc_exception_throw + 44
    2   CoreFoundation                      0x03cc8903 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
    3   CoreFoundation                      0x03c1b90b ___forwarding___ + 1019
    4   CoreFoundation                      0x03c1b4ee _CF_forwarding_prep_0 + 14
    5   VerizonCaseCustomizer               0x0022f436 -[AFPhotoEditorCustomization initWithDictionary:] + 192
    6   VerizonCaseCustomizer               0x0022effb +[AFPhotoEditorCustomization options] + 198
    7   VerizonCaseCustomizer               0x0022f32a +[AFPhotoEditorCustomization optionValueForKey:] + 58
    8   VerizonCaseCustomizer               0x00222f16 +[AFLocalization isLocalizationDisabled] + 49
    9   VerizonCaseCustomizer               0x001feaa1 AFLocalizedString + 52
    10  VerizonCaseCustomizer               0x001c118d -[AFSDKViewController viewDidLoad] + 113
    11  UIKit                               0x007209a8 -[UIViewController loadViewIfRequired] + 696
    12  UIKit                               0x00720c44 -[UIViewController view] + 35
    13  VerizonCaseCustomizer               0x0008ec37 -[verizonlibrary displayPhotoEditorWithImage:] + 2247
    14  VerizonCaseCustomizer               0x0008def9 -[verizonlibrary facebookimageslater:] + 905
    15  Foundation                          0x0285d36c __NSFireDelayedPerform + 372
    16  CoreFoundation                      0x03be9c46 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
    17  CoreFoundation                      0x03be962d __CFRunLoopDoTimer + 1181
    18  CoreFoundation                      0x03bd1698 __CFRunLoopRun + 1816
    19  CoreFoundation                      0x03bd0b33 CFRunLoopRunSpecific + 467
    20  CoreFoundation                      0x03bd094b CFRunLoopRunInMode + 123
    21  GraphicsServices                    0x03b879d7 GSEventRunModal + 192
    22  GraphicsServices                    0x03b877fe GSEventRun + 104
    23  UIKit                               0x0060d94b UIApplicationMain + 1225
    24  VerizonCaseCustomizer               0x0000611f main + 79
    25  libdyld.dylib                       0x0689970d start + 1
    26  ???                                 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

如果我不清楚,请告诉我。提前感谢。

设置-ObjC-all\u从生成设置加载到其他链接器标志

设置-ObjC-all\u从生成设置加载到其他链接器标志

您也可以在其他链接器标志中使用-force\u加载标志。您可以通过在其他链接器标志中包含以下内容来实现此目的:


-force\u load/path/to/AviarySDK.framework

您还可以在其他链接器标志中使用-force\u load标志。您可以通过在其他链接器标志中包含以下内容来实现此目的:


-force_load/path/to/AviarySDK.framework
添加链接器标志

更新目标(或项目)的
生成设置
,以包括以下
“其他链接器标志”

-ObjC
-全部加载

像这样:

添加链接器标志

更新目标(或项目)的
生成设置
,以包括以下
“其他链接器标志”

-ObjC
-全部加载

像这样: