Xamarin.ios build rejected due to HEALTHKIT reference

妖精的绣舞 提交于 2019-12-18 09:04:24

问题


My xamarin.ios build has been rejected from the app center due to reference of HEALTHKIT framework. I can't set linker to SDK framework only because of some 3rd party liberary. Also, I have uploaded a nee build with mtouch parameter "--linkskip=HealthKit", still my app got rejected 2nd time. Can anyone please guide me what more cahnges need to be done to remove the reference of HEALTHKIT framework from the application. Amy suggestion will be helpful


回答1:


I had this recently, also tried what I could find online with no luck.

I used grep on the mac to find the said references :

 $ strings directory/Payload/UpCarePro.iOS.app/UpCarePro.iOS | grep Health

And then I removed packages one by one and rebuilt the project to find the one referencing it, once I no longer found any health reference in my project, I was able to pass Apple verification.

I had no new package causing this, and my app could pass the verification process many times before that, so I don't really understand how it started, but that's how I got rid of it.

I hope this helps.



来源:https://stackoverflow.com/questions/55442764/xamarin-ios-build-rejected-due-to-healthkit-reference

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!