OneSignal / OneSignal-XCFramework

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com. This Repository hosts OneSignal's XCFramework to be used with Swift Package Manager
Other
26 stars 4 forks source link

Disable bitcode but its Disabled #72

Closed adeds closed 8 months ago

adeds commented 8 months ago

i run my project with github actions for deployment Dev to Firebase Distribution with Fastlane. its works before i implement the service extension. but after implemented, then i got this error

ld: '/Users/runner/Library/Developer/Xcode/DerivedData/MyProject-eomczmcwtfciykdeynmnyzutqzaq/Build/Intermediates.noindex/ArchiveIntermediates/Dev.MyTarget/BuildProductsPath/Development-iphoneos/OneSignalExtension.framework/OneSignalExtension' 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/runner/Library/Developer/Xcode/DerivedData/MyProject-eomczmcwtfciykdeynmnyzutqzaq/Build/Intermediates.noindex/ArchiveIntermediates/Dev.MyTarget/BuildProductsPath/Development-iphoneos/OneSignalExtension.framework/OneSignalExtension' for architecture arm64

the fastlane command

gym(
      export_method: export_method,
      scheme: scheme,
      output_name: scheme,
      destination: "generic/platform=iOS",
      xcargs: "-allowProvisioningUpdates"
    )

that error ask me to disable bitcode for the target NotificationServiceExtension, but its disabled, and all my targets is disabled too.

Has anyone ever experienced something similar?

adeds commented 8 months ago

set to YES, then set to NO make it new variable with NO value