引人误入歧途的报错:Building for ‘iOS-simulator‘, but linking in object file

Building for 'iOS-simulator', but linking in object file (/SomePath/libWeChatSDK.a[arm64][2](WechatAuthSDK.o)) built for 'iOS'

想运行至模拟器上时报这个错,其实原因是:

选成了 release版(修改XCode菜单栏下边的模拟器列表的左边的Scheme列表),改回debug版即可

分析代码:<launch> <!-- Arguments for launch file with defaults provided --> <arg name="database_path" default="rtabmap.db"/> <arg name="rgb_topic" default="/camera/rgb/image_raw"/> <arg name="depth_topic" default="/camera/depth/image_raw"/> <arg name="camera_info_topic" default="/camera/rgb/camera_info"/> <!-- Mapping Node --> <group ns="rtabmap"> <node name="rtabmap" pkg="rtabmap_slam" type="rtabmap" output="screen" args="--delete_db_on_start"> <!-- Basic RTAB-Map Parameters --> <param name="database_path" type="string" value="$(arg database_path)"/> <param name="frame_id" type="string" value="base_footprint"/> <param name="odom_frame_id" type="string" value="/odom"/> <param name="subscribe_depth" type="bool" value="false"/> <param name="subscribe_scan" type="bool" value="true"/> <!-- RTAB-Map Inputs --> <remap from="scan" to="/slam_bot/laser/scan"/> <remap from="rgb/image" to="$(arg rgb_topic)"/> <remap from="depth/image" to="$(arg depth_topic)"/> <remap from="rgb/camera_info" to="$(arg camera_info_topic)"/> <!-- RTAB-Map Output --> <remap from="grid_map" to="/map"/> <!-- Rate (Hz) at which new nodes are added to map --> <param name="Rtabmap/DetectionRate" type="string" value="1"/> <!-- 2D SLAM --> <param name="Reg/Force3DoF" type="string" value="true"/> <!-- Loop Closure Detection --> <!-- 0=SURF 1=SIFT 2=ORB 3=FAST/FREAK 4=FAST/BRIEF 5=GFTT/FREAK 6=GFTT/BRIEF 7=BRISK 8=GFTT/ORB 9=KAZE--> <param name="Kp/DetectorStrategy" type="string" value="0"/> <!-- Maximum visual words per image (bag-of-words) --> <param name="Kp/MaxFeatures" type="string" value="400"/> <!-- Used to extract more or less SURF features --> <param name="SURF/HessianThreshold" type="string" value="100"/> <!-- Loop Closure Constraint --> <!-- 0=Vi
03-16
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值