What happened?
I facing an error when build the release simulator, this work perfectly on debug simulator and release on devices, please help me

Pod config

System:
OS: macOS 12.6
CPU: (8) arm64 Apple M1
Memory: 88.44 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.11.0 - /var/folders/_r/f61rgp5d21j19bjgt31xk4w00000gn/T/yarn--1667790071449-0.9577995649944078/node
Yarn: 1.22.19 - /var/folders/_r/f61rgp5d21j19bjgt31xk4w00000gn/T/yarn--1667790071449-0.9577995649944078/yarn
npm: 8.19.2 - /opt/homebrew/bin/npm
Watchman: 2022.10.24.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
Languages:
Java: 11.0.17 - /usr/bin/javac
Python: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.63.4 => 0.63.4
react-native-onesignal => 4.0.6,
Steps to reproduce?
1. install react-native-onesignal
2. read the document and integrate step by step in the office page
3. open xcode change variant debug to release and build project
4. xcode thought this error "Framework not found OneSignalCore"
What did you expect to happen?
Can build release on simulator
React Native OneSignal SDK version
4.0.6
Which platform(s) are affected?
Relevant log output
error build: Framework not found OneSignalCore
Code of Conduct
What happened?
I facing an error when build the release simulator, this work perfectly on debug simulator and release on devices, please help me
Pod config
System:
OS: macOS 12.6
CPU: (8) arm64 Apple M1
Memory: 88.44 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.11.0 - /var/folders/_r/f61rgp5d21j19bjgt31xk4w00000gn/T/yarn--1667790071449-0.9577995649944078/node
Yarn: 1.22.19 - /var/folders/_r/f61rgp5d21j19bjgt31xk4w00000gn/T/yarn--1667790071449-0.9577995649944078/yarn
npm: 8.19.2 - /opt/homebrew/bin/npm
Watchman: 2022.10.24.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
Languages:
Java: 11.0.17 - /usr/bin/javac
Python: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.63.4 => 0.63.4
react-native-onesignal => 4.0.6,
Steps to reproduce?
What did you expect to happen?
Can build release on simulator
React Native OneSignal SDK version
4.0.6
Which platform(s) are affected?
Relevant log output
Code of Conduct