V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
kelvinli
V2EX  ›  Xcode

xcode 模拟器可以打开,真机没法测试

  •  
  •   kelvinli · 2017-05-01 17:23:21 +08:00 · 4704 次点击
    这是一个创建于 2523 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我在模拟器上可以测试, 今天用了账号想真机测试一下, 结果报错, 查了半天没弄明白.

    Signing for "Alamofire iOS Tests" requires a development team. Select a development team in the project editor.
    Code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 10.3'
    

    求大神给解答一下

    3 条回复    2017-05-01 22:49:28 +08:00
    SeanChense
        1
    SeanChense  
       2017-05-01 17:58:36 +08:00 via iPhone
    选你自己的账号来签名
    mornlight
        2
    mornlight  
       2017-05-01 19:17:38 +08:00
    模拟器上跑不需要开发者证书签名,真机调试需要。
    现在不花钱买开发者也可以在真机调试,在 Xcode 里登录你的 Apple ID,然后 Signing 里选 Personal Team,另外还要在这个真机的系统设置里信任该开发者证书。
    lianz
        3
    lianz  
       2017-05-01 22:49:28 +08:00
    你需要买一个 688 元的开发者账号.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   991 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:01 · PVG 06:01 · LAX 15:01 · JFK 18:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.