自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

操作猛如虎的博客

共同学习,共同进步

  • 博客(179)
  • 收藏
  • 关注

原创 npm request to https://registry.npm.taobao.org/create-vue failed, reason: certificate has expired

二、最新的配置淘宝镜像的淘宝官方提供的方法。原来是设置淘宝镜像源,官方已经修改了地址。导致不管下载什么组件都会报错。三、查看是否修改成功。

2024-02-23 11:14:54 1226

原创 iOS 17.2系统获取IDFA时不弹窗问题

iOS 17.2系统获取IDFA时不弹窗Guideline 2.1 - Information Needed Your app uses the AppTrackingTransparency framework, but we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 17.2.

2024-01-19 13:21:17 605

原创 iOS IDFV特点

如果APP不是从AppStore下载的,而是在开发阶段或者企业版APP,那么IDFV与APP bundle ID有关,也就是即使是同一厂商的来自AppStore的APP和开发阶段的APP在同一设备的IDFV也不一样。从非AppStore下载的APP的表现。从AppStore下载的APP的表现。

2023-12-14 16:56:16 456

原创 解决 dyld: Library not loaded: @rpath/libswiftCore.dylib

dyld: Library not loaded: @rpath/libswiftCore.dylib

2023-12-01 17:04:24 534

原创 ERROR: While executing gem ... (Gem::FilePermissionError) You don‘t have write permissions for

ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0 directory.

2023-12-01 16:58:32 845

原创 flutter接入三方,报错MissingPluginException(No implementation found for method xxx on channel plugins xxx)

MissingPluginException(No implementation found for method xxx on channel plugins xxx) GeneratedPluginRegistrant.m中没有注册

2023-11-16 16:38:14 207

原创 IntelliJ - Cannot connect to already running IDE instance. Exception: Process 508 is still running

IntelliJ - Cannot connect to already running IDE instance. Exception: Process 508 is still running

2023-11-15 16:45:21 460

原创 iOS 13以下系统,使用iOS QQ 登录 SDK 崩溃问题

最近用iPhone 6p 系统:12.5.4 调用QQ三方登录,出现崩溃到初始化QQ SDK的位置。在询问了QQ官方客服后,得到了答复,可以放弃治疗了。

2023-10-20 15:37:02 521 2

原创 iOS QQ登录SDK升级后报错Duplicate interface definition for class ‘TencentOAuth‘修复

Duplicate interface definition for class 'TencentOAuth'

2023-10-19 14:11:19 639

原创 iOS 应用沙盒文件权限

iOS 应用沙盒文件权限。

2023-10-19 13:51:27 222

原创 Flutter - TextField遇到emoji表情时字数计算错误问题

Flutter - TextField遇到emoji表情时字数计算错误问题

2023-09-21 19:34:38 207

原创 flutter 的 fluwx插件 ios配置调起微信

fluwx插件 iOS配置

2023-05-05 11:51:27 1254

原创 Flutter 在release模式下显示灰屏 debug 正常显示

一般是Expanded、Flexible等组件,在“Container、Padding、Stack”组件中导致的。

2023-04-18 15:06:20 520

转载 flutter入门之理解Isolate及compute ——解决耗时操作卡住UI的问题

解决耗时操作卡住UI的问题

2023-03-27 11:33:36 1201

原创 The operation couldn’t be completed. Unable to launch com.xxx because it has an invalid code signatu

无意中在 手机设置->通用->iPhone存储空间 中删除了安装的这个应用,再从Xcode往手机上跑,莫名其妙的就可以了,就可以了!网上各种方法都尝试了,包括手机也恢复了出厂,重启手机,重启Xcode,手机设置->通用->VPN与设备管理 里边并没有刻意同意的选项。手机弹窗提示:“需要互联网连接以验证是否信任开发者“xxx”。此App在验证前将不可用”我感觉自己也没做什么其他的操作,莫名其妙的,先记录一下。通过Xcode跑app到真机上出现错误。来回测试了四五个小时,依然是不行。

2023-03-23 21:44:36 4111 1

原创 MacOS 常用终端命令大全

命令——功能描述——示例mkdir——创建一个目录——mkdir dirnamermdir——删除一个目录——rmdir dirnamemvdir——移动或重命名一个目录——mvdir dir1 dir2cd——改变当前目录——cd dirnamepwd——显示当前目录的路径名——pwdls——显示当前目录的内容——ls -ladircmp——比较两个目录的内容——dircmp dir1 dir2命令——功能描述——示例cat——显示或连接文件————cat filenamepg分页格式化显示文件内容——p

2022-12-05 15:11:16 6568

原创 Xcode 真机调试之 Unable to install “xxx“

真机调试出现 unable to install "xxx"

2022-11-25 14:57:05 3853

原创 Mac系统下 脚本sed的简单使用

Mac系统下 脚本sed的简单使用

2022-11-11 11:00:46 2661

原创 Showing All Errors Only Command PhaseScriptExecution failed with a nonzero exit code

Showing All Errors Only Command PhaseScriptExecution failed with a nonzero exit code

2022-11-07 17:26:28 2555

原创 Flutter 运行时出现 Error:CocoaPods‘s specs repository is too out-of-date to satisfy dependencies

Error:CocoaPods‘s specs repository is too out-of-date to satisfy dependencies

2022-08-12 10:25:11 2517 2

原创 CocoaPods 重装

查看Cocoapods其余相关的组件。

2022-07-27 16:23:26 823

原创 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the underlying st...

errorRPCfailed;curl92HTTP/2stream5wasnotclosedcleanlybeforeendoftheunderlyingst...

2022-07-27 14:02:50 6281 6

原创 git add 回退 和 git commit 回退

git add 添加错文件 撤销git add 添加 多余文件这样的错误是由于, 有的时候 可能git add . (空格+ 点) 表示当前目录所有文件,不小心就会提交其他文件git add 如果添加了错误的文件的话撤销操作git status 先看一下add 中的文件git reset HEAD 如果后面什么都不跟的话 就是上一次add 里面的全部撤销了git reset HEAD XXX/XXX/XXX.m 就是对某个文件进行撤销了git commit 撤销git reset --s

2022-04-27 18:53:49 2468

原创 iOS 权限大全

<key>NSPhotoLibraryUsageDescription</key><string>App需要您的同意,才能访问相册</string><key>NSPhotoLibraryAddUsageDescription</key><string>App需要您的同意,才能访问相册</string><key>NSCameraUsageDescription</key>&lt

2022-04-27 18:12:51 581

原创 Mac 显示隐藏文件

命令行 - 显示所有文件defaults write com.apple.finder AppleShowAllFiles TRUEkillall Finder命令行 - 不显示隐藏文件defaults write com.apple.finder AppleShowAllFiles FALSEkillall Finder

2022-04-27 18:07:22 259

原创 iOS Flutter 混编遇到的问题及解决办法

1. Unhandled Exception: MissingPluginException(No implementation found for method …Flutter中使用的三方插件,在与插件通信时无法找到插件解决:要添加这句:[GeneratedPluginRegistrant registerWithRegistry:flutterViewController];#import <Flutter/Flutter.h>#import <FlutterPluginRe

2022-04-27 18:02:07 3631

原创 boundingRectWithSize计算不准确 显示不全 问题的分析与解决

最近项目中,用boundingRectWithSize计算的文本高度显示不全原因一般有以下几点:1、label的font设置的和计算时候设置的不一致,尤其是xib 设置的时候;2、有可能是计算出的高度是CGFloat的类型,在设置UILabel或cell高度的时候,由于四舍五入导致有一点点的误差。解决办法:1、记得统一设置成一致的,xib的可以在awakeFromNib中重新设置一遍2、在保证1设置没问题之后,你会发现依然不行,😄,此时就是第二种原因导致的了,可以这样:计算出的高度进行向上取整

2022-03-30 14:54:06 2482

原创 Errors were encountered while preparing your device for development. Please check the Devices and Si

Xcode连着手机跑程序时提示:Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window.重启手机就可以了如果还不行,在设置中 Developer -> clear Trusted computers ,重新设置信任电脑试试...

2021-11-30 17:16:52 1113

原创 git add 文件出现的错误error: ‘xxx/‘ does not have a commit checked out 解决方法

错误如下:$ git add .error: 'xxx/' does not have a commit checked outfatal: adding files failed原因是在 xxx/文件夹下有隐藏文件,删除掉即可显示隐藏文件:defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder取消显示隐藏文件:defaults write com.apple.finder AppleS

2021-11-18 15:25:09 14525 2

原创 iOS SDK工程同时打出模拟器和真机包配置

两种方法手动通过使用lipo 命令使用脚本手动通过使用lipo 命令lipo -create a路径 b路径 -output c路径a路径 b路径 分别是在模拟器和真机打出来的包中的SDK名的文件c路径 是输出路径使用脚本创建Target创建Run Script将以下文本粘贴到上图位置#要build的target名TARGET_NAME=${PROJECT_NAME}if [[ $1 ]]thenTARGET_NAME=$1fiUNIVERSAL_OUTPU

2021-09-27 18:15:22 410

转载 升级XCode12.3报错 Building for , but the linked and embedded framework was built for iOS + iOS Simulator

一、报错报错内容大致如下/xxxx/xxx.xcodeproj Building for iOS, but the linked and embedded framework ‘xxx.framework’ was built for iOS + iOS Simulator.诸如此类,可能有些许不同二、原因WWDC 2019 推出 XCFramework 启,其实Xcode 11 开始就会有这个问题,但在 Xcode 11 上一直是 warning 也就没太注意XCode12.3 开始,针对

2021-06-24 16:20:31 1254

原创 iOS 内购返回商品列表ID为空

内购返回商品列表ID为空 之前也遇到过,都是商品Id传错了导致的,但是这次再次遇到让我又学习到了。记录一下找问题的过程:还是以为是商品Id的问题,比对之后发现是一样的,在自己的demo上是可以请求到商品的,在项目工程中就返回是空,排除商品Id不一致的问题检查bundleId,但是比较了demo和项目工程的这两个位置的bundleId,发现是是一样的后台突然发现,手机上的demo跑的app和项目工程跑的app都存在,按说用相同的bundleId,是会覆盖的,不可能同时存在,看来,可能找到问题了,

2021-05-19 13:20:42 2296

转载 iOS-NSURLSession详解

一 创建NSURLSession对象通过单例获取@property (class, readonly, strong) NSURLSession *sharedSession;通过工厂方法获取// 不用代理+ (NSURLSession *)sessionWithConfiguration:(NSURLSessionConfiguration *)configuration;// 使用代理+ (NSURLSession *)sessionWithConfiguration:(NSU

2021-04-22 15:45:59 1196

原创 Xcode12 The linked library is missing one or more architectures required by this target问题

Xcode12 出现的问题:The linked library 'libPods-xxx.a’ is missing one or more architectures required by this target: arm64.或者The linked library 'libPods-xxx.a’ is missing one or more architectures required by this target: armv7.以上涉及架构问题解决方案在Target-Build

2021-02-23 17:45:01 2279

原创 iOS Xcode新建工程运行黑屏

方法一:如果我们不开发iPadOS多窗口应用,SceneDelegate窗口管理我们不需要,可以直接删掉。删除掉info.plist中Application Scene Manifest选项,同时,文件SceneDelegate可删除可不删注释掉这两个方法:- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession

2021-02-21 09:14:49 703 2

原创 iOS 将自己的SDK用Cocoapods管理 (用到三方SDK,资源文件)

文章目录一、准备工作1.申请账号 (已有账号的请忽略)2.创建GitHub仓库3.将本地项目上传到GitHub仓库二、创建podspec文件1.注册trunk账号2.配置podspec文件3.接下来就可以使用自己的私有库了三、问题总结error1:error2:error3:error4:error5:error6:error7:error8:error9:error10:error11:一、准备工作1.申请账号 (已有账号的请忽略)GitHub官网,申请流程很简单,不再赘述2.创建GitHub仓库

2021-02-02 19:26:49 1605 1

原创 iOS output SDK时候 have the same architectures (arm64) and can‘t be in the same fat output file

lipo -create Release-iphoneos/xxxSDK.framework/xxxSDK Release-iphonesimulator/xxxSDK.framework/xxxSDK -output xxxSDK fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: Release-iphoneos/xxxSDK.framework

2021-02-01 19:15:50 3983

原创 微信登录收不到回调的解决方法

接入微信三方登录,有时候会有收不到回调的情况可以再添加上这个方法,即可收到回调:- (BOOL)application:(UIApplication*)app openURL:(NSURL*)url options:(NSDictionary<NSString*, id>*)options { return [WXApi handleOpenURL:url delegate:self];}...

2020-12-22 14:40:46 1509 1

原创 UITableViewCell 无法显示detailTextLabel

今天写个tableView,在创建 cell时有个警告:说这个cell == nil的判断总是返回false而且,detailTextLabel 不显示查阅资料后发现:tableView.dequeueReusableCell(withIdentifier: "cellId")和 tableView.dequeueReusableCell(withIdentifier: "cellId", for: indexPath)这两种创建方式是有 区别的前者可不注册,但是必须对获取回来的cell进行判

2020-12-18 16:14:49 373 3

原创 swift在与OC的frameWork混编时,在桥接文件中导入OC的.h文件时报错Include of non-modular header inside framework module...

错误是:解决方法:到tagerts - >build phases - >Headers(如果没有,就点击➕新建一个)把SDK暴露出来的头文件拖到public中,不要选Copy items if needed,只选Create groups就可以

2020-12-15 15:29:32 1267

idea学习学习学习学习

idea学习学习学习学习 你懂的

2024-02-21

libarclite-iphoneos.a

iOS Mac libarclite_iphoneos.a

2023-10-19

16.5 iOS真机测试包

16.5 iOS真机测试包

2023-09-22

16.4 iOS真机支持包

16.4 iOS真机支持包

2023-09-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除