
MAC&iPhone开发
文章平均质量分 50
dotphoenix
Life,Tennis, Software Architecture
展开
-
VMWare workstation/player 无法使用bridge模式联网问题的解决方案
VMWare workstation/player 无法使用bridge模式联网问题的解决方案原创 2022-12-19 21:43:54 · 6146 阅读 · 1 评论 -
Mac使用brew安装依赖后pkg-config找不到的处理方法
Mac使用brew安装依赖后pkg-config找不到的处理方法原创 2022-10-24 15:55:04 · 7807 阅读 · 0 评论 -
MAC OS程序的签名问题
not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed. 问题的解决方法原创 2022-07-30 15:38:45 · 4795 阅读 · 0 评论 -
iOS版本AppRTCMobile和webrtc.framework构建
iOS版本AppRTCMobile和webrtc.framework构建原创 2022-04-21 13:47:30 · 7893 阅读 · 0 评论 -
WebRTC ICE candidate里面的raddr和rport表示什么?
举例如下:a=candidate:1853887674 1 udp 1518280447 47.61.61.61 36768 typ srflx raddr 192.168.0.196 rport 36768 generation 0解释:raddr and rport are for debugging purpose.https://tools.ietf.org/html/rfc...翻译 2020-04-03 10:17:20 · 7960 阅读 · 0 评论 -
brew update error: Your local changes to the following files would be overwritten by merge
brew update error: Your local changes to the following files would be overwritten by merge今天更新mac os 10.11.1 ,然后顺便更新了 xcode然后我用brew 安装 autoconf和automake➜ /Users/zhangzhi >brew inst转载 2017-10-16 14:05:07 · 6801 阅读 · 0 评论 -
MAC版RDP访问Windows远程桌面报错问题的解决(The certificate or associated chain is not valid - RDP error)
The certificate or associated chain is not valid - RDP errorHi,I am getting the following error "The certificate or associated chain is not valid" when I RDP from my MacBook Pro OS X Yosemite version ...转载 2017-10-24 09:35:36 · 14161 阅读 · 0 评论 -
Mac OS X 系统架构
http://developer.apple.com/macosx/architecture/index.html原创 2010-04-08 15:00:00 · 1475 阅读 · 0 评论 -
Iphone开发的代码签名
Iphone开发的代码签名 英文版链接:http://developer.apple.com/iphone/gettingstarted/docs/signingcodeforiphonedev.action 代码签名确保代码的真实以及明确识别代码的来源。在代码运行在一个开发系统以前,以及在代码提交到Apple发布以前,Apple要求所有的的应用程序都必须进行数字签名。另外原创 2010-03-09 15:24:00 · 5467 阅读 · 0 评论 -
Could not find a storyboard named 'MainStoryboard_iPad' 问题的靠谱解决方案
I managed to solve this problem in my iPad App through the following steps:Checking the Build Phases Editing the Info.plist file to add the option "Main storyboard file base name (iPad)"Just like ...转载 2018-08-22 09:34:02 · 738 阅读 · 0 评论 -
iOS代码编程规范
带出几十位从零开始学iOS的实习生或试用期的开发人员后,觉得真的是千人千面,每个人写的代码都风格迥异,如果没有一个文档规范,每次都和新人进行口头的说教,大概自己是不用敲代码了,所以吃了亏了就开始编写iOS的编程规范。由于本人在写iOS代码前一直是C语言的开发,所以很多规范都受C语言的影响。与大家分享下我总结的编程规范,有不合适的请大家指出(最好能举例说明为何不好,并给一个好的推荐)_1. ...转载 2018-09-06 09:02:01 · 862 阅读 · 0 评论 -
UIImage加载图片的方式以及Images.xcassets对于加载方法的影响
创建图片对象根据是否缓存图数据,有两类创建UIImage对象的方法可选:Use the imageNamed:inBundle:compatibleWithTraitCollection: method (or the imageNamed: method) to create an image from an image asset or image file located ...转载 2018-09-18 09:14:43 · 704 阅读 · 0 评论 -
FileManager 文件管理器
1.获得沙盒根目录NSString *homePath = NSHomeDirectory();2.获取Documents目录路径方法一:NSString *documentsPath =[NSDocumentsDirectory() stringByAppendingPathComponent:@"Documents"];方法二:NSArray *path = NSSearchPa...转载 2018-10-22 09:16:03 · 16649 阅读 · 0 评论 -
iOS 第三方库、插件、知名博客总结
用到的组件1、通过CocoaPods安装项目名称项目信息AFNetworking网络请求组件FMDB本地数据库组件SDWebImage多个缩略图缓存组件UICKeyChainStore存放用户账号密码组件Reachability监测网络状态DateTools友好化时间MBProgressHUD一款提示框第三方库MWPhotoBrowser一款简...转载 2018-10-29 16:16:03 · 5852 阅读 · 0 评论 -
xcode 编译速度慢的解决办法
最近在开发一个大项目的时候遇到一个很头疼的问题,由于项目代码较多,每次都要编译链接1分钟左右,调试的时候很浪费时间,于是研究了一下如何提高编译链接的速度,在这里分享给大家。提升编译链接的速度主要有以下三个方式:1. 提高XCode编译时使用的线程数defaults write com.apple.Xcode PBXNumberOfParallelBuildSubtasks 4...转载 2019-05-06 15:12:33 · 8884 阅读 · 0 评论 -
IPhone程序发布到应用程序商店的流程
IPhone程序发布到应用程序商店的流程 Posted by: 非鱼 in IPhone, 技术文章Add Comment用传真机试过N次,又用faxzero试过N次以后,全部都提示失败。但是,世事如此难料,今天凌晨收到了信用卡境外消费99美元的短信提醒,早上起来信箱里就已经收到了激活码,点击链接就激活了自己的开发者账号。也不知道是哪一次传真发成功了。登录开原创 2010-03-03 15:16:00 · 13494 阅读 · 3 评论 -
iPhone开发中的代码签名
iPhone开发中的代码签名 代码签名可以用来保证代码的完善并确定代码的开发者。Apple需要所有的iPhone程序在他们运行在开发系统或者上传到apple发布的时候都需要数字签名。另外apple在发布的时候也会添加自己的数字签名。 数字签名和数字身份 Apple需要所有的注册开发人员对自己的iPhone应用程序使用数字签名技术。这个签名是用来保证注册的开发人员的应用转载 2010-01-30 09:14:00 · 1964 阅读 · 0 评论 -
用Xcode&iPhone SDK 创建一个static library (Building static libraries with the iPhone SDK)
Building static libraries with the iPhone SDKI have a client that wants to use my iPhone Radio Player code for theirown radio station, however they want to be able to submit the app toiTun转载 2009-05-04 10:42:00 · 2771 阅读 · 1 评论 -
制作iPhone PXL安装包的方法
制作iPhone PXL安装包的方法作者: zltianhen 26Jul以下是如何制作iPhone中PXL安装包的方法。另外,如果你希望制作自己的Installer安装源,可以参照本站的文章《如何搭建自己的iPhone Installer软件源》。详细内容请点击标题察看。 1.新建一个PXL的文件夹2.在PXL里面新建一个PxlPkg.plis转载 2009-05-04 17:06:00 · 1409 阅读 · 0 评论 -
在MAC 10.5.5 上 编译给 iPhoneOS2_X 使用的 pjsip 和 siphone
Compilation guide for pjsip on iPhone OS 2.X.IntroductionThis article describes the steps to generate pjsip on Mac OS X 10.5.5 DetailsGet pjsip source codeGet转载 2009-07-17 09:56:00 · 4167 阅读 · 0 评论 -
用手指操纵iPhone
苹果在历史上曾发明了两样革命性的用户界面(UI),一样是鼠标,用在图形化界面的电脑操作系统里,使人们一举摆脱了靠键盘控制电脑的历史;另一样,是iPod里的触摸点击转盘(Click Wheel),使iPod的操作变得异常便捷,其他的mp3播放器只能相形见拙了。在iPhone上,苹果发明了他们的第三项革命性的UI:多点触摸(Multi-touch)。没用过,或者是没见过的人,是很难意识到从touch到原创 2009-05-15 11:21:00 · 1254 阅读 · 0 评论 -
Tutorial: Code Sharing Via Static Libraries And Cross-Project References
Tutorial: Code Sharing Via Static Libraries And Cross-Project Referencesby Clint Harris on April 1, 2009 · 1 commentFinding an elegant way to reuse and share code (i.e., libraries) across转载 2009-05-16 09:55:00 · 2681 阅读 · 0 评论 -
用Xcode开发iPhone的问题集锦
1. 关于ActiveSDK的Device和Simulator的区别Simulator使用的是i386的指令集,而Device使用的是arm6的指令集,这也就意味着,为MAC编译的i386指令集的static library(或者Universa的static library)是可以被Simulator使用的,但是不能被Device使用,链接会有错误。 2. 使用lipo命令可以看一个原创 2009-05-16 16:23:00 · 2143 阅读 · 0 评论 -
Objective C 2.0 简明教程 (5) 属性(Property)
Objective C 2.0 简明教程 (5) 属性(Property) 作者:Administrator 周六, 2009年 03月 28日 07:47 Objective C 2.0 为我们提供了property。它大大简化了我们创建数据成员读转载 2009-05-20 10:10:00 · 13907 阅读 · 0 评论 -
Cocoa教学:Windows OOP与Cocoa MVC之对比
Cocoa教学:Windows OOP与Cocoa MVC之对比作者: Cocoa China 【最热的Mac, iPhone专业开发论坛】【本文永久地址】1Aug封装不封装,这是个问题。 今天我在看Cocoa开发者邮件列表的时候,看到一个帖子,求助如何在两个View之间互相通信的问题。做Windows程序员的时间长的我都不好意思说了,我意识到,这个问转载 2009-05-20 10:14:00 · 2300 阅读 · 0 评论 -
Objective C 2.0 简明教程 (6) Category
Category为我们提供了区别于继承的另外一种方法来对类进行扩展。我们可以向任何已有的类添加成员函数来实现功能上的扩展(注:category只允许添加成员函数,不能添加数据成员),添加的函数可以访问类中所有的数据成员,该类的子类也将继承新添加的成员函数。假设我们需要扩展前面几节用到的book类,添加一个名为Abstract的成员函数来输出书籍的摘要。使用category的格式为:在头文件转载 2009-05-20 10:13:00 · 5224 阅读 · 0 评论 -
iPhone开发入门4 - 创建一个UITable View程序,不使用Interface Builder
Hi Dears, Here i am not at going to use interface builder.I am going to implent complete application with coding, i hope it make you to become good programmer.I am assuming that you know the imple转载 2009-05-24 17:27:00 · 1932 阅读 · 0 评论 -
iPhone开发入门1 - 创建一个window-Based程序
iPhone Programming - Basic Hello world ApplicationIn this tutorial I will walk to you through creating a basic “Hello World” application using a basic template files generated by xcode for the i转载 2009-05-24 17:11:00 · 2065 阅读 · 0 评论 -
最好的iPhone开发入门tutorial
Tutorial Overview and Design PatternsThis chapter provides an overview of the application you’re going to create and the design patterns you’ll use.In this section:Tutorial Overview Design Pat转载 2009-05-24 17:58:00 · 4240 阅读 · 1 评论 -
iPhone开发入门2-创建View Based程序
iPhone programming - Hello world program -II(View Based)In my previous application just we created the application with default template generated by the xcode.if not done with that just have a原创 2009-05-24 17:13:00 · 1582 阅读 · 0 评论 -
iPhone开发入门5 - iphone Programming - UIButton Action
iphone Programming - UIButton Action_________________________________________________________________UIButton *myButton= [[UIButton buttonWithType:UIButtonTypeRoundedRect] retain];myButton.fram转载 2009-05-24 17:40:00 · 3638 阅读 · 0 评论 -
从零开始开发iPhone,教你如何在真机调试iPhone应用程序
对于真机调试,首先要在苹果网站上注册APP ID,以及购买iPhone Develop Program(iDP) 开发者授权,99美元。然后要创建证书请求CSR,创建步骤如下:设置OCSP和CRL为关闭状态。Mac OS 中,打开应用程序,找到 钥匙串访问(Keychain Access)工具打开主菜单- 证书助理(Certificate Assistant)-从证书代理请求证书(Request转载 2010-01-30 08:37:00 · 36811 阅读 · 2 评论 -
如何搭建自己的iPhone Installer软件源
如何搭建自己的iPhone Installer软件源作者: Cocoa China16Apr在Jailbreak(越狱)的iPhone手机中,用户可以自己安装使用开源SDK开发的第三方软件。目前国内几乎所有的iPhone或者iPodTouch都有安装Installer程序,有点类似linux上的apt工具,直接通过Wifi或者Edge即可从软件源下载并安转载 2009-05-04 17:02:00 · 3414 阅读 · 3 评论