简体   繁体   English

将iOS Aviary集成到iOS

[英]Integrating iOS Aviary into iOS

I have successfully integrated iOS Aviary brand new project, but failed to do so on a current working project following the EXACT same steps. 我已经成功集成了iOS Aviary全新项目,但没有执行完全相同的步骤,就无法在当前的工作项目中进行集成。 (Using XCode 4.5). (使用XCode 4.5)。

I'm getting the error: 我收到错误消息:

[AFPhotoEditorCustomization setVisualDefaults]: 
unrecognized selector sent to instance 0x9869210

See image: 见图片:

附加的Stacktrace

Quick stacktrace: 快速堆栈跟踪:

In the variables under [AFPhotoEditorCustomization options] in the stack trace I can see the variables: resourceBundle and path are both NIL . 在堆栈跟踪的[AFPhotoEditorCustomization options]下的变量中,我可以看到变量: resourceBundlepath都是NIL

I suspect this is something with the resource bundle not being read correctly, maybe due to some project/target settings... 我怀疑这是资源包无法正确读取的问题,可能是由于某些项目/目标设置造成的。

Any idea where to look for? 任何想法在哪里寻找?

I found the problem eventually. 我最终发现了问题。

Had to set -ObjC -all_load -fobjc-arc linker flags on the TARGETS and not on the project. 必须在目标而不是项目上设置-ObjC -all_load -fobjc-arc链接器标志。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM