Open pisacode opened 6 years ago
I have also got the same error. If anyone got the solution, please help.
Got the solution. Refer to this link https://stackoverflow.com/questions/24275470/xctest-xctest-h-not-found-on-old-projects-built-in-xcode-6/24651704#24651704
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!
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).
Works for me as well! Many thanks @ajaykumar97
Delete two items from compile sources:
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
toFRAMEWORK_SEARCH_PATHS
also did not work.Is this package maintaining?