Skip to content

Commit

Permalink
release/0.4.2: Fixed iOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
MManke188 committed Jan 23, 2024
1 parent d465da3 commit b98b9a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
16 changes: 8 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import NotificationBadge from '@msml/react-native-notification-badge'
import messaging from '@react-native-firebase/messaging'
import { AppRegistry, LogBox } from 'react-native'
import './shim.js'
import { App } from './src/App.js'
import { App } from './src/App'
import { name as appName } from './src/app.json'
import { error } from './src/utils/log/error.js'
import { info } from './src/utils/log/info.js'
import { updateUser } from './src/utils/peachAPI/updateUser.js'
import { parseError } from './src/utils/result/parseError.js'
import { isIOS } from './src/utils/system/isIOS.js'
import { isProduction } from './src/utils/system/isProduction.js'
import { useNotificationStore } from './src/views/home/notificationsStore.js'
import { error } from './src/utils/log/error'
import { info } from './src/utils/log/info'
import { updateUser } from './src/utils/peachAPI/updateUser'
import { parseError } from './src/utils/result/parseError'
import { isIOS } from './src/utils/system/isIOS'
import { isProduction } from './src/utils/system/isProduction'
import { useNotificationStore } from './src/views/home/notificationsStore'

LogBox.ignoreAllLogs(isProduction())

Expand Down
12 changes: 2 additions & 10 deletions ios/peach.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1052,11 +1052,7 @@
);
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
};
Expand Down Expand Up @@ -1121,11 +1117,7 @@
);
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
Expand Down

0 comments on commit b98b9a6

Please sign in to comment.