xcode Framework not found

Viewed 31

I just created a new tvOS project, installed one pod, and i am getting "Framework not found Rswift"

ld: warning: directory not found for option '-F/Users/daniel/Library/Developer/Xcode/DerivedData/palosFrontera-cmrmrypsotyucyebltalftgrgxzl/Build/Products/Debug-appletvsimulator/R.swift.Library'

ld: framework not found Rswift

screenshot

i tried pod deintegrate and pod install again, cleaning build but nothing works, tried too to remove the framework search path and headers search path and still getting the error

My Pods/Pods.debug

ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/R.swift.Library"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/R.swift.Library/Rswift.framework/Headers"
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
OTHER_LDFLAGS = $(inherited) -framework "Rswift"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
PODS_ROOT = ${SRCROOT}/Pods
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES

My podfile:

# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'

target 'palosFrontera' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  #UTILITIES
  pod 'R.swift'

end
1 Answers

had to change

platform :ios, '9.0'

for

platform :tvos, '9.0'

Related