ios - Cocoapods generate bad xcconfig file - no header search path -
i'm facing problem, of libraries not found in project, , figured out pods.debug.xcconfig file not contains header search path that's reason of this, don't know why , how can solve problem. podfile looks this:
platform :ios, '8.0' use_frameworks! target 'project' pod 'fbsdkcorekit', '~> 4.2' pod 'fbsdkloginkit', '~> 4.2' pod 'jsonhelper', '~> 1.6' end
and xcconfig file this:
framework_search_paths = $(inherited) "$pods_framework_build_path" gcc_preprocessor_definitions = $(inherited) cocoapods=1 ld_runpath_search_paths = $(inherited) '@executable_path/frameworks' '@loader_path/frameworks' other_cflags = $(inherited) -iquote "$pods_framework_build_path/bolts.framework/headers" -iquote "$pods_framework_build_path/fbsdkcorekit.framework/headers" -iquote "$pods_framework_build_path/fbsdkloginkit.framework/headers" -iquote "$pods_framework_build_path/jsonhelper.framework/headers" other_ldflags = $(inherited) -objc -framework "bolts" -framework "fbsdkcorekit" -framework "fbsdkloginkit" -framework "jsonhelper" other_libtoolflags = $(other_ldflags) other_swift_flags = $(inherited) "-d" "cocoapods" pods_framework_build_path = $(build_dir)/$(configuration)$(effective_platform_name)/pods-project pods_root = ${srcroot}/pods
i'm using xcode 6.3.2 , swift.
figured out problem caused line: use_frameworks! because wanted include jsonhelper written in swift.
removing , added jsonhelper hand solved problem.
Comments
Post a Comment