Closed TimurBK closed 9 years ago
Build script fails if Core data model has versions.
Trace is : UFW (M iphoneos): ERROR: Build failed Traceback (most recent call last): File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 813, in run_build() File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 746, in run_build project = Project(os.path.join(os.environ['PROJECT_FILE_PATH'], "project.pbxproj")) File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 200, in init self.compilable_sources = self.get_build_phase_files('PBXSourcesBuildPhase', lambda x: x['fileRef']['fileType'] in sourcecode_types) File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 300, in get_build_phase_files build_files = filter(filter_func, build_phase['files']) File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 200, in self.compilable_sources = self.get_build_phase_files('PBXSourcesBuildPhase', lambda x: x['fileRef']['fileType'] in sourcecode_types) KeyError: 'fileType' Command /bin/sh failed with exit code 1
Workarounds in #105 and #150 work.
Build script fails if Core data model has versions.
Trace is : UFW (M iphoneos): ERROR: Build failed Traceback (most recent call last): File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 813, in
run_build()
File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 746, in run_build
project = Project(os.path.join(os.environ['PROJECT_FILE_PATH'], "project.pbxproj"))
File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 200, in init
self.compilable_sources = self.get_build_phase_files('PBXSourcesBuildPhase', lambda x: x['fileRef']['fileType'] in sourcecode_types)
File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 300, in get_build_phase_files
build_files = filter(filter_func, build_phase['files'])
File "/Users/timurkuchkarov/Library/Developer/Xcode/DerivedData/OSLMap-dkptgythedvpllfwqeseguwxgavv/Build/Intermediates/OSLMap.build/Debug-iphoneos/OSLMap.build/Script-73EB4F8218AC609E00F2448D.sh", line 200, in
self.compilable_sources = self.get_build_phase_files('PBXSourcesBuildPhase', lambda x: x['fileRef']['fileType'] in sourcecode_types)
KeyError: 'fileType'
Command /bin/sh failed with exit code 1