Cocoapods structure not found

I am getting framework not found error when starting my workspace with cocoa pod.

ld: framework not found AFNetworking
clang: error: linker command failed with exit code 1 (use -v to invoke the call)

I look in my build settings and I have $ (inherited) set as the search path within the framework. Is this where the cocoa pad generates the framework files?

here's my subfile:

# Uncomment this line to define a global platform for your project
# platform :ios, '7.0'
use_frameworks!

target 'workouttracker' do

  pod 'AFNetworking', '~> 2.5'
  pod 'ORStackView', '~> 2.0'
  pod 'SwiftyJSON', '~> 2.1'
  pod "MagicalRecord"

end

target 'WorkoutTrackerTests' do


end

target 'workouttracker WatchKit Extension' do

  pod 'AFNetworking', '~> 2.5'
  pod 'ORStackView', '~> 2.0'
  pod 'SwiftyJSON', '~> 2.1'
  pod "MagicalRecord"

end

target 'workouttracker WatchKit App' do

  pod 'AFNetworking', '~> 2.5'
  pod 'ORStackView', '~> 2.0'
  pod 'SwiftyJSON', '~> 2.1'
  pod "MagicalRecord"

end

      

+3


source to share


1 answer


This is a communication problem. How are your LD_RUNPATH_SEARCH_PATHS

, and OTHER_LDFLAGS

in the building Build? Be sure to use the flag $(inherited)

. You can see this warning as a result during pod install

.



0


source







All Articles