编程那点事编程那点事

专注编程入门及提高
探究程序员职业规划之道!

移动开发

Building for 'iOS-simulator', but linking in object file (/Users/caohaifeng/Code/SDK_3_99/SDK/Libs/BMKLocationKit.framework/BMKLocationKit[arm64][3](BMKLocationUtil.o)) built for 'iOS'
移动开发

Building for 'iOS-simulator', but linking in object file (/Users/caohaifeng/Code/SDK_3_99/SDK/Libs/BMKLocationKit.framework/BMKLocationKit[arm64][3](BMKLocationUtil.o)) built for 'iOS'

阅读(924)

具体错误如下: Building for 'iOS-simulator', but linking in object file (/Users/caohaifeng/Code/SDK_3_99/SDK/Libs/BMKLocationKit.framework/BMKLocationKit[arm64][3](BMKLocationUtil.o)) built for 'iOS' 修改很简单,分别在 Architectures 的 Excluded Architectures 的 Debug 和 Release 下新增 AnySDK 为 arm64 即可  

本应用使用 HBuilderX3.3.11编译或对应的cli版本编译,而手机端SDK版本是3.99。不匹配的版本可能造成应用异常。
移动开发

本应用使用 HBuilderX3.3.11编译或对应的cli版本编译,而手机端SDK版本是3.99。不匹配的版本可能造成应用异常。

阅读(527)

最近,新上个电商项目,想着干脆直接升级下HBuilderX,之前一直用的HBuilderX.3.7.10.20230425,于是升级成了HBuilderX.3.99.2023122611,在打包发布到 IOS 的时候,出现了如下提示: 本应用使用 HBuilderX3.3.11编译或对应的cli版本编译,而手机端SDK版本是3.99。不匹配的版本可能造成应用异常。 看的我一脸懵逼,我 HBuilderX 已经升级成...

This version (1.4.3) of the Compose Compiler requires Kotlin version 1.8.10
安卓开发

This version (1.4.3) of the Compose Compiler requires Kotlin version 1.8.10

阅读(2980)

安卓开发,具体报错如下: This version (1.4.3) of the Compose Compiler requires Kotlin version 1.8.10 but you appear to be using Kotlin version 1.9.0 which is not known to be compatible.  Please consult the Compose-Kotlin compatibility map located at https://developer.android.com/jetpack/androidx/releases/compos...

iPhone模拟器获取不到经纬度(位置信息)
移动开发

iPhone模拟器获取不到经纬度(位置信息)

阅读(2747)

最近,在用 UniApp 做一个打卡应用,在打卡界面,总是获取不到位置信息。一直在提示:获取地址中。 一直以为是代码问题,排查了很久。 最终发现是 Xcode 中 Features ➡️ Location 中被设置成了 None。 勾选 Custo Location...,就默认的经纬度,单击【确定】按钮即可。 再回到打卡界面,经纬度位置信息就获取成功了!    

Apple商务管理看不到【自定 App】选项
移动开发

Apple商务管理看不到【自定 App】选项

阅读(1824)

申请了 Apple 的商务管理,申请完毕后,进入后台:https://business.apple.com/ 发现没有【自定 App】选项,那是因为我们关闭了。如何开启【自定 App】? 1、点击【偏好设置】 2、点击【注册信息】,在右侧,有个自定 App 选项,把状态置为【已启用】即可。 通过以上的设置,你就可以在 Apple商务管理 中看到,【自定 App】选项了。

android studio build output乱码/控制台中文乱码
移动开发

android studio build output乱码/控制台中文乱码

阅读(2829)

android studio 开发的时候,在控制台的 build output下出现了中文乱码,具体如下 解决android studio build 控制台中文乱码如下: 单击【Help】→ 【Edit Custom vm options...】 如果之前没有配置过 vmoptions,会出现是否创建 studio64.exe.vmoptions 文件的提示。 单击【Create】按钮,studio64.exe.vmoptions 就生成好了,我们在...

uniapp调试APP报错request:fail abort statusCode:-1
移动开发

uniapp调试APP报错request:fail abort statusCode:-1

阅读(8646)

uniapp 本地调试 h5 应用,没任何问题,于是准备在安卓模拟器上进行调试,马上报错: request:fail abort statusCode:-1 Expected URL scheme 'http' or 'https' but was 'file' 当然,还可能会报如下错误: request:fail abort statusCode:-1 Failed to connect to localhost/127.0.0.1:5000 其实,仔细想下就明白了,开发机和安卓模拟器...

Android Studio Emulator模拟器浮动或全屏或最大化
移动开发

Android Studio Emulator模拟器浮动或全屏或最大化

阅读(4737)

Android Studio打开模拟器的时候,模拟器总是出现在右边的框中,显的很小,字都看不清,点击“1:1”图标的话,确实大了,但是需要拖动横向和竖向的滚动条来看内容,也非常的不方便。 也试着拖拽模拟器窗口,也无法使模拟器脱离Android Studio。于是又摸索了下,终于知道怎么使Android Studio模拟器浮动。 单击右上角的小齿轮设置按...

apk安装失败-22(其他原因)
安卓开发

apk安装失败-22(其他原因)

阅读(1262)

医药商城的系统做好了,准备发给同事测试,在安装的时候出现了如下错误: 安装失败(-22) 错误原因 其他原因 同事的手机是小米,我在华为的安卓平板上试了,没问题。 apk是uniapp打包的,几经折腾,解决了apk安装,提示:安装失败-22的问题。 在AndroidManifest.xml文件中的所有activity都添加:android:exported="true"。 再次打包,安装...

uniapp打包iOS和Android iconfont图标不显示
移动开发

uniapp打包iOS和Android iconfont图标不显示

阅读(1385)

uniapp中使用了iconfont,为了节省包大小,采用了在线引用iconfont的方式,发现在ios中图标不显示,具体如下图所示: 左上角有个返回,左箭头未显示出来,查了下资料,说需要在引用前加上https,我原先是这样引用的 @font-face { font-family: 'iconfont'; /* Project id 3233206 */ src: url('//at.alicdn.com/t/font_3233206_wvyauevn...