自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(947)
  • 资源 (5)
  • 收藏
  • 关注

转载 lipo otool 动态库、静态库的生成

lipo otool 动态库、静态库的生成

2023-02-12 23:30:15 404

原创 SwiftUI中增加自定义颜色集的方法

(4) 选中刚创建的颜色集,用拾色器调整Any Appearance及Dark两种状态下的颜色。(5)在代码用自定义的颜色集的名字,来使用定义的颜色集。(3)选择Color Set创建颜色集,并给颜色集命名。(1)在工程中找到Assets点击。(2)点击Assets中的“+”号。如Color("myColor")

2023-01-07 21:45:46 548

原创 M1中WMware Fusion Win11虚拟机在MacOS升级后无法联网和修改显示分辨率的解决办法

(3)看是否能联网与调整分辨率,若不能,则在设备管理器中删除网络及显示驱动程序后,再以管理员身份在powershell运行setup,安装网络及显示驱动程序。一般到这一步,网络和显示分辨率问题解决。(2)安装VMware Tools,再打开WMware tools所在文件夹中,找到setup文件,以管理员身份在powershell运行setup。(1)以管理员身份在powershell中运行Set-Executionpolicy Remotesigned。

2023-01-06 21:33:41 2081 1

转载 cannot be opened because the developer cannot be verified.

关闭设置打开终端输入sudo spctl --master-disable

2022-01-20 00:42:31 465

转载 Qt5迁移到Qt6的一些坑

现在还没有QWebEngineViewQSet::fromList(xxx)没了要改成QSet(xxx.begin(), xxx.end())1QString().vsprintf没了https://doc.qt.io/qt-5/qstring-obsolete.html#vsprintf改成QString::vasprintf1https://doc.qt.io/qt-5/qstring.html#vasprintfQTime::start()和QTime::elapsed()没了

2021-12-26 14:20:31 1090

转载 MacOS 如何解决“QtCore/QTextCodec’ file not found”的error

起因:跟着教程一步一步走的时候,突发一个叫“QtCore/QTextCodec’ file not found”的error…怎么解决?搜索了一下,发现有建议说要添加一个Qt5 Compatibility Mode的组件,然而刚开始学习Qt的小白完全不知道在哪可以添加组件…找了半天工具栏都没找到…最后…终于搜到了!打开Qt安装目录点开MaintainenceTool,然后奇迹就发生了,我们选择Add or remove components。在Select Components中点开Qt 6.1.

2021-12-25 22:52:48 1144 1

原创 WARNING ITMS-90788: “Incomplete Document Type Configuration”

在打包上传时,收到下面警告:WARNING ITMS-90788: "Incomplete Document Type Configuration. The CFBundleDocumentTypes dictionary array in the 'Bundle-ID' Info.plist should contain an LSHandlerRank value for the CFBundleTypeName 'MKDirectionsRequest' entry. Refer tohttps:

2021-08-26 13:53:53 492

原创 mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)

编译没有问题,运行时报错:dyld: Library not loaded: @rpath/LetsMove.framework/Versions/A/XXX, ... Reason: no suitable image found. Did find: ...Contents/MacOS/../Frameworks/LetsMove.framework/Versions/A/XXX: code signature in XXX.app/Contents/MacOS/../Frameworks...

2021-08-19 09:33:29 747

原创 “Missing Compliance”

App Store 中 选择build的时候发现有“Missing Compliance” 警告。解决办法:在info.plist中, 加入App Uses Non-Exempt Encryption,值为NO,重新打包上传

2021-08-16 20:23:40 653

原创 embedded framework is missing one or more architectures required by this target: arm64.

在Archive打包过程中提示:mac os The linked and embedded framework is missing one or more architectures required by this target: arm64. 只需要在architectures中的Exclude architectures选项中填入arm64,即不包括arm64,即可打包通过。...

2021-08-16 19:10:57 1188

转载 syntax error: operand expected (error token is “$(CURRENT_PROJECT_VERSION)“)

方法一:UPDATE 2:This causes builds to be canceled! Have a look at S1LENT WARRIOR's answer below, it seems to be working better.UPDATE 1:In the latest version of Xcode (Version 11.1) you can do the build number auto increment fairly easily.Here are t

2021-08-16 16:34:36 556

转载 Ubuntu18.04安装phpMyAdmin

一、使用apt自动安装sudo apt install phpmyadmin1安装完成后,创建软链接到web根目录下(我的是/var/www/html/)sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin

2021-08-04 01:29:11 461

转载 Ubuntu FTP客户端 连接响应信息:530 Login incorrect

https://www.bilibili.com/video/BV1wz4y197se/(Ubuntu下如何开能FTP服务,亲测有效)FTP 时显示 530 Login incorrect ,解决方法:(亲测第一种方法,有效)https://blog.csdn.net/weixin_43359405/article/details/98482403情况一:一般此情况和目录权限,用户密码有关,设置正确权限后仍然有同样的情况,可以使用:sudo apt-get remove vsftpd..

2021-08-03 22:37:23 1696

原创 iPhone连接mac电脑连接时反复连接与断开情况的处理

iPhone连接mac电脑连接时反复连接与断开情况的处理打开终端Terminal中将进程关闭即可,$ sudo killall -STOP -c usbd

2020-12-15 10:45:42 714

转载 brut.androlib.AndrolibException: brut.common.BrutException: could not exec

brut.androlib.AndrolibException: brut.common.BrutException: could not exec #1376  Information Version: 2.2.1 OS: Linux APK From: Playstore Stacktrace/Logcat W: /tmp/base/Andr...

2018-08-17 13:29:44 12039

转载 Code Sign Error in macOS Sierra Xcode 8.3.3 - resource fork, Finder information, or similar detritus

亲测第三种方式有效Already tried : Code Sign Error on macOS Sierra, Xcode 8Please see image showing error CodeSign /Users/gururajtallur/Library/Developer/Xcode/DerivedData/Flow-bkqjk

2017-11-14 19:41:19 584

转载 设置让php能够以root权限来执行exec() 或者 shell_exec()

前言:php经常需要在服务器端使用exec()来做一些事情、这时候很多事情都需要root权限来执行命令!默认都是不支持的。一、查看启动你php的进程的用户是谁。可以通过在命令行执行:ps -ef | grep php来看。或者在php中执行 echo exec('whoami') 来查看。centos下默认会是nobody。 nobody默认没有任何权限。此时先自己添加一个

2017-10-08 15:12:57 7990

转载 centos7 mysql数据库安装和配置

一、系统环境yum update升级以后的系统版本为[root@yl-web yl]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) 二、mysql安装一般网上给出的资料都是#yum install mysql#yum install mysql-server#yum in

2017-10-08 10:06:24 535

转载 Unknown column '' in 'field list'解决方案

很多人在用php+MySQL做网站往数据库插入数据时发现如下错误:注册失败!Unknown column '1a' in 'field list'结果发现用数字提交是没有问题的,其他如char型就有问题了。相信小伙伴又坚信SQL语句没写错,那么问题出在哪了。我们来看下我的SQL语句:--往user表(user和pass列)插入数据,$sql=

2017-10-08 09:59:20 24443 1

转载 主机不能访问虚拟机CentOS中的站点

主机能ping通虚拟机虚拟机也能ping通主机主机不能telenet通虚拟机原因:虚拟机开启了防火墙,解决办法:关闭虚拟机防火墙。 Centos 7 firewall 命令:查看已经开放的端口:firewall-cmd --list-ports开启端口firewall-cmd --zone=public --add-port=

2017-10-08 00:27:35 540

转载 在cenOS下安装apache出现-bash: /etc/init.d/httpd: 没有那个文件或目录

我是在vmware上装的centos7,使用命令yum install httpd httpd-devel 安装完apache后,想要启动apache,执行了/etc/init.d/httpd start命令,但是出现了没有文件。如图   然后到百度上以及stackoverflow上也没查到解决办法。我是这样解决的。 尝试另一种启动命令service httpd start

2017-10-07 22:55:07 687

转载 SSH远程登陆centos虚拟机的方法

android手机的流行让越来越多人的人关注linux发展,作为linux在移动领域的先头兵,android发展速度之快是有目共睹的。越来越多的人燃起了学习linux系统的热情,在学习linux系统过程中,最简单的方法就是在VMWARE中学习,安装一个centos或者ubuntu,就可以开始学习linux了,linux的强大在于命令行的操作,大家在学习过程中一直要登陆使用命令行,但是出于安全的考虑

2017-10-07 22:36:41 1223

转载 在CentOS上搭建PHP服务器环境

安装apache:yum install httpd httpd-devel 启动apache:/etc/init.d/httpd start此时输入服务器的IP地址,应该看到apache的服务页面,端口不用输,apache默认就是使用80端口 安装mysql:yum install mysql mysql-server启动mysql

2017-10-07 22:16:18 262

转载 php通过JODConverter将word转换为pdf

JODConverter(Java OpenDocument Converter),可以转换不同Office格式的文档。它利用OpenOffice.org,可以自动化OpenOffice.org支持的所有转换。包括转换为pdf文件,部分支持转换到html文件。JODConverter下载地址:https://sourceforge.net/projects/jodconverter

2017-10-07 22:12:13 1679

转载 PHP利用openoffice实现文档装换

openoffice要实现文档转换为PDF,可利用jodconverter开源jar实现文档的转换。 而jodconverter的转换原理是利用openoffice实现转换。而jodconverter必须要有Java环境才可转换。故要实现word -> pdf -> swf 需要安装的软件有openofficejodconverter jar包swftoolsjdk/jre

2017-10-07 22:06:29 868

转载 centos6.5安装openoffice

一、openoffice 安装1、在官网http://www.openoffice.org/download/index.html, 下载最新版本Apache OpenOffice 4.1.2#tar zxvf Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_zh-CN.tar.gz解压后的目录是zh-CN,里面有RPMS、

2017-10-07 17:56:25 824

转载 屡试不爽--安装Cocoapods1.1.0最新心得及问题总结!

RamboLu 作者 关注2016.10.10 18:23* 字数 550 阅读 1880评论 9喜欢 8安装淘宝源就直接跳过,安装十余次,分享下最近安装cocoapods的经验,仅仅提醒ruby版本问题之后的操作.如果还有不懂地方可以下方评论,会及时回答.Error installing cocoapods: activesupport requi

2017-10-07 16:06:59 3111

转载 Mac下发布Qt应用程序

Qt编写的应用发布到用户手里,同时也要把Qt库一起打包给用户。方法有很多。1. 简单又麻烦的办法,静态编译Qt简单是因为静态编译的Qt库会随着应用一起发布,麻烦是我们必须自己编译静态的Qt。而且,很多情况下我们不仅是要使用Qt,还有很多其它的库,如果每一个都静态编译,我们的执行文件就太巨大了。所以简单的应用,静态编译可能是好的,但是,比较大的项目,这种方法就不推荐了。2.

2017-10-05 11:37:00 508

转载 resource fork, Finder information, or similar detritus not al site:forums.developer.apple.com..

前几天刚升级了macOS Sierra系统,顿时感觉入坑了,本来好好的项目报如下错误:        app:resource fork, Finder information, or similar detritus not al site:forums.developer.apple.com......在网上找了很多方法,都不使用我的项目,或者说网上的说法太模糊,现给出解决办法

2017-10-02 00:17:38 264

转载 iOS开发之Xcode优化,清理Xcode编译缓存,清除provisioning profile 证书,添加provisioning profile证书

1.清除provisioning profile   (1). 打开终端 (2). 进入到对应的证书目录[objc] view plain copycd ~/Library/MobileDevice/Provisioning Profiles/  (3).然后删除里面所有的mobile provision文件 

2017-10-01 16:02:12 925

转载 UISwitch for Mac OS X

https://github.com/iluuu1994/ITSwitchITSwitch is a replica of UISwitch for Mac OS XITSwitch is a simple and lightweight replica of iOS 7 UISwitch for Mac OS X.UsageNo

2017-03-18 22:49:41 1087

转载 applescript to open/close an app

tell application "System Events"  get name of every process whose name is "Calculator"   if result is not {} then        tell application "Calculator"            quit    

2017-03-13 23:20:18 1315

转载 使用python和IBM speech to text 进行 语音识别

目录视图摘要视图订阅CSDN日报20170303——《百亿互金平台救火故事》      程序员2月书讯     社区有奖问答--一起舞动酷炫的iOS动画     基于Spark的分布式深度学习和认知计算 使用python和IBM speech to text 进行 语音识别标签: 语音识别ibmpythonapi2015-

2017-03-08 00:53:53 5179 1

转载 Google Speech API

Google Speech APIGoogle Speech API wrapper for node. It requires ffmpeg compiled with flac support in order to work.1.0.0 UpdateSwitched from SoX to ffmpeg. Make sure you have at l

2017-03-08 00:29:16 2633

转载 AppleScript: match and delete files in folder

AppleScript: match and delete files in folderAsk Questionup vote0down votefavoriteMy photo camera allows to save pictures in RAW and JPG in parallel. I

2017-03-06 13:12:01 863

转载 AppleScript的终极入门手册

转载自:http://www.jayz.me/?p=267首先Jay必须先声明本文的出处,Jay十分尊重别人的劳动,这个文章只是我翻译来的,原文在http://mac.appstorm.net,如果对原文感兴趣的同学请前往阅读。好了,我们开始吧!AppleScript 是 Mac OS X内置的一种功能强大的脚本语言,使用 AppleScript 的目的是把一些重复繁琐并且

2017-03-06 12:30:19 1953

转载 NSAppleScript execution fails in sandboxed app

2down votefavoriteI have a sandboxed app targeting Mac OS X 10.7, and want to execute this AppleScript:tell application "Safari" to add reading list item "http://www.apple.com"

2017-03-06 09:20:21 1086

转载 andboxing an objective-c app embedding applescript

I would like to sandbox an app which uses applescript to contact safari to get the list of the tabs. Then I get back those datas in an objective c trough NSAppleEventDescriptor. I've already added the

2017-03-06 09:01:24 583

转载 How to Run a Shell Script with Mac App Sandbox Enabled

Is it possible to have an app, that runs within the sandbox, execute a shell script? The script makes use of two basic commands:defaults writekillallI know that there are some exceptions to the

2017-03-05 23:26:40 699

转载 Application windows are expected to have a root view controller at the end of application launch

After running function- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptionsthere is a crash: Assertion failure in -[UIApplication _runW

2017-03-05 22:46:01 2566

Storyboard

iOS5中使用Storyboard, 故事板创建界面

2014-05-06

Safari Adhoc

从浏览器Safari直接安装ipa文件,无需从app store下载安装,也无需用其他第三方工具安装。

2013-11-20

iOS分组表示例

分组表使用示例,入门必备。帮助入门者来建立分组表,以及如何确定数据源和委托方法。

2013-08-15

[iPhone开发书籍大全]

ios,iphone开发书籍大全,英文资料,做ios开发的朋友可下载来看看。

2013-03-11

urlgfe:轻易获得资源的URL

C语言,跨平台,支持平台:linux, windows. Mac. OX, 轻易获得资源的URL

2008-12-29

空空如也

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

TA关注的人

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