Trying to build to tablet, wanted dev team profile, added one, but now failing for same for “tests”

无人久伴 提交于 2019-12-06 13:32:26

问题


I am on iOS, creating a react-native iOS app. I was using the simulator but the resolution doesn't look right, its got this black padding etc. So I was trying to test on a device.

I plugged my device in then clicked "Run". It failed under "navi" for reason "Dependency Analysis Error - Signing for "navi" requires a development team. Select a development team in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.3'" - screenshot: http://i.imgur.com/brazAhq.png

So I went to "General" then in signing I clicked "Add Account" then signed in. Then I selected under Team dropdown my thing. Then I tried build again and said I needed a "Unique bundle identifier and to change it", so I added some random numbers then tried again. It popped up asking "Allow acces to keychain" I said "Always Allow". However it is showing me the same exact error as first time, "code signing required", EXCEPT now it is in "naviTests" as seen in screenshot below.


回答1:


You choose Target naviTests. Then you can set signing info.



来源:https://stackoverflow.com/questions/43334982/trying-to-build-to-tablet-wanted-dev-team-profile-added-one-but-now-failing-f

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!