Marina
Marina

Reputation: 1196

The build is succeded on simulator but does not run on device

I use DTCoreText framework. And when I try to run my app on device I get these errors: enter image description here

I can not understand why this code works on simulator and does not work on device. Perhaps somebody can help me??

Upvotes: 0

Views: 398

Answers (2)

Vishnuvardhan
Vishnuvardhan

Reputation: 5107

I have encountered the same issue before, It was due to the Xcode problem. After installing the new Xcode the issue is gone away. Hope this helps you.

Upvotes: 0

dahiya_boy
dahiya_boy

Reputation: 9503

I fixed the problem by going through the following steps:

  1. Clean the project, including the build cache (Command-Option-Shift-K)
  2. Removing the pod.lock file and the pods.xcodeproj files
  3. And then closing Xcode
  4. Delete drived data
  5. running pod update again
  6. Then building again

Upvotes: 1

Related Questions