Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: OneSignalExtension' (no such file) #187

Closed
1 task done
Sigve84 opened this issue Jun 13, 2023 · 3 comments
Closed
1 task done

[Bug]: OneSignalExtension' (no such file) #187

Sigve84 opened this issue Jun 13, 2023 · 3 comments

Comments

@Sigve84
Copy link

Sigve84 commented Jun 13, 2023

What happened?

The solution crashes. vanilla Expo project. Does not help to change version of one-signal

Steps to reproduce?

Using React native expo:


Build successfully, but fails below: 

commands i am running: 
npx expo prebuild --platform ios
npx expo run:ios   

Termination Reason: DYLD 1 Library missing
Library not loaded: @rpath/OneSignalExtension.framework/OneSignalExtension
Referenced from: <62EF740A-94CE-3A4C-A9E9-94D3A9E6E095> /Users/USER/Library/Developer/CoreSimulator/Devices/A64F15C8-CB60-4471-B38B-4AE35013F73B/data/Containers/Bundle/Application/704A30DB-9D9A-44AB-AE18-2515CA9B45F8/FinanceApp.app/FinanceApp
Reason: tried: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/OneSignalExtension' (no such file), '/usr/lib/swift/OneSignalExtension.framework/OneSignalExtension' (no such file, not in dyld cache), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/OneSignalExtension.framework/OneSignalExtension' (no such file), '/usr/lib/swift/OneSignalExtension.framework/OneSignalExtension' (no such file, not
(terminated at launch; ignore backtrace)



Package json:
"scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "test": "jest --watchAll"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/vector-icons": "^13.0.0",
    "@react-navigation/native": "^6.0.2",
    "expo": "~48.0.18",
    "expo-font": "~11.1.1",
    "expo-linking": "~4.0.1",
    "expo-router": "^1.5.2",
    "expo-splash-screen": "~0.18.2",
    "expo-status-bar": "~1.4.4",
    "expo-system-ui": "~2.2.1",
    "expo-web-browser": "~12.1.1",
    "onesignal-expo-plugin": "^1.3.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.71.8",
    "react-native-onesignal": "^4.5.0",
    "react-native-safe-area-context": "4.5.0",
    "react-native-screens": "~3.20.0",
    "react-native-web": "~0.18.10"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@types/react": "~18.0.14",
    "jest": "^29.2.1",
    "jest-expo": "~48.0.0",
    "react-test-renderer": "18.2.0",
    "typescript": "^4.9.4"
  },

app.json:
   "plugins": [
      [
        "onesignal-expo-plugin",
        {
          "mode": "development",
          "iPhoneDeploymentTarget": "13.0"
        }
      ]
    ],

What did you expect to happen?

that the app can start

OneSignal Expo SDK version

1.3.0

Platform

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@rgomezp
Copy link
Contributor

rgomezp commented Sep 11, 2023

Howdy, perhaps try upgrading to the latest version.

@rgomezp
Copy link
Contributor

rgomezp commented Sep 27, 2023

Closing due to inactivity

@rgomezp rgomezp closed this as completed Sep 27, 2023
@danlupascu
Copy link

Can we reopen? I'm having this issue as well... Tried everything, nothing works.

Here's what I tried

  • Changing ruby version
  • Setting deployment target
  • Reinstalling everything
  • Removing xCode cache
  • Removing DerivedData

I'm going crazy here... I think there's obviously something wrong here, since a lot of people are having this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants