2

After spending three days on searching for solution to my problem. I decided to kindly ask for your help. There is this Xcode Ios-App that we have at our company. It was developed by colleague of mine, but he left us few months ago. I must admit I'm relatively new to XCode enviroment. The Boss ask to change some minor things in the app, so I got the Mac, updated Xcode to 9.2 and retrieved the code from git. The Pods were having some errors so I've updated them and then fixed some more issues after that. Currently I'm stuck on a following error.

/Users/ImoEntwicklung/Documents/Customer Programs/arzneimittel/arzneimittel/../../azure-notificationhubs/iOs/WindowsAzureMessaging/WindowsAzureMessaging/SBNotificationHub.h:6:9: error: 'SBTokenProvider.h' file not found #import "SBTokenProvider.h"

and then (I think) the follow-up error:

error: failed to emit precompiled header '/Users/ImoEntwicklung/Library/Developer/Xcode/DerivedData/Arzneimittel-fjgbyklcwfwvyhbdlidichafvuho/Build/Intermediates.noindex/PrecompiledHeaders/BridgingHeader-swift_1FFBBGOR0UHNO-clang_15BN3EC1NL1KU.pch' for bridging header '/Users/ImoEntwicklung/Documents/Customer Programs/arzneimittel/arzneimittel/BridgingHeader.h'

the file that cannot be found is in sub-directory "Helpers", but I don't think this is an issue.

enter image description here

the complete error Message looks like this: enter image description here

and finally the file that is reporting an error: enter image description here

I've done some research and found those posts:

xcode error: failed to emit precompiled header - not solved

Header file not found in Bridging Header - solved, but the solution didn't worked for me

'failed to emit precompiled header' while adding new pod into existing Project - not solved

Failed to emit precompiled header for bridging header - not sure if this is the same issue, since author posted only follow-up error

Xcode 9 - failed to emit precompiled header - not sure if this is the same issue, since author posted only follow-up error

can anyone help me out here?

Teodor Głaz
  • 61
  • 1
  • 5
  • did you manage to solve the problem, I have the same issue with different pod library – Stan Feb 16 '18 at 18:32

1 Answers1

0

Had similar issue Ended up with this solution:

  1. select scheme, from appeared menu choose Manage Schemes...
  2. from popped up list of schemes find [Your Project Name] scheme, select it and delete by pressing - button in the bottom left corner of list
  3. Press Autocreate Schemes Now button in the top right corner