When building a React Native 0.66 project today (used to be working), there is error complaining about library not found for a module which is located at my-proj/node_modules/aliyun-oss-react-native/
. After react-native link alien-oss-react-native
and pod install
, the error remains.
Under TARGETS
, myproj->Build Settins, Other Linker Flags
, the module lib which causes error is listed as first one. My guess is that all libs under the Other Linker Flags
may not be recognized by Xcode. Not sure how this happens.
CodePudding user response:
Try to make search paths "recursive".
CodePudding user response:
The solution works here is open the myapp.xcworkspace
in Xcode instead of myapp.xcodeproj
. The build upon workspace went through without any error.