nomad 工具主页:http://nomad-cli.com/
Cupertino
tips:
- 当使用 ios profiles:list
- 出现 error: undefined method `each' for nil:NilClass. Use --trace to view backtrace 的错误,请更新 cupertino 的版本
- 更新命令 sudo gem update cupertino
cupertino 问题:
- login一个账号,再login一个不起作用,只能login一个,使用一个,然后logout
待解决:
- cupertino 查询出来的 list 如何获取使用
- ios app_ids:add "App Bundle Description”=123ABCDEFG.com.mattt.bundle 命令出错
SHENZHEN
$ cd /path/to/iOS Project/
$ ipa build
ipa 包保存在该目录下
其他
待解决(如何脚本修改):
- 修改 /Users/commandZi/git/Isport/ISport.xcodeproj 下的 project.pbxproj 文件下的 productName
/* Begin PBXNativeTarget section */
3FB9D72C1A45184900862D06 /* ISport */ = {
isa = PBXNativeTarget;
buildConfigurationList = 3FB9D7591A45184A00862D06 /* Build configuration list for PBXNativeTarget "ISport" */;
buildPhases = (
BBF26AE686C154A339167783 /* Check Pods Manifest.lock */,
3FB9D7291A45184900862D06 /* Sources */,
3FB9D72A1A45184900862D06 /* Frameworks */,
3FB9D72B1A45184900862D06 /* Resources */,
32526044626548B35CDADCC7 /* Copy Pods Resources */,
);
buildRules = (
);
dependencies = (
);
name = ISport;
productName = ISport;
productReference = 3FB9D72D1A45184900862D06 /* Isport.app */;
productType = "com.apple.product-type.application";
};
- 以及该文件下的 PROVISIONING_PROFILE
3FB9D75B1A45184A00862D06 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 920D29E1C28B3827AF13ED2A /* Pods.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/ISport/Thirdparty",
"$(PROJECT_DIR)/ISport/Thirdparty/ShareSDK/Connection",
"$(PROJECT_DIR)/ISport/Thirdparty/ShareSDK/Core",
"$(PROJECT_DIR)/ISport/Thirdparty/ShareSDK/Extend/QQConnectSDK",
"$(PROJECT_DIR)/ISport/Thirdparty/ShareSDK",
"$(PROJECT_DIR)/ISport/Thirdparty/ShareSDK/UI",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "ISport/ISport-Prefix.pch";
INFOPLIST_FILE = "ISport/ISport-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/ISport/Thirdparty/BaiduMap_IOSSDK_v2.6.0_Lib",
"$(PROJECT_DIR)/ISport/Thirdparty/gotyeapi/libs",
"$(PROJECT_DIR)/ISport/Thirdparty/ShareSDK/Extend/SinaWeiboSDK",
"$(PROJECT_DIR)/ISport/Thirdparty/ShareSDK/Extend/TencentWeiboSDK",
"$(PROJECT_DIR)/ISport/Thirdparty/ShareSDK/Extend/WeChatSDK",
);
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = Isport;
PROVISIONING_PROFILE = "6f01e018-da29-467d-a2f1-866fa63f409e";
WRAPPER_EXTENSION = app;
};
name = Release;
};
- 修改/Users/commandZi/git/Isport/ISport 下的 ISport-Info.plist 里面的
<key>CFBundleIdentifier</key>
<string>com.yundu.benke.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
一个自动打包脚本 https://github.com/lexrus/ios-makefile
puby 是 Ruby 解释器的 Python 接口。