Skip to content

Instantly share code, notes, and snippets.

@qingjoin
qingjoin / UncaughtExceptionHandler.h
Created September 26, 2014 03:36
iOS 异常捕获 UncaughtExceptions
//
// UncaughtExceptionHandler.h
// UncaughtExceptions
//
// Created by Matt Gallagher on 2010/05/25.
// Copyright 2010 Matt Gallagher. All rights reserved.
//
// Permission is given to use this source code file, free of charge, in any
// project, commercial or otherwise, entirely at your risk, with the condition
// that any redistribution (in part or whole) of source code must retain
@qingjoin
qingjoin / Qy3DES.h
Last active August 29, 2015 14:06
iOS 3DES 加密 ECB模式
//
// Qy3DES.h
// GameLive
//
// Created by qingyun on 12/26/13.
// Copyright (c) 2013 qingyun. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
@qingjoin
qingjoin / myQyRsa.h
Last active August 29, 2015 14:06
iOS Rsa加密
//
// myQyRsa.h
// EncriptDemo
//
// Created by qingyun on 12/23/13.
// Copyright (c) 2013 qingyun. All rights reserved.
//
#import <Foundation/Foundation.h>
@qingjoin
qingjoin / GLSupprot.h
Created September 26, 2014 03:13
iOS 经常用到的一些方法
//
// GLSupprot.h
// GameLive
//
// Created by qingyun on 5/3/13.
// Copyright (c) 2013 qingyun. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@qingjoin
qingjoin / QyHttpRequest.h
Created September 26, 2014 03:06
iOS NSURLConnection 封装
//
// QyHttpRequest.h
// QySdkDemo
//
// Created by qingyun on 6/18/14.
// Copyright (c) 2014 qingyun. All rights reserved.
//
#import <Foundation/Foundation.h>
@qingjoin
qingjoin / iOS developer certificate
Last active August 29, 2015 14:06
iOS 开发者证书总结 in-house
iOS 证书分两种类型.
第一种为$99美元的,这种账号有个人和公司的区别,公司账号能创建多个子账号,但个人的不能。这种账号可以用来上传app store
第二种为¥299美元的,这种账号只能用于企业内部使用,不能用来上传app store .也就是常说的in-house证书(用这种证书打出来的包能在任何iOS设备上运行,不需要苹果的验证、签名)--不要误解了这种账号即能上传app store 又带有in-house 的功能,它只能用于企业内部,这是两种不同的账号
开发iOS 所需要的证书
@qingjoin
qingjoin / CircleXYZ.m
Created September 12, 2014 02:49
iOS 计算圆的运动轨迹坐标
//
// CircleXYZ.m
// Metronome
//
// Created by qingyun on 9/11/14.
// Copyright (c) 2014 qingyun. All rights reserved.
//
#import "CircleXYZ.h"
@qingjoin
qingjoin / Jenkins Xcode ipa
Created August 29, 2014 09:52
Jenkins 集成Xcode 工程自动编译生成ipa
如果Mac 上没有安装brew。先安装:ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
首先安装jenkins #: brew install jenkins brew 官网:http://brew.sh 或直接从Jenkins下载:http://jenkins-ci.org
本地Xcode 工程设置:
安装完成后浏览器打开:http://localhost:8080 Jenkins 默认地址
首先请确认本地的xcode 工程是否能生成ipa 最好先试一次。如果xcode 能正常生成ipa 那么下面的才能实现
第一步:编译ios 工程首先需要安装Xcode Plugin
1 选择左边的Manage Jenkins--> Manage Plugins --> Available -->Xcode integration
@qingjoin
qingjoin / Jenkins 集成Unity 自动编译Xcode工程导出iOS安装包
Last active January 18, 2019 12:49
Unity3d通过Jenkins自动集成Xcode工程, 然后用Xcode工程通过Jenkins自动编译生成iOS 的ipa 安装包
如果Mac 上没有安装brew。先安装:ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
首先安装jenkins #: brew install jenkins brew 官网:http://brew.sh 或直接从Jenkins下载:http://jenkins-ci.org
本地Unity生成Xcode工程设置:
首先请先安装两个插件: Manage Jenkins--> Manage Plugins --> Available -->Xcode integration && Unity3d plugin
本地Unity项目
第一步:新建一个item
1 New item --> item name --> Build a free-style software project
git add file
git status
git commit -m "add file"
git push origin master