[Bug]: iOS Error: Consistency issue: no parent for object NotificationService.m
#239
Open
1 task done
NotificationService.m
#239
What happened?
Using version 2.0.3 when I try to use Pod Install. I get the error
[Xcodeproj] Consistency issue: no parent for object
NotificationService.m:
SourcesBuildPhase,
SourcesBuildPhase,
SourcesBuildPhase,
SourcesBuildPhase,
SourcesBuildPhase,
SourcesBuildPhase``package.json
{ "name": "app", "main": "expo-router/entry", "version": "1.0.0", "scripts": { "start": "expo start", "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web", "test": "jest --watchAll", "lint": "eslint ." }, "jest": { "preset": "jest-expo" }, "dependencies": { "@expo/vector-icons": "^14.0.2", "@nozbe/watermelondb": "^0.27.1", "@react-native-firebase/analytics": "^20.4.0", "@react-native-firebase/app": "^20.4.0", "@react-navigation/native": "^6.0.2", "@tanstack/react-query": "^5.51.1", "expo": "~51.0.28", "expo-font": "~12.0.9", "expo-linking": "~6.3.1", "expo-router": "~3.5.23", "expo-splash-screen": "~0.27.5", "expo-status-bar": "~1.12.1", "expo-system-ui": "~3.0.7", "expo-web-browser": "~13.0.3", "onesignal-expo-plugin": "^2.0.3", "react": "18.2.0", "react-dom": "18.2.0", "react-native": "0.74.5", "react-native-admob-native-ads": "^0.7.6", "react-native-date-picker": "^5.0.4", "react-native-device-info": "^11.1.0", "react-native-fbsdk-next": "^13.0.0", "react-native-gesture-handler": "~2.16.1", "react-native-in-app-review": "^4.3.3", "react-native-mmkv": "^2.11.2", "react-native-onesignal": "^5.2.4", "react-native-reanimated": "~3.10.1", "react-native-render-html": "^6.3.4", "react-native-safe-area-context": "4.10.5", "react-native-screens": "3.31.1", "react-native-share": "^11.0.2", "react-native-size-matters": "^0.4.2", "react-native-view-shot": "3.8.0", "react-native-web": "~0.19.10", "zustand": "^4.5.4", "expo-build-properties": "~0.12.5" }, "devDependencies": { "@babel/core": "^7.20.0", "@types/react": "~18.2.45", "eslint": "^8.57.0", "eslint-config-expo": "^7.1.2", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.2.1", "jest-expo": "~51.0.3", "prettier": "^3.3.3", "react-test-renderer": "18.2.0", "typescript": "~5.3.3" }, "private": true }
app.json
`
{
"expo": {
"name": "app",
"slug": "app",
"version": "1.0.1",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "myapp",
"userInterfaceStyle": "automatic",
"backgroundColor": "#0D0D0D",
"splash": {
"image": "./assets/images/splash.png",
"resizeMode": "contain",
"backgroundColor": "#0D0D0D"
},
"ios": {
"supportsTablet": true,
"googleServicesFile": "./GoogleService-Info.plist",
"bundleIdentifier": "com.app.app"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive-icon.png",
"backgroundColor": "#132e79"
},
"googleServicesFile": "./google-services.json",
"package": "com.app.app"
"versionCode": 16
},
"web": {
"bundler": "metro",
"output": "static",
"favicon": "./assets/images/favicon.png"
},
"plugins": [
[
"onesignal-expo-plugin",
{
"mode": "development",
"iPhoneDeploymentTarget": "12.0",
"smallIcons": [
"./assets/images/ic_stat_onesignal_default.png"
],
"largeIcons": [
"./assets/images/ic_onesignal_large_icon_default.png"
]
}
],
"expo-router",
"@react-native-firebase/app",
[
"react-native-admob-native-ads",
{
"androidAppId": "ca-app-pub-
",yyyyyyyyyy","iosAppId": "ca-app-pub-xxxxxxxxxxxxxxxx
"facebookMediation": false
}
],
}
}
`
Steps to reproduce?
What did you expect to happen?
Expected pod install to work but instead got the error.
OneSignal Expo SDK version
2.0.3
Platform
No response
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: