Apple-Dev-Reference
苹果开发者账号开启双重认证教程 注册Apple账户且在iOS设备上进行登录(Phone or Pad),在账户信息页面选择 “密码与安全性”,开启双重认证。——目前,不开启双重认证的账户无法注册为开发者账户。
苹果开发者账号开启双重认证教程 注册Apple账户且在iOS设备上进行登录(Phone or Pad),在账户信息页面选择 “密码与安全性”,开启双重认证。——目前,不开启双重认证的账户无法注册为开发者账户。
美区账户似乎搞起来比较麻烦了,既然是开源项目,在自己的Mac上编译打包安装不是也可以?正好顺带学习一下iOS开发。
直接打包ios-app时提示类似:Xcode, Pods ProjectName.debug.xcconfig unable to open file. Wrong directory问题。
根据这个帖子STF 集成 iOS 之 开源了
目前但效果只是能发现设备,还无法正常完成初始化。
Setup had an error TypeError: Cannot read property 'sdk' of null
at Object.getDeviceInfo (/Users/gebitang/projects/tryout/stf/lib/units/ios-device/support/deviceinfo.js:56:28)
at solve (/Users/gebitang/projects/tryout/stf/lib/units/ios-device/plugins/util/identity.js:13:33)
at /Users/gebitang/projects/tryout/stf/lib/units/ios-device/plugins/util/identity.js:18:12
at SerialSyrup.ParallelSyrup.invoke (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/lib/parallel.js:54:24)
at /Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/lib/serial.js:43:33
at tryCatch1 (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/util.js:63:19)
at Promise$_callHandler [as _callHandler] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:708:13)
at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:724:18)
at Promise$_settlePromiseAt [as _settlePromiseAt] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:896:14)
at Promise$_fulfillPromises [as _fulfillPromises] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:1041:14)
at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/async.js:74:12)
at Async$consumeFunctionBuffer (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/async.js:37:14)
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)
昨天遇到的问题 Error: Unknown security handler: accessTokenAuth
是因为启动过程中有类似下面的提示——
STF 集成 iOS之一:环境准备里完成里环境搭建。 实际上出现的错误——是属于模拟器设备的:(
Setup had an error TypeError: Cannot read property 'sdk' of null
at Object.getDeviceInfo (/Users/gebitang/projects/tryout/stf/lib/units/ios-device/support/deviceinfo.js:56:28)
at solve (/Users/gebitang/projects/tryout/stf/lib/units/ios-device/plugins/util/identity.js:13:33)
...
在测试旧的MacPro机器上搭建正式的部署环境。
Mac系统为13.3 + Xcode9.4。 根据测试环境搭建的经验,选择Xcode10.1
谨慎起见,开了个分支集成STF下的iOS远程真机。
事实上,STF 集成 iOS之三:对接里提到的前端集成关键的就是图片传输协议——
res/app/components/stf/control/control-service.js
新增加了 screendump
方法发送zmq消息通知,lib/units/device/plugins/screen/dump.js
,接收到消息后完成截图动作。昨天图像没显示出来,有可能是WDA还没有build成功——需要等待一段时间。
下面为官方内容,研究透下面的内容,不用再搜索任何其他资料了:) 记录下链接没啥用哈,搞清楚how和what之后才能变成自己的东西 developer apple center