如何更改Xcode 4用于下载组件的Apple ID?(How can I change the Apple ID that Xcode 4 uses to download components?)
我在OS X 10.6.8上运行Xcode 4.2。
由于公司政策,我有两个苹果公司的ID。
me@bigcorp.com
是我的“工作”ID,这是连接到我的iOS开发者计划会员资格的ID。 我也有me@personalmail.com
,我的“个人”ID,这与我的音乐,愤怒的小鸟下载等相关联。我正在尝试从Xcode(Xcode - >首选项 - >下载 - >组件)中安装iOS 4.3模拟器。 当我点击该组件旁边的“安装”按钮时,Xcode抱怨说
me@personalmail.com
不是“注册的Apple开发人员”。 我想让它使用me@bigcorp.com
,但我找不到任何描述如何更改它,在Xcode或其他方式的任何参考。 任何人都可以解释如何击败Xcode提交?I am running Xcode 4.2 on OS X 10.6.8.
Due to corporate policy, I have two Apple ID's.
me@bigcorp.com
is my "work" ID, and that's the ID that is connected to my iOS Developer Program membership. I also haveme@personalmail.com
, my "personal" ID, which is associated with my music, Angry Birds download, and so on.I'm trying to install the iOS 4.3 Simulator from within Xcode (Xcode -> Preferences -> Downloads -> Components). When I click the "install" button next to that component, Xcode complains that
me@personalmail.com
is not a "Registered Apple Developer". I'd like to have it useme@bigcorp.com
, but I can't find any reference anywhere that describes how to change it, within Xcode or otherwise. Can anyone explain how to beat Xcode into submission?
原文:https://stackoverflow.com/questions/7997317
满意答案
除非是一个流程,否则我不会在一个场景中这样做。 我不会去xyz.com,我也不会点击,因为那不是'行为。 页面对象将帮助您。
Scenario: Register a new account Given I do not have an account When I register a new account Then I can use those credentials to access the site
然后我会创建适当的步骤
Given(/^I do not have an account%/) do @credentials = get_unique_credentials @browser = Watir::Browser.new :firefox end When(/^I register a new account$/) do visit RegistrationPage do |page| page.name = @credentials[0] page.password = @credentials[1] page.register end end Then(/^I can use those credentials to access the site$/) do visit LoginPage do |page| page.name = @credentials[0] page.password = @credentials[1] page.login end on HomePage do |page| expect(page.something).to exist end end
I would not do that in one scenario unless it is one flow. And I wouldn't go to xyz.com, and I wouldn't click on things because that isn't 'behavior. Page objects will help you.
Scenario: Register a new account Given I do not have an account When I register a new account Then I can use those credentials to access the site
Then I'd create appropriate steps
Given(/^I do not have an account%/) do @credentials = get_unique_credentials @browser = Watir::Browser.new :firefox end When(/^I register a new account$/) do visit RegistrationPage do |page| page.name = @credentials[0] page.password = @credentials[1] page.register end end Then(/^I can use those credentials to access the site$/) do visit LoginPage do |page| page.name = @credentials[0] page.password = @credentials[1] page.login end on HomePage do |page| expect(page.something).to exist end end
相关问答
更多黄瓜网测试 - 捕获vaules(Cucumber web testing - capture vaules)
如何捕获网络上的击键?(How do I capture keystrokes on the web?)
测试与黄瓜的关联(Testing associations with cucumber)
如何在桌面软件测试中使用Cucumber(How about using Cucumber on desktop software testing)
用黄瓜测试omniauth(Testing omniauth with cucumber)
寻找与黄瓜测试PHP相当的“无头浏览器”(Looking for a “headless browser” equivalent for PHP for Cucumber testing)
黄瓜组合测试(Combinatorial testing with Cucumber)
黄瓜与内置测试?(Cucumber vs. built-in testing? [Rails])
如何从黄瓜/ aruba捕获shell脚本程序输出?(How to capture shell script program output from cucumber/aruba?)
无法捕获RESTful Web服务上的请求(Unable to capture request on a RESTful Web service)
相关文章
更多Custom SOLR Search Components - 2 Dev Tricks
Solr4.0 如何配置使用UUID自动生成id值
使用TabPanel时,如果两个页面存在相同的id。
rails save问题数据库表主键必须是id吗?
微信将推指纹支付 "指付通"会与Touch ID整合吗
hibernate id 生成策略及主要使用方法
MongoDB _id和ObjectId详解
solr required field: id
js 通过td的id值 如何拿到tr的id值?
Solr4.0 如何配置使用UUID自动生成id值
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!