Error loading XCTest, no suitable image found.

后端 未结 4 1868
慢半拍i
慢半拍i 2021-02-03 22:59

I have recently updated my Xcode and started having this error.

2014-11-03 15:03:54.222 App[13141:60b] Error loading /private/var/mobile/Applications/677127BD-52         


        
相关标签:
4条回答
  • 2021-02-03 23:04

    Xcode 10 here.

    For me the issue was the discrepancy between the Project deployment target and the Target deployment target. Once I had them matching, XCTest started working.

    0 讨论(0)
  • 2021-02-03 23:08

    I've encountered exactly the same problem. I was able to fix the problem by setting the provisioning profile to something other than Automatic on both targets (the test and the test host).

    I verified this was the problem by reverting it back to automatic, and the problem reoccured.

    0 讨论(0)
  • 2021-02-03 23:08

    I found that if I deleted all iOS developer certificates from OS X keychain and the iPhone developer portal, and then let Xcode re-request the development certificates, the problem is resolved.

    0 讨论(0)
  • 2021-02-03 23:21

    @tagy22's comment worked for me

    Had this error, I had to set both targets provisioning profile to a wildcard profile.

    0 讨论(0)
提交回复
热议问题