ios - Failed to emit precompiled header for bridging header -


i downloaded project github, pod following files, of written obj-c , used bridge header.

pod ‘snapkit’ pod ‘mjrefresh’ pod ‘alamofire’ pod ‘kingfisher’ pod ‘mbprogresshud’ pod ‘pop’ pod ‘evreflection’ pod ‘streamingkit’ pod ‘icarousel’ pod ‘reflectionview’ 

when run project xcode 9.0 beta 2, unfortunately error log follows :

error: failed emit precompiled header '/var/folders/kd/4gh0_kxx3jx4thjb_sssmmcw0000gn/t/evoradio-bridging-header-97bd5f.pch' bridging header '/users/ringo/downloads/evoradio-master/evoradio/resources/evoradio-bridging-header.h'

i have googled, no such issue.the error means needs pch file? .pch header configuration: enter image description here can't solve it.

how make it?

i got exact same issue (xcode9 beta 6) after added cocoa pods encrypted core data.
podfile:

# uncomment next line define global platform project platform :ios, '9.0' pod 'encryptedcoredata', :git => 'https://github.com/project-imas/encrypted-core-data.git'  target 'root'   # comment next line if you're not using swift , don't want use dynamic frameworks   use_frameworks!    # pods root    target 'roottests'     inherit! :search_paths     # pods testing   end    target 'rootuitests'     inherit! :search_paths     # pods testing   end  end 

solution:
1 added $(inherited) non-recursive search path -> header search paths
2 added ${pods_root} recursive search path -> user header search paths
both above in projects' target build settings.

please have @ these answers:
1 inherit header search paths
2 inherit user search paths


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -