简体   繁体   中英

C code compiled as framework for iOS 8 application crashes randomly

I have compiled library code written in C as framework and using it in my iOS 8 application. I am directly calling API from this framework in my code written in objective-c, as in obj-c we can directly call c functions. But this framework crashes randomly. Earlier with iOS 7 this framework was working seamlessly, there was no such issue observed. So, I compiled it with SDK 8.0, but is still crashes randomly.

I hope someone might have solution for this.

Thanks in advance.

I don't think a real solution can be suggested without more information. Run the app in the simulator or on a device, and when a crash happens, Xcode will show you a traceback. That should tell you where the crash is happening, or at least give you some clues.

Report that information back here and maybe we can help :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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