targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
applicationId "com.china.shq5785"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 18072801
versionName "2.2.5"
multiDexEnabled true
testBuildType System.getProperty('testBuildType', 'debug')
// This will later be used to control the test apk build type
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
ndk {
//设置支持的SO库架构
abiFilters "armeabi", "armeabi-v7a", "x86\_64" //, "arm64-v8a"
}
missingDimensionStrategy 'react-native-camera', 'general'
}
......
}
`ios` 在配置文件`ios/mrcs.xcodeproj/project.pbxproj`中,可查看到如下配置信息:
13B07F941A680F5B00A75B9A /* Debug / = {
isa = XCBuildConfiguration;
baseConfigurationReference = AA6AA411A14368FB4EEC0CD3 / Pods-mrcs.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = “iPhone Distribution”;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = U4ALRF5A38;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
“ ( i n h e r i t e d ) " , " (inherited)", " (inherited)","(PROJECT_DIR)/shq5785”,
“ ( P R O J E C T _ D I R ) " , ) ; G C C P R E F I X H E A D E R = s h q 5785 / P r e f i x H e a d e r . p c h ; G C C W A R N A B O U T R E T U R N T Y P E = N O ; H E A D E R S E A R C H P A T H S = " (PROJECT\_DIR)", ); GCC_PREFIX_HEADER = shq5785/PrefixHeader.pch; GCC_WARN_ABOUT_RETURN_TYPE = NO; HEADER_SEARCH_PATHS = " (PROJECT_DIR)",);GCCPREFI