Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Target Integrity - The file "Pods-ios.xcconfig" couldn't be opened because its path couldn't be resolved. It may be missing"

I'm trying to utilize the four Examples that ship with RestKit Version 0.20.1 Currently trying to Build RKSearchExample. The Build "succeeds" but no simulator appears and I get two warnings

1st one - Target Intergrity - The file "Pods-ios.xcconfig" couldn't be opened because there is no such file. ....

2nd one - Target Integrity - The file "Pods-ios.xcconfig" couldn't be opened because its path couldn't be resolved. It may be missing"

I assume that this file is missing and even though the Build succeeds with only warnings, it missing is causing the project to not actually complete its Build.

Does anyone have any idea where to find this file? Has one built the Examples included in RestKit successfully?

Thanks!

like image 758
Roy Jay Avatar asked May 16 '13 13:05

Roy Jay


1 Answers

Came across same problem. Solved it by

  1. Make sure .pch file is updated and missing frameworks are added to Build Phases (See 'Adding Frameworks to the Precompiled Header File' in https://github.com/RestKit/RestKit/wiki/Installing-RestKit-v0.20.x-via-CocoaPods)

  2. Close the workspace, re-run '$ pod install' in the project directory,

  3. Re-open the project (using .xcworkspace), do a Clean and Build.

like image 114
Sandeep Avatar answered Oct 05 '22 22:10

Sandeep