-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Labels
Description
Version
onesignal_flutter: 2.6.1Description
When configure CFBundleVersion at One Signal info.plist to get FLUTTER_BUILD_NUMBER build fails.
CFBundleShortVersionString with FLUTTER_BUILD_NAME works. Also the same env variables at the Runner info.plist works.
With this error I have to change the version at each new deploy.
Error
Unable to install /Users/x/x/app-flutter/build/ios/iphonesimulator/Runner.app on CA3FED41-0DEB-4FA6-93E2-6941E27A5AB4. This is sometimes caused by a malformed plist file:
ProcessException: Process exited abnormally:
An error was encountered processing the command (domain=IXErrorDomain, code=2):
Failed to create plugin placeholder for /Users/x/x/app-flutter/build/ios/iphonesimulator/Runner.app/PlugIns/OneSignalNSE.appex
Failed to create promise.
Underlying error (domain=IXErrorDomain, code=2):
Failed to set placeholder attributes com.cingulo.app.OneSignalNSE
Failed to create promise.
Command: xcrun simctl install CA3FED41-0DEB-4FA6-93E2-6941E27A5AB4 /Users/x/x/app-flutter/build/ios/iphonesimulator/Runner.app
Error launching application on iPhone SE (2nd generation).Keys at plist
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>Xcode
Podfile
target 'OneSignalNSE' do
use_frameworks!
pod 'OneSignal', '>= 2.15.2', '< 3.0'
endmateusfccp, faustobdls, carmas123, canhbg93, arthurdenner and 7 more
