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

[Critical Bugs] : Build successfully but crash when the app launch in IOS #608

Closed
foongef opened this issue Oct 31, 2022 · 57 comments
Closed

Comments

@foongef
Copy link

foongef commented Oct 31, 2022

Crash message bellow

dyld`:
0x115836984 <+0>: movl $0x2000209, %eax ; imm = 0x2000209
0x115836989 <+5>: movq %rcx, %r10
0x11583698c <+8>: syscall
-> 0x11583698e <+10>: jae 0x115836998 ; <+20>
0x115836990 <+12>: movq %rax, %rdi
0x115836993 <+15>: jmp 0x1157f3150 ; cerror_nocancel
0x115836998 <+20>: retq
0x115836999 <+21>: nop
0x11583699a <+22>: nop
0x11583699b <+23>: nop

Library not loaded: @rpath/OneSignalExtension.framework/OneSignalExtension
Referenced from: <0A499F0F-68C1-3D61-8D57-53B11C7D3756> /Users/kewdoo/Library/Developer/CoreSimulator/Devices/365AB081-5EF3-4C65-BB6B-4FEC478755B3/data/Containers/Bundle/Application/4737F99A-A10F-4B21-82D6-3DD1459AC1E0/Runner.app/Runner
Reason: tried: '/Users/kewdoo/Library/Developer/Xcode/DerivedData/Runner-bjulrwqqasccntdscszmuvmxtian/Build/Products/Debug-production-iphonesimulator/OneSignalExtension.framework/OneSignalExtension' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/OneSignalExtension.framework/OneSignalExtension' (errno=2), '/usr/lib/swift/OneSignalExtension.framework/OneSignalExtension' (errno=2, no dyld cache), '/Users/kewdoo/Library/Developer/CoreSimulator/Devices/365AB081-5EF3-4C65-BB6B-4FEC478755B3/data/Containers/Bundle/Application/4737F99A-A10F-4B21-82D6-3DD1459AC1E0/
dyld config: DYLD_SHARED_CACHE_DIR=/Users/kewdoo/Library/Developer/CoreSimulator/Caches/dyld/21G72/com.apple.CoreSimulator.SimRuntime.iOS-16-0.20A360 DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/kewdoo/Library/Developer/Xcode/DerivedData/Runner-bjulrwqqasccntdscszmuvmxtian/Build/Products/Debug-production-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GPUToolsCapture.framework/GPUToolsCapture:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/kewdoo/Library/Developer/Xcode/DerivedData/Runner-bjulrwqqasccntdscszmuvmxtian/Build/Products/Debug-production-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xco

@imajercsik
Copy link

@foongef are you using the latest package?

onesignal_flutter: ^3.4.2

I also had the crash wih onesignal_flutter: ^3.4.1, now I am testing it with the latest.

@foongef
Copy link
Author

foongef commented Oct 31, 2022

@imajercsik yes i have tried 3.4.2 and 3.4.1. Both version also crashed after built successfully.

@vasilich6107
Copy link

Same thing for me
crashes on 3.4.2

@vasilich6107
Copy link

Works fine for 3.4.0

@imajercsik
Copy link

imajercsik commented Oct 31, 2022

For me it is crashing with 3.4.0, 3.4.1 and 3.4.2.

[✓] Flutter (Channel stable, 3.3.6, on macOS 13.0 22A380 darwin-x64)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.63.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

@AndreHaueisen
Copy link

AndreHaueisen commented Oct 31, 2022

Same here, but It works fine for me on 3.4.1

[✓] Flutter (Channel stable, 3.3.6, on macOS 13.0 22A380 darwin-arm, locale en-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] IntelliJ IDEA Community Edition (version 2022.2.3)
[✓] VS Code (version 1.72.2)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

@AndreHaueisen
Copy link

It might be an SDK problem
OneSignal/OneSignal-iOS-SDK#1146

@foongef
Copy link
Author

foongef commented Oct 31, 2022

3.4.0, 3.4.1, 3.4.2 also crashed. Anyone has the solution?

@AbedRabaia
Copy link

any one found a solution? Am facing the same issue

@JefersonCashway
Copy link

same problem here

@foongef foongef changed the title Build successfully but crash when the app launch in IOS [Critical Bugs] : Build successfully but crash when the app launch in IOS Nov 1, 2022
@walvespit
Copy link

same here

@hosaysg
Copy link

hosaysg commented Nov 3, 2022

I have the exact same issue! Tested 3.4.1 and 3.4.2

@AndyDavidJoyce
Copy link

Same issue. Version 3.4.2. Works fine on simulator but not working on a physical device

@daveshirman
Copy link

Same issue - Library not loaded.

This is critical and stopping the release of new versions of any apps using the library.

Please can someone from the OneSignal team chime in here ASAP?

Thanks.

@walvespit
Copy link

i'm using onesignal_flutter 3.3.1 and it works...

@hosaysg
Copy link

hosaysg commented Nov 3, 2022

Same issue. Version 3.4.2. Works fine on simulator but not working on a physical device

Mine cannot even work on simulator.

@hosaysg
Copy link

hosaysg commented Nov 3, 2022

Same issue - Library not loaded.

This is critical and stopping the release of new versions of any apps using the library.

Please can someone from the OneSignal team chime in here ASAP?

Thanks.

Contacted them and was told to just refer to the migration guide.

@daveshirman
Copy link

daveshirman commented Nov 3, 2022

What? That's kinda ridiculous, I don't see anything specific in the migration guide, unless I'm missing something?
Link please?

I downgraded to 3.4.1 and it worked fine btw, so it's something to do with 3.4.2 for sure.

@hosaysg
Copy link

hosaysg commented Nov 4, 2022

What? That's kinda ridiculous, I don't see anything specific in the migration guide, unless I'm missing something? Link please?

I downgraded to 3.4.1 and it worked fine btw, so it's something to do with 3.4.2 for sure.

Oh.. Both 3.4.1 and 3.4.2 don't worker 2.6 and did everything necessary as indicated in the migration guide.

@daveshirman
Copy link

daveshirman commented Nov 4, 2022 via email

@nan-li
Copy link
Contributor

nan-li commented Nov 4, 2022

Hi everyone, thank you for reporting this.

Looks like it may be related to our native iOS SDK as the Flutter SDK versions 3.4.0 and 3.4.1 have been released for a while now, and we didn't see reports of this until now. We will investigate and follow up as soon as we can.

Update: We are not able to reproduce, may be related to new Xcode/Flutter/Cocoapods versions or podfile setup.

@fhboswell
Copy link
Contributor

Hello,

@daveshirman I don't believe there will be any further information that will help in the migration guide.

Can you share your podfile please? Also is the Notification Service Extension crashing, or the app itself?

@daveshirman
Copy link

daveshirman commented Nov 4, 2022

Hello,

@daveshirman I don't believe there will be any further information that will help in the migration guide.

Can you share your podfile please? Also is the Notification Service Extension crashing, or the app itself?

I still don't know what migration guide you're referring to, please kindly share the link at least.

At my end with 3.4.2: App loads, immediately crashes with the error: Library not loaded. The app compiles and runs fine with 3.4.1 as I mentioned.

My Podfile

# Uncomment this line to define a global platform for your project
platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

# post_install do |installer|
#   installer.pods_project.targets.each do |target|
#     flutter_additional_ios_build_settings(target)
#   end
# end

target 'OneSignalNotificationServiceExtension' do
  use_frameworks!
  pod 'OneSignalXCFramework', '>= 3.4.3', '< 4.0'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    
    flutter_additional_ios_build_settings(target)

    target.build_configurations.each do |config|

      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
     
      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        '$(inherited)',
        'PERMISSION_PHOTOS=1',
      ]

    end
  end
end

@alpono
Copy link

alpono commented Nov 7, 2022

The same issue with failed loading OneSignalExtension framework. As a dirty workaround, you may link the framework directly to your project by adding it to the linked binaries list of your project (not pods project).

@MeetMighty
Copy link

Hello there
any updates on this matter. I attempted to downgrade, but the problem persisted. anyone came up with a solution.

@imajercsik
Copy link

Same here, did not found any solution yet :(. @nan-li do you have an update? Thanks!

@larissamagistrali
Copy link

same here

@MeetMighty
Copy link

@nan-li Please check crash log file here:
crash log.txt

Flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
Flutter (Channel stable, 3.3.6, on macOS 12.1 21C52 darwin-x64, locale en-GB)
Flutter version 3.3.6 on channel stable at /Users/abc/Documents/flutter
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.72.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Already try onesignal_flutter: ^3.3.0 to latest flutter version.
All of our projects were halted when this problem appeared. Please supply a solution as soon as possible. If not, we will replace OneSignal with Firebase.

@MeetMighty
Copy link

This solution work for me.
Add dependencies without cap
Use this onesignal_flutter: 3.4.1 instead of onesignal_flutter: ^3.4.1

@imajercsik
Copy link

This solution work for me. Add dependencies without cap Use this onesignal_flutter: 3.4.1 instead of onesignal_flutter: ^3.4.1

It worked for me too, thanks! Still waiting the official fix!

@luis901101
Copy link
Contributor

@nan-li, below the confs set of a project that's currently failing with onesignal_flutter: ^3.4.2. Note this is from a project that's is using the onesignal_flutter for a while.
Everything works just fine if I downgrade and set static version like onesignal_flutter: 3.4.1.
I hope it gives you some clue and helps debugging.

flutter doctor -v:

[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0 22A380 darwin-arm, locale en-US)
• Flutter version 3.3.8 on channel stable at /Users/user/fvm/versions/3.3.8
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 52b3dc25f6 (20 hours ago), 2022-11-09 12:09:26 +0800
• Engine revision 857bd6b74c
• Dart version 2.18.4
• DevTools version 2.15.0

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A309
• CocoaPods version 1.11.3

Dependencies on pubspec.yaml

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  adeptarch_base: ^5.0.3+24
  adeptviews: ^6.0.0+60
  adeptannotations: ^2.1.1+8
  cloudinary_sdk: ^4.0.2+10
  cloudflare: ^1.3.1+12
  oauth_webauth: ^3.1.2+13
  onesignal_flutter: ^3.4.2
  page_view_indicators: ^2.0.0
  connectivity_plus: ^3.0.2
  sentry: ^6.15.0
  cached_network_image: ^3.2.2
  badges: ^2.0.3
  image_picker: ^0.8.6
  chewie: ^1.3.5
  apivideo_live_stream: ^1.0.7
  firebase_analytics: ^10.0.4
  google_maps_flutter: ^2.2.1
  google_maps_webservice: #^0.0.20-nullsafety.5
    git:
      url: https://github.com/luis901101/google_maps_webservice
      ref: 256fab72e921942cecc88d3f79b6b71a623d189d
  permission_handler: ^10.2.0
  geolocator: ^9.0.2
  geocoding: ^2.0.5
  flutter_appauth: ^4.2.1
  duration: ^3.0.12
  uni_links: ^0.5.1
  share_plus: ^4.5.2
  flutter_typeahead: ^4.1.1
  uuid: ^3.0.6
  qr_flutter: ^4.0.0
  path_provider: ^2.0.11
  get: ^4.6.5
  keyboard_actions: ^4.1.0
  intl_phone_number_input: ^0.7.1
  flutter_html: ^2.2.1
  mobile_scanner: ^3.0.0-beta.1
  qr_code_scanner: ^1.0.1
  animations: ^2.0.7
  carousel_slider: ^4.1.1
  json_annotation: ^4.7.0
  html_unescape: ^2.0.0
  chaleno: ^0.0.6
  flutter_scrolling_fab_animated: ^0.1.4
  google_fonts: ^3.0.1
  responsive_sizer: ^3.1.1
  flutter_rating_bar: #^4.0.1
    git:
      url: https://github.com/sarbagyastha/flutter_rating_bar.git
      ref: ba0dda2338b27c8a568c9c753cb53fb5a336a676
  equatable: ^2.0.5
  numeral: ^2.0.1
  flutter_cache_manager: ^3.3.0
  sleek_circular_slider: ^2.0.1
  copy_with_extension: ^4.0.4
  hive: ^2.2.3
  hive_flutter: ^1.1.0
  html_editor_enhanced: ^2.5.0
  visibility_detector: ^0.3.3

Podfile.lock

PODS:
  - apivideo_live_stream (0.0.1):
    - ApiVideoLiveStream (= 1.2.2)
    - Flutter
    - HaishinKit (= 1.3.0)
  - ApiVideoLiveStream (1.2.2):
    - HaishinKit (= 1.3.0)
  - AppAuth (1.6.0):
    - AppAuth/Core (= 1.6.0)
    - AppAuth/ExternalUserAgent (= 1.6.0)
  - AppAuth/Core (1.6.0)
  - AppAuth/ExternalUserAgent (1.6.0):
    - AppAuth/Core
  - connectivity_plus (0.0.1):
    - Flutter
    - ReachabilitySwift
  - device_info_plus (0.0.1):
    - Flutter
  - DKImagePickerController/Core (4.3.4):
    - DKImagePickerController/ImageDataManager
    - DKImagePickerController/Resource
  - DKImagePickerController/ImageDataManager (4.3.4)
  - DKImagePickerController/PhotoGallery (4.3.4):
    - DKImagePickerController/Core
    - DKPhotoGallery
  - DKImagePickerController/Resource (4.3.4)
  - DKPhotoGallery (0.0.17):
    - DKPhotoGallery/Core (= 0.0.17)
    - DKPhotoGallery/Model (= 0.0.17)
    - DKPhotoGallery/Preview (= 0.0.17)
    - DKPhotoGallery/Resource (= 0.0.17)
    - SDWebImage
    - SwiftyGif
  - DKPhotoGallery/Core (0.0.17):
    - DKPhotoGallery/Model
    - DKPhotoGallery/Preview
    - SDWebImage
    - SwiftyGif
  - DKPhotoGallery/Model (0.0.17):
    - SDWebImage
    - SwiftyGif
  - DKPhotoGallery/Preview (0.0.17):
    - DKPhotoGallery/Model
    - DKPhotoGallery/Resource
    - SDWebImage
    - SwiftyGif
  - DKPhotoGallery/Resource (0.0.17):
    - SDWebImage
    - SwiftyGif
  - file_picker (0.0.1):
    - DKImagePickerController/PhotoGallery
    - Flutter
  - Firebase/Analytics (10.0.0):
    - Firebase/Core
  - Firebase/Core (10.0.0):
    - Firebase/CoreOnly
    - FirebaseAnalytics (~> 10.0.0)
  - Firebase/CoreOnly (10.0.0):
    - FirebaseCore (= 10.0.0)
  - firebase_analytics (10.0.4):
    - Firebase/Analytics (= 10.0.0)
    - firebase_core
    - Flutter
  - firebase_core (2.1.1):
    - Firebase/CoreOnly (= 10.0.0)
    - Flutter
  - FirebaseAnalytics (10.0.0):
    - FirebaseAnalytics/AdIdSupport (= 10.0.0)
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - FirebaseAnalytics/AdIdSupport (10.0.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleAppMeasurement (= 10.0.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - FirebaseCore (10.0.0):
    - FirebaseCoreInternal (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/Logger (~> 7.8)
  - FirebaseCoreInternal (10.1.0):
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
  - FirebaseInstallations (10.1.0):
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - PromisesObjC (~> 2.1)
  - Flutter (1.0.0)
  - flutter_appauth (0.0.1):
    - AppAuth (= 1.6.0)
    - Flutter
  - flutter_inappwebview (0.0.1):
    - Flutter
    - flutter_inappwebview/Core (= 0.0.1)
    - OrderedSet (~> 5.0)
  - flutter_inappwebview/Core (0.0.1):
    - Flutter
    - OrderedSet (~> 5.0)
  - flutter_keyboard_visibility (0.0.1):
    - Flutter
  - fluttertoast (0.0.2):
    - Flutter
    - Toast
  - FMDB (2.7.5):
    - FMDB/standard (= 2.7.5)
  - FMDB/standard (2.7.5)
  - geocoding (1.0.5):
    - Flutter
  - geolocator_apple (1.2.0):
    - Flutter
  - google_maps_flutter_ios (0.0.1):
    - Flutter
    - GoogleMaps
  - GoogleAppMeasurement (10.0.0):
    - GoogleAppMeasurement/AdIdSupport (= 10.0.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - GoogleAppMeasurement/AdIdSupport (10.0.0):
    - GoogleAppMeasurement/WithoutAdIdSupport (= 10.0.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - GoogleAppMeasurement/WithoutAdIdSupport (10.0.0):
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - GoogleDataTransport (9.2.0):
    - GoogleUtilities/Environment (~> 7.7)
    - nanopb (< 2.30910.0, >= 2.30908.0)
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleMaps (5.2.0):
    - GoogleMaps/Maps (= 5.2.0)
  - GoogleMaps/Base (5.2.0)
  - GoogleMaps/Maps (5.2.0):
    - GoogleMaps/Base
  - GoogleMLKit/BarcodeScanning (3.2.0):
    - GoogleMLKit/MLKitCore
    - MLKitBarcodeScanning (~> 2.2.0)
  - GoogleMLKit/MLKitCore (3.2.0):
    - MLKitCommon (~> 8.0.0)
  - GoogleToolboxForMac/DebugUtils (2.3.2):
    - GoogleToolboxForMac/Defines (= 2.3.2)
  - GoogleToolboxForMac/Defines (2.3.2)
  - GoogleToolboxForMac/Logger (2.3.2):
    - GoogleToolboxForMac/Defines (= 2.3.2)
  - "GoogleToolboxForMac/NSData+zlib (2.3.2)":
    - GoogleToolboxForMac/Defines (= 2.3.2)
  - "GoogleToolboxForMac/NSDictionary+URLArguments (2.3.2)":
    - GoogleToolboxForMac/DebugUtils (= 2.3.2)
    - GoogleToolboxForMac/Defines (= 2.3.2)
    - "GoogleToolboxForMac/NSString+URLArguments (= 2.3.2)"
  - "GoogleToolboxForMac/NSString+URLArguments (2.3.2)"
  - GoogleUtilities/AppDelegateSwizzler (7.8.0):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
  - GoogleUtilities/Environment (7.8.0):
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleUtilities/Logger (7.8.0):
    - GoogleUtilities/Environment
  - GoogleUtilities/MethodSwizzler (7.8.0):
    - GoogleUtilities/Logger
  - GoogleUtilities/Network (7.8.0):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (7.8.0)"
  - GoogleUtilities/Reachability (7.8.0):
    - GoogleUtilities/Logger
  - GoogleUtilities/UserDefaults (7.8.0):
    - GoogleUtilities/Logger
  - GoogleUtilitiesComponents (1.1.0):
    - GoogleUtilities/Logger
  - GTMSessionFetcher/Core (1.7.2)
  - HaishinKit (1.3.0):
    - Logboard (~> 2.3.0)
  - image_picker_ios (0.0.1):
    - Flutter
  - libphonenumber (0.0.1):
    - Flutter
    - libPhoneNumber-iOS
  - libPhoneNumber-iOS (0.9.15)
  - libphonenumber_plugin (0.0.1):
    - Flutter
    - libphonenumber
    - libPhoneNumber-iOS
  - Logboard (2.3.0)
  - MLImage (1.0.0-beta3)
  - MLKitBarcodeScanning (2.2.0):
    - MLKitCommon (~> 8.0)
    - MLKitVision (~> 4.2)
  - MLKitCommon (8.0.0):
    - GoogleDataTransport (~> 9.0)
    - GoogleToolboxForMac/Logger (~> 2.1)
    - "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
    - "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)"
    - GoogleUtilities/UserDefaults (~> 7.0)
    - GoogleUtilitiesComponents (~> 1.0)
    - GTMSessionFetcher/Core (~> 1.1)
    - Protobuf (~> 3.12)
  - MLKitVision (4.2.0):
    - GoogleToolboxForMac/Logger (~> 2.1)
    - "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
    - GTMSessionFetcher/Core (~> 1.1)
    - MLImage (= 1.0.0-beta3)
    - MLKitCommon (~> 8.0)
    - Protobuf (~> 3.12)
  - mobile_scanner (0.0.1):
    - Flutter
    - GoogleMLKit/BarcodeScanning (~> 3.2.0)
  - MTBBarcodeScanner (5.0.11)
  - nanopb (2.30909.0):
    - nanopb/decode (= 2.30909.0)
    - nanopb/encode (= 2.30909.0)
  - nanopb/decode (2.30909.0)
  - nanopb/encode (2.30909.0)
  - native_device_orientation (0.0.1):
    - Flutter
  - onesignal_flutter (3.4.1):
    - Flutter
    - OneSignalXCFramework (= 3.11.2)
  - OneSignalXCFramework (3.11.2):
    - OneSignalXCFramework/OneSignalCore (= 3.11.2)
    - OneSignalXCFramework/OneSignalExtension (= 3.11.2)
    - OneSignalXCFramework/OneSignalOutcomes (= 3.11.2)
  - OneSignalXCFramework/OneSignalCore (3.11.2)
  - OneSignalXCFramework/OneSignalExtension (3.11.2):
    - OneSignalXCFramework/OneSignalCore
    - OneSignalXCFramework/OneSignalOutcomes
  - OneSignalXCFramework/OneSignalOutcomes (3.11.2):
    - OneSignalXCFramework/OneSignalCore
  - OrderedSet (5.0.0)
  - package_info_plus (0.4.5):
    - Flutter
  - path_provider_ios (0.0.1):
    - Flutter
  - permission_handler_apple (9.0.4):
    - Flutter
  - PromisesObjC (2.1.1)
  - Protobuf (3.21.9)
  - qr_code_scanner (0.2.0):
    - Flutter
    - MTBBarcodeScanner
  - ReachabilitySwift (5.0.0)
  - SDWebImage (5.14.0):
    - SDWebImage/Core (= 5.14.0)
  - SDWebImage/Core (5.14.0)
  - share_plus (0.0.1):
    - Flutter
  - shared_preferences_ios (0.0.1):
    - Flutter
  - sqflite (0.0.2):
    - Flutter
    - FMDB (>= 2.7.5)
  - SwiftyGif (5.4.3)
  - Toast (4.0.0)
  - uni_links (0.0.1):
    - Flutter
  - url_launcher_ios (0.0.1):
    - Flutter
  - video_player_avfoundation (0.0.1):
    - Flutter
  - wakelock (0.0.1):
    - Flutter
  - webview_flutter_wkwebview (0.0.1):
    - Flutter

DEPENDENCIES:
  - apivideo_live_stream (from `.symlinks/plugins/apivideo_live_stream/ios`)
  - connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
  - device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
  - file_picker (from `.symlinks/plugins/file_picker/ios`)
  - firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)
  - firebase_core (from `.symlinks/plugins/firebase_core/ios`)
  - Flutter (from `Flutter`)
  - flutter_appauth (from `.symlinks/plugins/flutter_appauth/ios`)
  - flutter_inappwebview (from `.symlinks/plugins/flutter_inappwebview/ios`)
  - flutter_keyboard_visibility (from `.symlinks/plugins/flutter_keyboard_visibility/ios`)
  - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
  - geocoding (from `.symlinks/plugins/geocoding/ios`)
  - geolocator_apple (from `.symlinks/plugins/geolocator_apple/ios`)
  - google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`)
  - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
  - libphonenumber (from `.symlinks/plugins/libphonenumber/ios`)
  - libphonenumber_plugin (from `.symlinks/plugins/libphonenumber_plugin/ios`)
  - mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`)
  - native_device_orientation (from `.symlinks/plugins/native_device_orientation/ios`)
  - onesignal_flutter (from `.symlinks/plugins/onesignal_flutter/ios`)
  - OneSignalXCFramework (< 4.0, >= 3.4.3)
  - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
  - path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
  - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
  - qr_code_scanner (from `.symlinks/plugins/qr_code_scanner/ios`)
  - share_plus (from `.symlinks/plugins/share_plus/ios`)
  - shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`)
  - sqflite (from `.symlinks/plugins/sqflite/ios`)
  - uni_links (from `.symlinks/plugins/uni_links/ios`)
  - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
  - video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/ios`)
  - wakelock (from `.symlinks/plugins/wakelock/ios`)
  - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)

SPEC REPOS:
  trunk:
    - ApiVideoLiveStream
    - AppAuth
    - DKImagePickerController
    - DKPhotoGallery
    - Firebase
    - FirebaseAnalytics
    - FirebaseCore
    - FirebaseCoreInternal
    - FirebaseInstallations
    - FMDB
    - GoogleAppMeasurement
    - GoogleDataTransport
    - GoogleMaps
    - GoogleMLKit
    - GoogleToolboxForMac
    - GoogleUtilities
    - GoogleUtilitiesComponents
    - GTMSessionFetcher
    - HaishinKit
    - libPhoneNumber-iOS
    - Logboard
    - MLImage
    - MLKitBarcodeScanning
    - MLKitCommon
    - MLKitVision
    - MTBBarcodeScanner
    - nanopb
    - OneSignalXCFramework
    - OrderedSet
    - PromisesObjC
    - Protobuf
    - ReachabilitySwift
    - SDWebImage
    - SwiftyGif
    - Toast

EXTERNAL SOURCES:
  apivideo_live_stream:
    :path: ".symlinks/plugins/apivideo_live_stream/ios"
  connectivity_plus:
    :path: ".symlinks/plugins/connectivity_plus/ios"
  device_info_plus:
    :path: ".symlinks/plugins/device_info_plus/ios"
  file_picker:
    :path: ".symlinks/plugins/file_picker/ios"
  firebase_analytics:
    :path: ".symlinks/plugins/firebase_analytics/ios"
  firebase_core:
    :path: ".symlinks/plugins/firebase_core/ios"
  Flutter:
    :path: Flutter
  flutter_appauth:
    :path: ".symlinks/plugins/flutter_appauth/ios"
  flutter_inappwebview:
    :path: ".symlinks/plugins/flutter_inappwebview/ios"
  flutter_keyboard_visibility:
    :path: ".symlinks/plugins/flutter_keyboard_visibility/ios"
  fluttertoast:
    :path: ".symlinks/plugins/fluttertoast/ios"
  geocoding:
    :path: ".symlinks/plugins/geocoding/ios"
  geolocator_apple:
    :path: ".symlinks/plugins/geolocator_apple/ios"
  google_maps_flutter_ios:
    :path: ".symlinks/plugins/google_maps_flutter_ios/ios"
  image_picker_ios:
    :path: ".symlinks/plugins/image_picker_ios/ios"
  libphonenumber:
    :path: ".symlinks/plugins/libphonenumber/ios"
  libphonenumber_plugin:
    :path: ".symlinks/plugins/libphonenumber_plugin/ios"
  mobile_scanner:
    :path: ".symlinks/plugins/mobile_scanner/ios"
  native_device_orientation:
    :path: ".symlinks/plugins/native_device_orientation/ios"
  onesignal_flutter:
    :path: ".symlinks/plugins/onesignal_flutter/ios"
  package_info_plus:
    :path: ".symlinks/plugins/package_info_plus/ios"
  path_provider_ios:
    :path: ".symlinks/plugins/path_provider_ios/ios"
  permission_handler_apple:
    :path: ".symlinks/plugins/permission_handler_apple/ios"
  qr_code_scanner:
    :path: ".symlinks/plugins/qr_code_scanner/ios"
  share_plus:
    :path: ".symlinks/plugins/share_plus/ios"
  shared_preferences_ios:
    :path: ".symlinks/plugins/shared_preferences_ios/ios"
  sqflite:
    :path: ".symlinks/plugins/sqflite/ios"
  uni_links:
    :path: ".symlinks/plugins/uni_links/ios"
  url_launcher_ios:
    :path: ".symlinks/plugins/url_launcher_ios/ios"
  video_player_avfoundation:
    :path: ".symlinks/plugins/video_player_avfoundation/ios"
  wakelock:
    :path: ".symlinks/plugins/wakelock/ios"
  webview_flutter_wkwebview:
    :path: ".symlinks/plugins/webview_flutter_wkwebview/ios"

SPEC CHECKSUMS:
  apivideo_live_stream: 64fa696699cfc531e07f5d5d701c7e3cd5ce5e9d
  ApiVideoLiveStream: 5842571806a2ed26671597dadd370ec38d9b9ba4
  AppAuth: 8fca6b5563a5baef2c04bee27538025e4ceb2add
  connectivity_plus: 413a8857dd5d9f1c399a39130850d02fe0feaf7e
  device_info_plus: e5c5da33f982a436e103237c0c85f9031142abed
  DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
  DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
  file_picker: 817ab1d8cd2da9d2da412a417162deee3500fc95
  Firebase: 1b810f3d0c0532e27a48f1961f8c0400a668a2cf
  firebase_analytics: 38790c3205b2ee56b82be7bf0f54c84fc866253f
  firebase_core: 5c0bb0ca7d0e70480a68a6e9ad9bf55d1edd5305
  FirebaseAnalytics: 9921a52739f4ab66099da31b6e0243db78a3ac0a
  FirebaseCore: 97f48a3a567a72b8d4daa0f03c3aadb78df4e995
  FirebaseCoreInternal: 96d75228e10fd369564da51bd898414eb0f54df5
  FirebaseInstallations: 99d24bac0243cf8b0e96cf5426340d211f0bcc80
  Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
  flutter_appauth: 525652bda90e43ca5eb7ed748ecc106b79d1f5a1
  flutter_inappwebview: bfd58618f49dc62f2676de690fc6dcda1d6c3721
  flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069
  fluttertoast: 74526702fea2c060ea55dde75895b7e1bde1c86b
  FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
  geocoding: 32cfcdb16d38d907caaba65e2e42ad10d38bee58
  geolocator_apple: cc556e6844d508c95df1e87e3ea6fa4e58c50401
  google_maps_flutter_ios: 66201f392bf62d500f07670a30488a247b9bb5b9
  GoogleAppMeasurement: 7e48a3249792ac35d6f18f107f63f199a7e9d0ce
  GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
  GoogleMaps: 025272d5876d3b32604e5c080dc25eaf68764693
  GoogleMLKit: 0017a6a8372e1a182139b9def4d89be5d87ca5a7
  GoogleToolboxForMac: 8bef7c7c5cf7291c687cf5354f39f9db6399ad34
  GoogleUtilities: 1d20a6ad97ef46f67bbdec158ce00563a671ebb7
  GoogleUtilitiesComponents: 679b2c881db3b615a2777504623df6122dd20afe
  GTMSessionFetcher: 5595ec75acf5be50814f81e9189490412bad82ba
  HaishinKit: 013229683accc4abe46630b04629da3ff90428b7
  image_picker_ios: b786a5dcf033a8336a657191401bfdf12017dabb
  libphonenumber: bd14d5abfc5939ab0b0767234e2d8e2593af258e
  libPhoneNumber-iOS: 0a32a9525cf8744fe02c5206eb30d571e38f7d75
  libphonenumber_plugin: 7cf755ad1656145935d6c208173a476bd3f12898
  Logboard: f3a37d2a4040b82b7e2eb39765897e2c9c5ec024
  MLImage: 489dfec109f21da8621b28d476401aaf7a0d4ff4
  MLKitBarcodeScanning: d92fe1911001ec36870162c5a0eb206f612b7169
  MLKitCommon: f6da6c5659618c070b50a80db01248ebe2964175
  MLKitVision: 96c96571190b7f63eddf4a12068ce8a8689e0d2c
  mobile_scanner: 0cf06f3d5224576aa24ade02a6f73d8b2551c7bf
  MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
  nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
  native_device_orientation: 3b4cfc9565a7b879cc4fde282b3e27745e852d0d
  onesignal_flutter: 02a850e079073e8bd03948f50a2fb9a7918b5db6
  OneSignalXCFramework: 81ceac017a290f23793443323090cfbe888f74ea
  OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
  package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
  path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
  permission_handler_apple: 44366e37eaf29454a1e7b1b7d736c2cceaeb17ce
  PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
  Protobuf: 02524ec14183fe08fb259741659e79683788158b
  qr_code_scanner: bb67d64904c3b9658ada8c402e8b4d406d5d796e
  ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
  SDWebImage: 9e391cf38577742f501055dca17e4987f6713fe1
  share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68
  shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
  sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
  SwiftyGif: 6c3eafd0ce693cad58bb63d2b2fb9bacb8552780
  Toast: 91b396c56ee72a5790816f40d3a94dd357abc196
  uni_links: d97da20c7701486ba192624d99bffaaffcfc298a
  url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de
  video_player_avfoundation: e489aac24ef5cf7af82702979ed16f2a5ef84cff
  wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f
  webview_flutter_wkwebview: b7e70ef1ddded7e69c796c7390ee74180182971f

PODFILE CHECKSUM: bd05ecf5bbb7af5d31ff4fc0993c98af0734c4c8

COCOAPODS: 1.11.3

@larissamagistrali
Copy link

I found my mistake, my onesigal target name was not exactly "OneSignalNotificationServiceExtension". I adjusted and it worked.

@phil-withu
Copy link

Same here - Flutter 3.3.8 new project, do the onesignal integration using onesignal_flutter: ^3.4.2, startup crash:

Library not loaded: @rpath/OneSignalExtension.framework/OneSignalExtension

Fixing at 3.4.1 solves the issue.

Interestingly I only see this when building on our Codemagic instance, locally I can use ^3.4.2

@luis901101
Copy link
Contributor

Same here - Flutter 3.3.8 new project, do the onesignal integration using onesignal_flutter: ^3.4.2, startup crash:

Library not loaded: @rpath/OneSignalExtension.framework/OneSignalExtension

Fixing at 3.4.1 solves the issue.

Interestingly I only see this when building on our Codemagic instance, locally I can use ^3.4.2

Hmmm, interesting, maybe something related to Apple M1 procesors? Codemagic is using m1 for CI/CD, and in my case my macbook pro is also a m1 procesor... 🤔

@phil-withu
Copy link

phil-withu commented Nov 14, 2022

Same here - Flutter 3.3.8 new project, do the onesignal integration using onesignal_flutter: ^3.4.2, startup crash:
Library not loaded: @rpath/OneSignalExtension.framework/OneSignalExtension
Fixing at 3.4.1 solves the issue.
Interestingly I only see this when building on our Codemagic instance, locally I can use ^3.4.2

Hmmm, interesting, maybe something related to Apple M1 procesors? Codemagic is using m1 for CI/CD, and in my case my macbook pro is also a m1 procesor... 🤔

Actually I don't think so, I had my colleague build with his M1 machine and it was also ok. However we did not try much else. Once it built and ran OK I moved on.

We should probably have tried more like clearing xcode derived data and cleaning the Flutter project

@Zfinix
Copy link

Zfinix commented Nov 18, 2022

image

Adding the framework to Runner under Framework, Libraries, and Embedded Content worked for me

@westy92
Copy link
Contributor

westy92 commented Nov 21, 2022

@Zfinix this works for me, but only if I Embed & Sign the framework.

@Zfinix
Copy link

Zfinix commented Nov 21, 2022 via email

@KKimj
Copy link

KKimj commented Nov 22, 2022

Hello ..!
@Zfinix

스크린샷 2022-11-22 오후 2 53 24

Is this what you're saying?

스크린샷 2022-11-22 오후 2 50 20

Thanks!

@chrisvidal
Copy link

Facing same issue here, with 3.4.0, 3.4.1, and 3.4.2 version on a new Flutter 3.0 project built on a Mac M1 chip as well.
nothing shared on this thread has resolved anything on my side.

@jorgefspereira
Copy link

same here

@jorgefspereira
Copy link

image

Adding the framework to Runner under Framework, Libraries, and Embedded Content worked for me

This worked for me

@luis901101
Copy link
Contributor

Just tested with latest version 3.5.0 and the same error occurred. It failed complaining about OneSignalCore and OneSignalOutcomes, I finally ended up adding it manually like:

Screenshot 2022-12-01 at 15 50 35

If these steps are necessary to be manual I think it should be explained in documentation.

@emawby
Copy link
Contributor

emawby commented Dec 2, 2022

Make sure you are using Cocoapods 1.11.3 and try the below code. We have seen this issue when using versions lower than 1.11.3

rm Podfile.lock
pod cache clean --all
pod install --repo-update

@luis901101
Copy link
Contributor

Make sure you are using Cocoapods 1.11.3 and try the below code. We have seen this issue when using versions lower than 1.11.3

rm Podfile.lock
pod cache clean --all
pod install --repo-update

Done:

  • ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22]
  • pod 1.11.3

@emawby
Copy link
Contributor

emawby commented Dec 2, 2022

@luis901101 Try updating to ruby 2.7.5+. I believe Cocoapods 1.11.3 has an FFI dependency that requires a higher ruby version than you are using so I am not sure how Cocoapods 1.11.3 installed succsesfully. Regardless try updating Ruby version and see if that helps. Out of curiosity did you install Cocoapods directly from the gem or using Homebrew?

@luis901101
Copy link
Contributor

@luis901101 Try updating to ruby 2.7.5+. I believe Cocoapods 1.11.3 has an FFI dependency that requires a higher ruby version than you are using so I am not sure how Cocoapods 1.11.3 installed succsesfully. Regardless try updating Ruby version and see if that helps. Out of curiosity did you install Cocoapods directly from the gem or using Homebrew?

I can't remember right now, but I think it was homebrew

@luis901101
Copy link
Contributor

@luis901101 Try updating to ruby 2.7.5+. I believe Cocoapods 1.11.3 has an FFI dependency that requires a higher ruby version than you are using so I am not sure how Cocoapods 1.11.3 installed succsesfully. Regardless try updating Ruby version and see if that helps. Out of curiosity did you install Cocoapods directly from the gem or using Homebrew?

After updating ruby to latest ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin22] everything works fine.
Thanks @emawby for the tip.

@sanalkv
Copy link

sanalkv commented Dec 16, 2022

The following worked for me -

  • rvm get stable (This command updates ruby version manager(RVM)).
  • rvm install 3.1.2 (This installs latest version of ruby - ruby 3.1.2p20)
  • rvm use --default 3.1.2 (This will make the 3.1.2 as the default ruby version)
  • ruby -v (This will show the latest ruby version that is being used. Kill the terminal and run this command again to check if its still using the latest version of ruby)
  • Run the project

if it says CocoaPods is broken then run the following command - sudo gem install cocoapods

This should solve the problem.

@GusRodrigues86
Copy link

image

Adding the framework to Runner under Framework, Libraries, and Embedded Content worked for me

this fixed for me

@Zfinix
Copy link

Zfinix commented Feb 1, 2023

Mine worked without signing
On Mon, 21 Nov 2022 at 5:10 AM, Seth Westphal @.> wrote: @Zfinix https://github.com/Zfinix this works for me, but only if I Embed and Sign the framework. — Reply to this email directly, view it on GitHub <#608 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGE3JSICWPR2RC6F6BLTE4LWJLY3RANCNFSM6AAAAAARS4EXMQ . You are receiving this because you were mentioned.Message ID: @.>
-- Chiziaruhoma O.

image

Adding the framework to Runner under Framework, Libraries, and Embedded Content worked for me

I was able to Identify that this issue doesn't happen on M1 after following this steps
But it still happens on Mac Pro so if you're on Mac pro you should switch to an M1 instance after these changes

@AndreHaueisen
Copy link

This answer solved it for me
OneSignal/react-native-onesignal#1459 (comment)

@shkvoretz
Copy link

having this issue on my Intel Mac, but on on M1 chip.

@rackNeha
Copy link

Hello there,

I’m facing the same crash. On xCode 14.2 / Mac Book Pro 13.0.1
One Signal pod version -

  • OneSignal (3.12.4):
    • OneSignal/OneSignalCore (= 3.12.4)
    • OneSignal/OneSignalExtension (= 3.12.4)
    • OneSignal/OneSignalOutcomes (= 3.12.4)
    • OneSignal/OneSignalCore (3.12.4)
    • OneSignal/OneSignalExtension (3.12.4):
      • OneSignal/OneSignalCore
      • OneSignal/OneSignalOutcomes
    • OneSignal/OneSignalOutcomes (3.12.4):
      • OneSignal/OneSignalCore

Termination Reason: DYLD 1 Library missing
Library not loaded: @rpath/OneSignalExtension.framework/OneSignalExtension

Kindly help. urgent

@emawby
Copy link
Contributor

emawby commented Apr 10, 2023

@rackNeha There are some workarounds mentioned above, but perhaps the latest Cocoapods release (1.12.+) fixes this issue? Cocoapods had not released a new version for almost a year and did not well support Xcode 14 so I am hoping their new release fixes issues like these.

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