Errors While Building application
bsrinath4839 opened this issue · comments
Srinath Baride commented
The following error messages are coming in XCode while building my mobile app.
Every time I am running cd ios && rm -rf Pods/ && rm -rf Podfile.lock && pod deintegrate && pod install
to resolve.
Showing All Messages
Undefined symbol: _OBJC_CLASS_$_RCTViewManager
Undefined symbol: _OBJC_METACLASS_$_RCTViewManager
Undefined symbol: __RCTLogNativeInternal
Undefined symbol: _OBJC_CLASS_$_RCTConvert
Undefined symbol: _RCTRegisterModule
Please provide a permanent solution.
I even have the following in my Podfile:
pre_install do |installer|
# Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
installer.pod_targets.each do |pod|
if pod.name.eql?('RNScreens') || pod.name.eql?('RNCMaskedView') || pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
def pod.build_type
Pod::BuildType.static_library
end
end
end
end
Dinh Phong commented
+1 Same issue