1

When I build project to real device (iPhone 5) everything works fine. When I change target to any simulator I see:

enter image description here

Same configuration of PodFile is running without problems for my friends. It stoped working without resonable reason (i.e. changing podfile or AFNetworking)

my podfile is:

# Networking
pod 'AFNetworking', '~> 2.0'

.

.

.

-------------------------------- ANSWER --------------------------------

In my case deleting xcode derived data and reset iPhone simulator settings helped

.

.

.

Trzy Gracje
  • 2,969
  • 4
  • 20
  • 24

2 Answers2

0

It looks like you have picked up duplicate symbols, probably two similar installations of that pod. Try a clean build.

Ewan Mellor
  • 6,747
  • 1
  • 24
  • 39
0

You can create different targets in your Podfile.

Check here: How do I specify multiple targets in my podfile for my Xcode project?

Community
  • 1
  • 1
napolux
  • 15,574
  • 9
  • 51
  • 70