从Cocoapods创建Mapwize Xamarin绑定时出错

时间:2018-07-05 08:32:16

标签: xamarin xamarin.ios mapbox objective-sharpie

我正在尝试为MapwizeForMapbox(1.4.2)创建Xamarin包装器。

第一步工作正常:

>sharpie pod init iphoneos11.4 MapwizeForMapbox

第一个问题:我必须修改 ./ Pods / Mapbox-iOS-SDK / dynamic / Mapbox.framework / Info.plist ,并为 iphoneos11.4 定义< strong> DTSDKName

然后我尝试创建绑定项目,但是那是我被困住了。

>sharpie pod bind

... (Most of the output is not relevant)
Parsing 1 header files...
While building module 'MapwizeForMapbox' imported from /private/var/folders/mh/6zg82ll54dqb88336hy5rt6c0000gn/T/com.xamarin.ObjectiveSharpie/c772554be7d445d3bc547872f8136c50.h:1:
In file included from <module-includes>:1:
In file included from /Users/aktar/Documents/src/BindingProjects/MapWize/Pods/MapwizeForMapbox/MapwizeForMapbox.framework/Headers/MapwizeForMapbox.h:12:
/Users/aktar/Documents/src/BindingProjects/MapWize/Pods/MapwizeForMapbox/MapwizeForMapbox.framework/Headers/MapwizePlugin.h:4:9: fatal error: 'IndoorLocation/IndoorLocation.h' file not found
#import <IndoorLocation/IndoorLocation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/var/folders/mh/6zg82ll54dqb88336hy5rt6c0000gn/T/com.xamarin.ObjectiveSharpie/c772554be7d445d3bc547872f8136c50.h:1:9: fatal error: could not build module 'MapwizeForMapbox'
@import MapwizeForMapbox;
 ~~~~~~~^~~~~~~~~~~~~~~~

有没有人遇到过这个问题?我怎样才能通过它?

当导入到本地iOS项目中时,该库就可以正常工作。

0 个答案:

没有答案