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,769
  • 3
  • 19
  • 23

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,502
  • 1
  • 22
  • 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
  • 14,547
  • 9
  • 50
  • 69