Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

'YYCache/YYCache.h' file not found #1112

Closed
Johnny987 opened this issue May 7, 2019 · 1 comment
Closed

'YYCache/YYCache.h' file not found #1112

Johnny987 opened this issue May 7, 2019 · 1 comment

Comments

@Johnny987
Copy link

Running appium server and got classic 'xcodebuild failed with code 65' error.

Dig into the webdriverAgent xcode project, build the WebDriverAgent project, first notice some 'RountingHTTPServer' file missing error, resolved by running "Scripts/bootstrap.sh -d“ in project folder.

Then build again, got another error:
usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Routing/FBElementCache.m:12:9: fatal error: 'YYCache/YYCache.h' file not found
#import <YYCache/YYCache.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
Command Analyze failed with a nonzero exit code

Tried manually import the folder from https://github.com/ibireme/YYCache seems not working either, please help! Not an xcode expert, might be some missing steps import the file?

Also a question for that: I just delete the entire appium repo and "npm install appium -g" again, really confused why there're still so many missing files after that. I believe it will run "Scripts/bootstrap.sh" for webdriverAgent during appium install, but why so many dependencies not installed?

@Johnny987
Copy link
Author

Issue solved by reinstall Carthage
Clean Carthage cache:
rm -rf ~/Library/Caches/org.carthage.CarthageKit
rm -rf /Carthage
xcrun simctl delete unavailable

Remove Carthage:
brew uninstall --force carthage

Install Carthage:
brew install carthage

Update Carthage:
carthage update --no-use-binaries --platform iOS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant