编译器错误:无效的库文件-CoreLocation [英] Compiler error: Invalid library file - CoreLocation
问题描述
我有一个用Xcode 8创建的应用程序.我在该应用程序中使用了CoreLocation和MapKit.
I have one of my application, that is created in Xcode 8. I have used CoreLocation and MapKit in that app.
到目前为止,我的应用程序更新为最新的iOS
.而且工作正常.现在,我要使用iOS 1
更新应用程序.因此,我使用Xcode 11.0
打开了应用,并更新了所有必需的代码.还更新了Xcode执行更改"以及所有这些建议的设置.
I have update app with latest iOS
till now. and it was working fine. Now I am updating application with iOS 1
. So I hvae opened app with Xcode 11.0
and updated all the required code. Also updated setting that is suggested by Xcode "Perform Changes" and all that.
现在我运行应用程序,但是出现类似
Now I run application, but I am getting error like :
Compiler error: Invalid library file
.
我已经搜索了很多,但是找不到任何解决方案.这是新的Xcode
还是新的iOS
中的错误?
I have searched lot, but can't find any solution. Is this a bug in new Xcode
or new iOS
?
我需要做一些额外的更改或设置吗?请指导我. 这是Apple已知的错误吗?
Is there anything I have to do extra changes or settings ? Please guide me. Is this known bug by Apple ?
编辑:
2019-10-18 10:34:39.899827 + 0530 MapLocation [1697:57778]编译器错误:无效的库文件 2019-10-18 10:34:39.900098 + 0530 MapLocation [1697:57778]编译器错误:无效的库文件 2019-10-18 10:34:39.915973 + 0530 MapLocation [1697:57778]编译器错误:无效的库文件 2019-10-18 10:34:39.916228 + 0530 MapLocation [1697:57778]编译器错误:无效的库文件
2019-10-18 10:34:39.899827+0530 MapLocation[1697:57778] Compiler error: Invalid library file 2019-10-18 10:34:39.900098+0530 MapLocation[1697:57778] Compiler error: Invalid library file 2019-10-18 10:34:39.915973+0530 MapLocation[1697:57778] Compiler error: Invalid library file 2019-10-18 10:34:39.916228+0530 MapLocation[1697:57778] Compiler error: Invalid library file
2019-10-18 10:34:39.920608 + 0530 MapLocation [1697:57778]更新的坐标为:< + 23.02055700,+ 72.50524900> +/- 5.00m(速度-1.00 mps/路线-1.00)@ 10 /18/19,10:34:39 AM印度标准时间
2019-10-18 10:34:39.920608+0530 MapLocation[1697:57778] Updated coordinate are : <+23.02055700,+72.50524900> +/- 5.00m (speed -1.00 mps / course -1.00) @ 10/18/19, 10:34:39 AM India Standard Time
2019-10-18 10:34:39.920697 + 0530 MapLocation [1697:57778]纬度:-23.0206,经度:-72.5052
2019-10-18 10:34:39.920697+0530 MapLocation[1697:57778] Latitude:- 23.0206, Longitude:- 72.5052
2019-10-18 10:34:39.925441 + 0530 MapLocation [1697:57778]输入---->(纬度:-23.0206,经度:-72.5052),半径:-300.00
2019-10-18 10:34:39.925441+0530 MapLocation[1697:57778] Entering in ----> (Latitude:- 23.0206, Longitude:- 72.5052), With Radius:- 300.00
2019-10-18 10:34:39.925546 + 0530 MapLocation [1697:57778]陈述为---->(纬度:-23.0206,经度:-72.5052),半径:-300.00
2019-10-18 10:34:39.925546+0530 MapLocation[1697:57778] Stated in ----> (Latitude:- 23.0206, Longitude:- 72.5052), With Radius:- 300.00
2019-10-18 10:34:39.926582 + 0530 MapLocation [1697:57778]从---->退出(纬度:-23.0021,经度:-72.4995),半径:-300.00
2019-10-18 10:34:39.926582+0530 MapLocation[1697:57778] Exit from ----> (Latitude:- 23.0021, Longitude:- 72.4995), With Radius:- 300.00
2019-10-18 10:34:39.926683 + 0530 MapLocation [1697:57778]表示为---->(纬度:-23.0021,经度:-72.4995),半径:-300.00
2019-10-18 10:34:39.926683+0530 MapLocation[1697:57778] Stated in ----> (Latitude:- 23.0021, Longitude:- 72.4995), With Radius:- 300.00
2019-10-18 10:34:39.932080 + 0530 MapLocation [1697:57778]编译器错误:无效的库文件 2019-10-18 10:34:39.932268 + 0530 MapLocation [1697:57778]编译器错误:无效的库文件 2019-10-18 10:34:39.948942 + 0530 MapLocation [1697:57778]编译器错误:无效的库文件 2019-10-18 10:34:39.949220 + 0530 MapLocation [1697:57778]编译器错误:无效的库文件
2019-10-18 10:34:39.932080+0530 MapLocation[1697:57778] Compiler error: Invalid library file 2019-10-18 10:34:39.932268+0530 MapLocation[1697:57778] Compiler error: Invalid library file 2019-10-18 10:34:39.948942+0530 MapLocation[1697:57778] Compiler error: Invalid library file 2019-10-18 10:34:39.949220+0530 MapLocation[1697:57778] Compiler error: Invalid library file
推荐答案
我也看到了这个问题.仅当为MKMapView实现renderFor叠加层时,才会发生这种情况.如果没有此功能,我将无法显示要添加到mapView的折线.在Xcode 10中运行正常.
I'm seeing this issue also. It only happens if you implement the renderFor overlay for MKMapView. And without this function, I can't display the polyline that I'm adding to the mapView. This was working fine in Xcode 10.
这篇关于编译器错误:无效的库文件-CoreLocation的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!