您的位置:首页 > 其它

xcode3.2.5真机调试 免证书。

2012-04-22 09:22 309 查看
http://blog.sina.com.cn/s/blog_541a13560100y9wb.html

http://wenku.baidu.com/view/babfc4c2d5bbfd0a7956737f.html

免证书地址:http://year-2002.blog.163.com/blog/static/2493812320114260366163/

Xcode编译遇到过 Code Sign error: a valid provisioning profile matching the application’s
Identifier ‘com.yourcompany.xxxx’ could not be found
 吗?且往下看:

Xcode如果不破解,一方面无法真机调试, 也无法编译真机Release文件,只能付费开通Apple开发者账号,才能申请真机调试。而Xcode进行破解后,接合越狱的iPhone或iPad, 即可免官方证书开发调试了!目前测试对于最新的iOS 4.2 SDK/iOS 4.2.1 SDK的Xcode 3.2.5一样适用!当然,对iOS 3.2.2/iOS 4.1 SDK的Xcode 3.1.2同样保持兼容。


生成本机证书

应用程序->实用工具->钥匙串访问

菜单:钥匙串访问->证书助理->创建证书, 然后按以下图片顺序操作即可:





Xcode 3.2.5免证书开发调试_打开创建证书菜单





Xcode 3.2.5免证书开发调试_输入证书名称iPhone Developer并选择覆盖默认值





Xcode 3.2.5免证书开发调试_确定继续





Xcode 3.2.5免证书开发调试_输入序列号有效期,有效期不要超过365天





Xcode 3.2.5免证书开发调试_输入电子邮件地址





Xcode 3.2.5免证书开发调试_输入密钥对信息





Xcode 3.2.5免证书开发调试_密钥使用扩展扩展选择:签名





Xcode 3.2.5免证书开发调试_已扩展的密钥使用扩展选择:代码签名





Xcode 3.2.5免证书开发调试_基本约束扩展不选择





Xcode 3.2.5免证书开发调试_主题备用名称扩展输入RFC822名称,填入邮箱名即可





Xcode 3.2.5免证书

======================================================================================

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AdditionalInfo</key>
<dict>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>DTCompiler</key>
<string>$(GCC_VERSION)</string>
<key>DTPlatformBuild</key>
<string>$(PLATFORM_PRODUCT_BUILD_VERSION)</string>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>DTPlatformVersion</key>
<string>4.2 Seed 2</string>
<key>DTSDKName</key>
<string>$(SDK_NAME)</string>
<key>DTXcode</key>
<string>$(XCODE_VERSION_ACTUAL)</string>
<key>DTXcodeBuild</key>
<string>$(XCODE_PRODUCT_BUILD_VERSION)</string>
<key>MinimumOSVersion</key>
<string>$(IPHONEOS_DEPLOYMENT_TARGET)</string>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.platform.iphoneos</string>
<key>CFBundleName</key>
<string>iOS platform</string>
<key>CFBundleShortVersionString</key>
<string>4.2</string>
<key>DefaultDebuggerSettings</key>
<dict>
<key>DataFormattersLocationPath</key>
<string>/Developer/usr/lib</string>
<key>DisableGuardMallocInDebugger</key>
<string>YES</string>
<key>DisableRestartInDebugger</key>
<string>YES</string>
<key>ProvidesAttachList</key>
<string>YES</string>
<key>RequiresDeviceForLaunch</key>
<string>YES</string>
<key>RunInDebugger</key>
<string>YES</string>
</dict>
<key>DefaultProperties</key>
<dict>
<key>ARCHS</key>
<string>armv6</string>
<key>CODE_SIGN_CONTEXT_CLASS</key>
<string>XCCodeSignContext</string>
<key>COMPRESS_PNG_FILES</key>
<string>YES</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>EMBEDDED_PROFILE_NAME</key>
<string>embedded.mobileprovision</string>
<key>INFOPLIST_OUTPUT_FORMAT</key>
<string>binary</string>
<key>NATIVE_ARCH</key>
<string>armv6</string>
<key>PLIST_FILE_OUTPUT_FORMAT</key>
<string>binary</string>
<key>PROVISIONING_PROFILE_ALLOWED</key>
<string>NO</string>
<key>PROVISIONING_PROFILE_REQUIRED</key>
<string>NO</string>

<key>SDKROOT</key>
<string>iphoneos4.2</string>
<key>STRINGS_FILE_OUTPUT_ENCODING</key>
<string>binary</string>
<key>TARGETED_DEVICE_FAMILY</key>
<string>1</string>
</dict>
<key>Description</key>
<string>iOS</string>
<key>FamilyIdentifier</key>
<string>iphoneos</string>
<key>FamilyName</key>
<string>iOS</string>
<key>Icon</key>
<string>iPhoneOS.icns</string>
<key>Identifier</key>
<string>com.apple.platform.iphoneos</string>
<key>Name</key>
<string>iphoneos</string>
<key>OverrideProperties</key>
<dict>
<key>CODE_SIGN_CONTEXT_CLASS</key>
<string>XCCodeSignContext</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>EMBEDDED_PROFILE_NAME</key>
<string>embedded.mobileprovision</string>
<key>SDKROOT</key>
<string>iphoneos4.2</string>
<key>PROVISIONING_PROFILE_ALLOWED</key>
<string>NO</string>
<key>PROVISIONING_PROFILE_REQUIRED</key>
<string>NO</string>
</dict>
<key>RuntimeRequirements</key>
<dict>
<key>Classes</key>
<array>
<string>XCCodeSignContext</string>
<string>XCProductPackagingUtilityCommandInvocation</string>
<string>DTDKProvisioningProfileController</string>
<string>XCiPhoneOSPlatformPlugin</string>
</array>
</dict>
<key>Type</key>
<string>Platform</string>
<key>Version</key>
<string>4.2</string>
</dict>
</plist>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: