yasirkula / UnityNativeCamera

A native Unity plugin to take pictures/record videos with device camera on Android & iOS
MIT License
615 stars 71 forks source link

Debug error when i try to builg project #68

Closed Akira8707 closed 3 years ago

Akira8707 commented 3 years ago

My project is successfully running on Unity,And i also build a android apk,it runs good. but i get lot's of errors when I try to compile on Xcode. I have followed the Setup:

{CC2F2907-D20C-BE95-9095-46E97FF744CB} {41196ABF-B728-E8A4-B25E-0951C1793724}

but when combile , i got lots errors

{740247B1-5076-90C9-111A-DB854F2D7F40}

First, I have tried old version plugins that it used NativeGallery.cs,but XCode also report lots Error like above. then i find the newest on github,but it didnt work. i think there is something i did't know ,for this is the second time i work unity on ios. hope you can help me ,thank you!!!

yasirkula commented 3 years ago

Did you add insert -framework MobileCoreServices -framework ImageIO to both Unity-iPhone Target and UnityFramework Target? If possible, I'd suggest using automated setup.

Akira8707 commented 3 years ago

thanks for your helping, it is solved by insert -framework MobileCoreServices -framework ImageIO to UnityFramework Target