-1

I wanna know why I get this bunch of errors when I try to build it on device. Because I can build and run it on simulator.

enter image description here

Avt
  • 16,927
  • 4
  • 52
  • 72
Turner
  • 125
  • 1
  • 11

1 Answers1

0

What are your targets settings? Check that ARC is disabled:

  1. Select Project
  2. Select Targets
  3. From the right panel, select Build Settings
  4. Search for "Automatic Reference Counting"

enter image description here

If you need to enable ARC for some files check this question How to add ARC for specific file?

Community
  • 1
  • 1
Avt
  • 16,927
  • 4
  • 52
  • 72