Open igortxito opened 7 years ago
Where are you getting this error. Sounds like an Xocde problem really.
I use code 8.3.2 and the app runs without problem. The error is printed in the console when I run "inject source". There is one archive written in Objecttive-C and de corresponding bridge file.
Mixing Xcode versions can be problematic. Try clearing out ~/Library/Developer/Xcode/DerivedData for the project.
The same. The problem is when there is bridging header file: Compiling /Users/.../repositorio/..../..../XXXXBaseViewController.swift
Is this when you are building or injecting?
I think the problem is the precompilation of headers option in Build Phases. I dont know why but unchecking it seems to solve the problem
Sounds right. Precompiling bridging headers is new to Xcode 8.3
Hi @igortxito how to fix ?
Compiling /Users/mac/Desktop/gitlab/XX/../XXController+Config.m *** Re-compilation failed (/Users/mac/Library/Containers/com.johnholdsworth.InjectionIII/Data/command.sh) fatal error: malformed or corrupted AST file: 'could not find file '/Users/mac/Desktop/gitlab/XX/../Lib/iflyMSC.framework/Headers/iflyMSC.h' referenced by AST file '/Users/mac/Library/Developer/Xcode/DerivedData/KSStory-bfjfggguonewydfqktouoblpsknc/Build/Intermediates.noindex/PrecompiledHeaders/PrefixHeader-eicanprpgzqtaxdzfkwpdportxpi/PrefixHeader.pch.pch'' 1 error generated.
The problem is when there is bridging header file, how to fix?
@igortxito @johnno1962
Problem is 'could not find file '/Users/mac/Desktop/gitlab/XX/../Lib/iflyMSC.framework/Headers/iflyMSC.h’ probably to do with case sensitivity in build i.e. A != a
I annotated the introduction of the bridging header file, it seems to solve the problem.But I don't want to do that,Is there another way? @johnno1962
I tried everythig, delete derived data, recompile...but dont'k how to generate that pch file related to bridging that is asing...