fix:eas 构建错误关掉cmake

This commit is contained in:
康猛 2025-12-26 18:21:52 +08:00
parent 167ae2f138
commit ee7563f54b
2 changed files with 17 additions and 9 deletions

View File

@ -1,13 +1,18 @@
const withCmakeVersion = require('./plugins/withCmakeVersion')
const { PROJECT_ID, VERSION, APPNAME, EXPO_PROJECT, SCHEME, EXPO_OWER, ANDROID_ID, IOS_ID, IOS_UNIVERSAL_LINK } = require('./app.constants')
export const ALIPAY_SCHEMA = 'alipay2021006119657394'
export const ALIPAY_SCHEMA_SANDBOX = 'alipay9021000158673972'
const {
PROJECT_ID,
VERSION,
APPNAME,
EXPO_PROJECT,
SCHEME,
EXPO_OWER,
ANDROID_ID,
IOS_ID,
IOS_UNIVERSAL_LINK,
} = require('./app.constants')
console.log('process.env.APP_ENV---dev', process.env.EXPO_PUBLIC_ENV)
export const APP_VERSION = 'dev202512231154'
export default ({ config }) => {
return {
...config,
@ -25,10 +30,11 @@ export default ({ config }) => {
ios: {
supportsTablet: true,
infoPlist: {
NSBluetoothPeripheralUsageDescription: 'This app uses Bluetooth to act as a peripheral device for testing and development purposes.',
NSBluetoothPeripheralUsageDescription:
'This app uses Bluetooth to act as a peripheral device for testing and development purposes.',
CFBundleURLTypes: [
{
CFBundleURLSchemes: [ALIPAY_SCHEMA, ALIPAY_SCHEMA_SANDBOX],
CFBundleURLSchemes: [SCHEME],
},
],
},
@ -84,7 +90,7 @@ export default ({ config }) => {
'expo-router',
'expo-native-alipay',
'expo-wechat',
[withCmakeVersion, { version: '4.1.2' }],
// [withCmakeVersion, { version: '4.1.2' }],
[
'@sentry/react-native/expo',

View File

@ -9,6 +9,8 @@ const IOS_ID = ANDROID_ID
const IOS_UNIVERSAL_LINK = 'duooomi.bowong.cn'
const OWNER_ID = 'x3xbTCWf7dbtWu4gGU2TeI054L77xtkt'
const APP_VERSION = 'dev202512261754'
export const ALIPAY_SCHEMA = 'alipay2021006119657394'
export const ALIPAY_SCHEMA_SANDBOX = 'alipay9021000158673972'
module.exports = {
PROJECT_ID,