You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the guide in one signal documentation, change the package version to 1.0.2 and when I run flutter run it shows below error message
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Pods-Runner OF PROJECT Pods WITH CONFIGURATION Debug ===
ld: '/Users/macmini1/Projects/flutter/myproject/build/ios/Debug-iphoneos/onesignal/libonesignal.a(onesignal-dummy.o)' does not contain bitcode.
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE),
obtain an updated library from the vendor, or disable bitcode for this target.
file '/Users/macmini1/Projects/flutter/myproject/build/ios/Debug-iphoneos/onesignal/libonesignal.a' for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could not build the precompiled application for the device.
Environment
onesignal: ^1.0.2
flutter doctor :
`
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-US)
• Flutter version 0.8.2 at /Users/macmini1/Program/flutter
• Framework revision 5ab9e70727 (5 weeks ago), 2018-09-07 12:33:05 -0700
• Engine revision 58a1894a1c
• Dart version 2.1.0-dev.3.1.flutter-760a9690c2
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/macmini1/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.0, Build version 10A255
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 29.0.2
• Dart plugin version 181.5540.11
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.27.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.19.0
Description:
I followed the guide in one signal documentation, change the package version to 1.0.2 and when I run flutter run it shows below error message
Environment
onesignal: ^1.0.2
flutter doctor :
`
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-US)
• Flutter version 0.8.2 at /Users/macmini1/Program/flutter
• Framework revision 5ab9e70727 (5 weeks ago), 2018-09-07 12:33:05 -0700
• Engine revision 58a1894a1c
• Dart version 2.1.0-dev.3.1.flutter-760a9690c2
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/macmini1/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.0, Build version 10A255
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 29.0.2
• Dart plugin version 181.5540.11
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.27.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.19.0
[✓] Connected devices (2 available)
• LG M400 • LGM400GAGM6TZS556S • android-arm • Android 7.0 (API 24)
• iPhone •aa1f8ca15b21ddb3f2bfcf3acd92cd2a2fc1075 • ios • iOS 11.4
• No issues found!`
Steps to Reproduce Issue:
run pod install
add target OneSignalServiceExtension in xCode. change the code with the one that from one signal flutter documentation.
add appgroup capabilities and so on (following the documentation in onesignal flutter documentation)
flutter run
and then error happens like I described above.
The text was updated successfully, but these errors were encountered: