简体   繁体   中英

XCode-bot build failed on physical devices

today I have attached a real device for the first time to my XCode server (Xcode 7.3.1, iOS 9.3.4) and this is what i got :

xcodebuild: error: Failed to build workspace xxxxxxxx with scheme xxxxxxxx.  
Reason: Logic Testing Unavailable

My bot have a debug schema and some unit and UI tests, if i detach the iphone everything works well on simulators.

Someone have already encountered this issue ? Did you found a solution to solve ?

Physical devices can only run targets embedded in App. To handle this error, you should check Allow testing Host Application APIs and select your app in your test target General tab

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM