Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCTest/XCTest.h not found #93

Open
pisacode opened this issue Oct 18, 2018 · 7 comments
Open

XCTest/XCTest.h not found #93

pisacode opened this issue Oct 18, 2018 · 7 comments

Comments

@pisacode
Copy link

No description provided.

@pisacode pisacode changed the title XCTest/XCTest.h not found on old projects built in Xcode 6 XCTest/XCTest.h not found Oct 18, 2018
@pisacode
Copy link
Author

pisacode commented Oct 18, 2018

React Native version 0.52
xcode 10

I am getting this error

/Users/pisacode/Desktop/appName/node_modules/react-native-photos-framework/ios/RNPhotosFrameworkTests/PHAssetsService_getAssetsForFetchResultTests.m:3:9: 'XCTest/XCTest.h' file not found

Adding $(PLATFORM_DIR)/Developer/Library/Frameworks to FRAMEWORK_SEARCH_PATHS also did not work.

Is this package maintaining?

@ajaykumar97
Copy link

I have also got the same error. If anyone got the solution, please help.

@ajaykumar97
Copy link

@chipqcl
Copy link

chipqcl commented Jan 4, 2019

Got the solution. Refer to this link
Hi @ajaykumar97 ,

There are about 10 different suggested solutions in that stackoverflow thread (including the FRAMEWORK_SEARCH_PATHS one listed above). Is there a specific fix that worked for you?

Thanks!

@ajaykumar97
Copy link

Yes! I found another workaround for this, because this error comes again after few builds. The workaround was to delete Tests folder of react-native-photos-framework from the pod development folder(as I am using pod to use this framework).

@MobileAppVault
Copy link

Works for me as well! Many thanks @ajaykumar97

@rintoj
Copy link

rintoj commented Feb 12, 2019

Delete two items from compile sources:

screenshot 2019-02-13 at 4 41 40 am

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

No branches or pull requests

5 participants