Actually my project does compile for an iPhone 6s but not for any iOS simulators. When I want to build for a simulator I get two build time errors.
Errors
'CocoaLumberjack/CocoaLumberjack.h' file not found
and
failed to emit precompiled header
'/DerivedData/Project/Build/Intermediates.noindex/PrecompiledHeaders/Bridging-Header-swift.pch'
for bridging header
'/Users/Development/ProjectMobile/Views/Project-Bridging-Header.h'
What have I tried yet?
pod deintegrate
, clear Build, delete "DerivedData",pod install
andpod update
- open
Project.xcworkspace
instead ofProject.xcodeproj
- keep target iOS version in
podfile
and deployment target the same (iOS 12) - check "Framework Search Paths" at targets build settings 1
- check "Header Search paths" 2
I am not 100% sure if the paths are correct. And I am wondering that Xcode can't find Cocoalumberjack.h
, because I can find it under /Pods/CocoaLumberjack/Sources/CocoaLumberjack/Supporting Files/CocoaLumberjack.h
.
Questions
Are these paths probably incorrect?
What else could be the problem?
I am happy for every serious answer!