microsoft / Cognitive-Face-iOS

iOS SDK for the Microsoft Face API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/face-api
Other
184 stars 64 forks source link

Coach on swift 4.0 version #40

Closed chandanmishra1995 closed 6 years ago

chandanmishra1995 commented 6 years ago

Hello team, I have tried this SDK on swift 4.0 version and import MPOFaceSDK.h and #import <ProjectOxfordFace/MPOFaceSDK.h> in bridging header after integration and apply the face detect code it get crash in completion block, says Thread 1: EXC_BAD_ACCESS (code=1, address=0x10) , please provide any SDK on swift version. Or give any solution to implement this SDK on swift.

screen shot 2017-11-01 at 7 53 13 pm

huxuan commented 6 years ago

Hi @chandanmishra1995, I am not an iOS dev expert, but for our iOS SDK, we use cocapods for the package management, as it is written in Obj-C rather than swift. I think you may also need that for using the package. Feel free to reach back if you have any further questions.

chandanmishra1995 commented 6 years ago

Now it is working, my pod is not working well so that i got all the files in internal structure Thanks for giving me your time.

huxuan commented 6 years ago

Close as problem resolved.