自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

laycept的脑洞

WelcomeToMyBlog

  • 博客(9)
  • 资源 (8)
  • 收藏
  • 关注

原创 xcode14.3 Archive 报错rsync error: some files could not be transferred (code 23)

修改 /Pods/Target Support Files/Pods-{product名称}/Pods-{product名称}-frameworks.sh。在Xcode 14.3 Settings-Locations-Command Line Tools 选择 Xcode14.2。具体参照 https://github.com/CocoaPods/CocoaPods/issues/11808。还不确定未来是pod升级解决,还是Xcode下版本会修复。

2023-04-03 13:13:09 1261 1

原创 AWS新建实例 使用root账户密码登录

AWS EC2没有办法直接用root登录,会提示使用默认账户登录。登录之后我们可以进行一些设置以遍使用root账户进行密码登录。我们首先要设置root密码,输入命令sudo passwd root输入两次要设置的密码之后,可输入命令切换到root账户su root然后重置下centos(或是其他账户)的密码passwd centos输入两次要设置的密码接着需要输入这几条命令就可以实现直接密码登录了sed -ri 's/^#?(Passwo...

2020-09-09 17:47:38 687

原创 [IOS开发]重力感应判断屏幕状态-Swift

varmotionManager:CMMotionManager? funcstartMotionManager(){            ifmotionManager==nil{                           motionManager=CMMotionManager()

2017-10-10 15:11:09 1015

原创 [IOS开发]js与WKwebview交互Demo(调取二维码扫描)

#pragmamark-WKWebDelegate-(void)userContentController:(WKUserContentController*)userContentControllerdidReceiveScriptMessage:(WKScriptMessage*)message{            if([messa

2017-10-10 15:06:01 1156

原创 [IOS开发]重力感应判断屏幕状态-OC

@import CoreMotion;@property (nonatomic,strong)CMMotionManager *motionManager;-(void)starMotionManager{    if (_motionManager == nil) {        _motionManager = [CMM

2017-10-10 15:01:45 2206

原创 [IOS开发]图片压缩

不改变分辨率,将图片压缩至指定体积+(NSData*)compressImage:(UIImage*)imagetoByte:(NSUInteger)maxLength{   //Compressbyquality    CGFloatcompression=1;    NSData*data=UIImag

2017-10-10 14:11:49 170

原创 [IOS开发]判断设备型号

+ (NSString *)iphoneType {   structutsname systemInfo;   uname(&systemInfo);   NSString *platform = [NSStringstringWithCString:systemInfo.machineencoding:NSASCIIStringEncoding];

2017-10-10 14:08:20 667

原创 [IOS开发]点击屏幕任何位置隐藏键盘

- (void)viewDidLoad{    [super viewDidLoad];    [self setUpForDismissKeyboard];}- (void)setUpForDismissKeyboard {  NSNotificationCenter *nc = [NSNotif

2017-10-10 14:06:33 839

原创 IOS监听通话状态(私有API)

头文件 在这里需要包含两个头文件,不需要导入framwork#import "DetailViewController.h"#import #import @interfaceDetailViewController () UIWebViewDelegate>@property (nonatomic,strong) CTCallCenter *callCenter;

2017-10-10 14:03:35 1616

iOS 16.4 真机调试包

放置目录 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

2023-03-31

iOS 16.1 真机调试包 Xcode 13 版本调试iOS 16.1

放置目录 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

2022-10-27

iOS13.5 SDK Xcode调试

Shift+Command+G 进入 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 把解压后的文件复制进去。

2020-09-15

IOS12.3调试SDK

Shift+Command+G 进入 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 把解压后的文件复制进去。

2020-03-10

IOS 12.4 调试SDK

Shift+Command+G 进入 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 把解压后的文件复制进去。

2020-03-10

调试iOS12 12.0 12.1 12.2 12.3 12.4 SDK合集

Shift+Command+G进入 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 把解压后的文件复制进去。

2020-03-10

解决Xcode10以上编译报错 library not found for "-lstdc++.6"

根据调试方式不同,真机和模拟器文件放置路径不同,分别复制对应的Lib文件到以下路径即可解决。 建议拷贝地址Shift + command + G前往 真机 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/ 模拟器 dylib放到这个路径 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/ tdb放到这个路径 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/

2019-10-15

Xcode8编译xcode9+打包的framework所需FileProvider.framework和IOSurface.framework

将FileProvider.framework和IOSurface.framework复制到文件夹,xcode8报缺失文件的那个路径

2018-04-11

IOS11SDK xcode8调试IOS11

xcode8调试IOS11 Shift+Command+G进入 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 把解压后的文件复制进去。

2017-10-10

IOS10 SDKs合集 10.0,10.1,10.2,10.3

Shift+Command+G进入 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 把解压后的文件复制进去。

2017-06-17

空空如也

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

TA关注的人

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