Could not launch process launch failed: timed out

2019-01-10 04:51发布

I am trying to launch my app on device. It is launching successfully on the simulator.

  • List item
  • I use 7.1 SDK
  • Xcode 5
  • And the device is a 7.1 iPhone 4S

I have tried:

  • Clean
  • Clean Build Folder
  • Deleting app
  • Disconnecting/Reconnecting device
  • Booting device
  • restarting Xcode

What can I do to make it work?

Could it be something with Code Signing?

Currently i have it set to 'Dont Code Sign'

21条回答
够拽才男人
2楼-- · 2019-01-10 05:20

If your provisioning profile and code sign everything is alright then try once Quit and Restart your XCode. It will work for me.

查看更多
姐就是有狂的资本
3楼-- · 2019-01-10 05:20

After following the above, it still didn't work (from xCode 6). But after rebooting the phone and deleting the app, it worked.

查看更多
贼婆χ
4楼-- · 2019-01-10 05:20

Check whether the device memory is full.

查看更多
倾城 Initia
5楼-- · 2019-01-10 05:21

Make sure the Provisioning Profile setting in your environment is set to your development profile: Project > Build Settings > Code Signing

Consider setting it in your Target settings and the Pod project (in case using Cocoa Pods).

In case the development profile is not present create or download it: Certificates, Identifiers & Profiles > Provisioning Profiles

查看更多
祖国的老花朵
6楼-- · 2019-01-10 05:21

Selection in provisioning profiles may cause this problem. So while launching an app on to the device, make sure you are using the development profile & not the distribution profile. I have been facing the same issue. But got away with it using the same process.

Check for Project > Build Settings > Provisioning profile & select your development profile.

And also take care of Code Signing Identity in the same tab. Make sure you choose both the identities of Developer & NOT of Distribution.

查看更多
三岁会撩人
7楼-- · 2019-01-10 05:23

option + command + shift + k and then run the project did the trick for me.

查看更多
登录 后发表回答