简体   繁体   English

由于HEALTHKIT参考,Xamarin.ios构建被拒绝

[英]Xamarin.ios build rejected due to HEALTHKIT reference

My xamarin.ios build has been rejected from the app center due to reference of HEALTHKIT framework. 由于引用了HEALTHKIT框架,我的xamarin.ios构建已被应用程序中心拒绝。 I can't set linker to SDK framework only because of some 3rd party liberary. 我不能仅由于某些第三方库而将链接器设置为SDK框架。 Also, I have uploaded a nee build with mtouch parameter "--linkskip=HealthKit", still my app got rejected 2nd time. 另外,我上载了带有mtouch参数“ --linkskip = HealthKit”的nee版本,但我的应用还是第二次被拒绝。 Can anyone please guide me what more cahnges need to be done to remove the reference of HEALTHKIT framework from the application. 任何人都可以指导我,需要采取什么进一步的措施才能从应用程序中删除HEALTHKIT框架的引用。 Amy suggestion will be helpful 艾米的建议会有所帮助

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 : 我在Mac上使用grep来找到上述引用:

 $ 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. 然后,我一个接一个地删除软件包,并重新构建项目以找到引用它的软件包,一旦我在项目中再也找不到健康参考,便能够通过Apple验证。

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. 我希望这有帮助。

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

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