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

Building for arm64 Architecture #1260

Closed
Cryptobyte opened this issue Jul 18, 2021 · 65 comments
Closed

Building for arm64 Architecture #1260

Cryptobyte opened this issue Jul 18, 2021 · 65 comments
Assignees

Comments

@Cryptobyte
Copy link

Description:

Trying to build an existing RN app on arm64 intentionally as Monterey has introduced an issue with running non-arm64 apps in the simulator. OneSignal XCode build is failing on arm64 architecture. I have seen the other issues related to arm64 however the solution seems to always be excluding the arm64 architecture which is not an option in my case. Is there any way to make react-native-onesignal work on arm64?

Environment

OneSignal React-Native SDK (4.2.0) via yarn

Steps to Reproduce Issue:

  1. Using M1 Mac, install latest (4.2.0) OneSignal React-Native SDK
  2. Build for arm64 simulator

Anything else:

ld: warning: ignoring file <redacted>/Build/Products/Debug-iphonesimulator/libPods-OneSignalNotificationServiceExtension.a, missing required architecture arm64 in file <redacted>/Build/Products/Debug-iphonesimulator/libPods-OneSignalNotificationServiceExtension.a (2 slices)
ld: in <redacted>/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal(OneSignal-arm64-master.o), building for iOS Simulator, but linking in object file built for iOS, file '<redacted>/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@sandeepkundu4344
Copy link

did you find any solution to this issue ?? I am facing it as well

@Cryptobyte
Copy link
Author

did you find any solution to this issue ?? I am facing it as well

Not yet, hoping for a dev reply that can help fix the issue.

@emawby
Copy link
Contributor

emawby commented Aug 5, 2021

@Cryptobyte Can you show your podfile for the NotificationServiceExtension?
It is likely that it is currently using the OneSignal pod. If you change to use the OneSignalXCFramework pod instead this issue should be resolved.

@Cryptobyte
Copy link
Author

@Cryptobyte Can you show your podfile for the NotificationServiceExtension?
It is likely that it is currently using the OneSignal pod. If you change to use the OneSignalXCFramework pod instead this issue should be resolved.

Thanks for the reply, yes I'm still using OneSignal is OneSignalXCFramework a drop in replacement? Here's what I have in the Podfile for OneSignalNotificationServiceExtension:

target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignal', '3.2.3'
end

@danlupascu
Copy link

I am having this problem as well, and I'm using OneSignalXCFramework.

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

And here's the error I'm getting:

ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignal/OneSignal.framework/OneSignal
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Could not find or use auto-linked library 'swiftDarwin'
ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
ld: warning: Could not find or use auto-linked library 'swiftCore'
ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
ld: warning: Could not find or use auto-linked library 'swiftDispatch'
ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport'
Undefined symbols for architecture arm64:
  "value witness table for Builtin.UnknownObject", referenced from:
      full type metadata for OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
  "__swift_FORCE_LOAD_$_swiftCoreGraphics", referenced from:
      __swift_FORCE_LOAD_$_swiftCoreGraphics_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreGraphics_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftDispatch", referenced from:
      __swift_FORCE_LOAD_$_swiftDispatch_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftDispatch_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftCoreFoundation", referenced from:
      __swift_FORCE_LOAD_$_swiftCoreFoundation_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreFoundation_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftObjectiveC", referenced from:
      __swift_FORCE_LOAD_$_swiftObjectiveC_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftObjectiveC_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftFoundation", referenced from:
      __swift_FORCE_LOAD_$_swiftFoundation_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftFoundation_$_OneSignalNotificationServiceExtension)
  "_swift_getObjCClassMetadata", referenced from:
      type metadata accessor for __C.UNMutableNotificationContent in NotificationService.o
  "_swift_beginAccess", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.getter : (__C.UNNotificationContent) -> ()? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.setter : (__C.UNNotificationContent) -> ()? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.modify : (__C.UNNotificationContent) -> ()? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.getter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.setter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.modify : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent.getter : __C.UNMutableNotificationContent? in NotificationService.o
      ...
  "type metadata for Any", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "Swift._bridgeAnyObjectToAny(Swift.AnyObject?) -> Any", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "__swift_FORCE_LOAD_$_swiftDarwin", referenced from:
      __swift_FORCE_LOAD_$_swiftDarwin_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftDarwin_$_OneSignalNotificationServiceExtension)
  "_swift_release", referenced from:
      outlined consume of @escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> ()? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      @objc OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.serviceExtensionTimeWillExpire() -> () in NotificationService.o
      outlined destroy of @escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> ()? in NotificationService.o
      l_objectdestroy.2 in NotificationService.o
      l_objectdestroy.5 in NotificationService.o
      ...
  "_swift_unknownObjectRelease", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.serviceExtensionTimeWillExpire() -> () in NotificationService.o
  "_swift_deallocObject", referenced from:
      l_objectdestroy in NotificationService.o
      l_objectdestroy.2 in NotificationService.o
      l_objectdestroy.5 in NotificationService.o
  "_swift_retain", referenced from:
      outlined copy of @escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> ()? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.serviceExtensionTimeWillExpire() -> () in NotificationService.o
      outlined init with copy of @escaping @callee_guaranteed @substituted <A, B> (@in_guaranteed A) -> (@out B) for <__C.UNNotificationContent()>? in NotificationService.o
  "_swift_endAccess", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.getter : (__C.UNNotificationContent) -> ()? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.setter : (__C.UNNotificationContent) -> ()? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.modify : (__C.UNNotificationContent) -> ()? with unmangled suffix ".resume.0" in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.getter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.setter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.modify : __C.UNNotificationRequest? with unmangled suffix ".resume.0" in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent.getter : __C.UNMutableNotificationContent? in NotificationService.o
      ...
  "_swift_dynamicCast", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "_swift_isaMask", referenced from:
      key path getter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : (__C.UNNotificationContent) -> ()? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : (__C.UNNotificationContent) -> ()? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path getter for OneSignalNotificationServiceExtension.NotificationService.receivedRequest : __C.UNNotificationRequest? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.receivedRequest : __C.UNNotificationRequest? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path getter for OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent : __C.UNMutableNotificationContent? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent : __C.UNMutableNotificationContent? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      ...
  "_swift_allocObject", referenced from:
      key path getter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : (__C.UNNotificationContent) -> ()? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : (__C.UNNotificationContent) -> ()? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      @objc OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

And here are the warnings/errors

Showing Recent Messages
Linking against a dylib which is not safe for use in application extensions: /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignal/OneSignal.framework/OneSignal

Could not find or use auto-linked library 'swiftFoundation'

Could not find or use auto-linked library 'swiftDarwin'

Could not find or use auto-linked library 'swiftCoreFoundation'

Could not find or use auto-linked library 'swiftCore'

Could not find or use auto-linked library 'swiftCoreGraphics'

Could not find or use auto-linked library 'swiftObjectiveC'

Could not find or use auto-linked library 'swiftDispatch'

Could not find or use auto-linked library 'swiftSwiftOnoneSupport'

Undefined symbol: value witness table for Builtin.UnknownObject

Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreGraphics

Undefined symbol: __swift_FORCE_LOAD_$_swiftDispatch

Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreFoundation

Undefined symbol: __swift_FORCE_LOAD_$_swiftObjectiveC

Undefined symbol: __swift_FORCE_LOAD_$_swiftFoundation

Undefined symbol: _swift_getObjCClassMetadata

Undefined symbol: _swift_beginAccess

Undefined symbol: type metadata for Any

Undefined symbol: Swift._bridgeAnyObjectToAny(Swift.AnyObject?) -> Any

Undefined symbol: __swift_FORCE_LOAD_$_swiftDarwin

Undefined symbol: _swift_release

Undefined symbol: _swift_unknownObjectRelease

Undefined symbol: Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never

Undefined symbol: _swift_deallocObject

Undefined symbol: _swift_retain

Undefined symbol: _swift_endAccess

Undefined symbol: _swift_dynamicCast

Undefined symbol: _swift_isaMask

Undefined symbol: _swift_allocObject

@s3vi26
Copy link

s3vi26 commented Aug 12, 2021

I am having the exact same issue above ^^^^ BUMP!

@wmbryce
Copy link

wmbryce commented Aug 13, 2021

Same issue here

@piotrlo
Copy link

piotrlo commented Aug 13, 2021

try this
#1157 (comment)

@s3vi26
Copy link

s3vi26 commented Aug 13, 2021

@piotrlo TY! this worked! It didnt work in xcode but when i ran npx react-native run-ios it built for me xD

@Cryptobyte
Copy link
Author

try this
#1157 (comment)

Thanks for the suggestion, I tried this and updated my NotificationServiceExtension to this:

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

and now I'm getting this issue via XCode and npx react-native run-ios:

ld: warning: directory not found for option '-F/Users/cryptobyte/Library/Developer/Xcode/DerivedData/<redacted>/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignal'
ld: library not found for -lPods-OneSignalNotificationServiceExtension
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Tried Clean Project, Clean Project Folder and removing Derived Data none of which changed or solved the build error.

@s3vi26
Copy link

s3vi26 commented Aug 16, 2021

Thanks for the suggestion, I tried this and updated my NotificationServiceExtension to this:

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

So i didn't update my Podfile to the new OneSignalXCFramework. I omitted that step. Maybe try again without updating it and see if it works? shot in the dark to help you out.

@rgomezp
Copy link
Contributor

rgomezp commented Aug 18, 2021

Howdy,
You can always try deintegrating pods via pod deintegrate && pod install in the ios directory. Also please try running pod update to make sure you are using the latest.

@Cryptobyte
Copy link
Author

Thanks for the suggestion, I tried this and updated my NotificationServiceExtension to this:

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

So i didn't update my Podfile to the new OneSignalXCFramework. I omitted that step. Maybe try again without updating it and see if it works? shot in the dark to help you out.

Howdy,
You can always try deintegrating pods via pod deintegrate && pod install in the ios directory. Also please try running pod update to make sure you are using the latest.

Just tried all of these, still running in to the same issue. Here's what I have in my configuration right now:
package.json

"react-native-onesignal": "OneSignal/react-native-onesignal#5e7380a4"

Podfile

# Tried both OneSignal and OneSignalXCFramework
target 'OneSignalNotificationServiceExtension' do
  # pod 'OneSignal', '3.2.3'
  pod 'OneSignalXCFramework', '>= 3.4.3', '< 4.0'
end

I tried:

  • pod install --repo-update
  • pod update
  • Removing Pods folder and Podfile.lock and reinstalling
  • Deintegrate and install Pods again
  • Clean Project, Clean Project Folder, Deleting Derived Data

Not sure if it helps but I'm using XCode Version 12.5.1 (12E507)

@raketeFlo
Copy link

Facing the same issues as @Cryptobyte. None of the above mentioned solutions seems to work. Any ideas?

@rgomezp
Copy link
Contributor

rgomezp commented Aug 18, 2021

@Cryptobyte @JoFlo07 & all others,
If you check the podspec, you will see that the latest versions now use the XCFramework version. So you no longer need to use the old #5e7380a4 branch. Please switch back to use the latest npm distribution.

@raketeFlo
Copy link

raketeFlo commented Aug 19, 2021

@rgomezp Thank you for your reply. I updated the pods and I am using now the XCFramework as well as the latest npm distribution. I still got another error afterwards, but this was not related to OneSignal. Now it seems to work.

@Cryptobyte
Copy link
Author

@rgomezp Thank you for your reply. I updated the pods and I am using now the XCFramework as well as the latest npm distribution. I still got another error afterwards, but this was not related to OneSignal. Now it seems to work.

Same here, updated and fixed OneSignal related issues. Thanks for the help everyone!

@rgomezp rgomezp closed this as completed Aug 22, 2021
@danlupascu
Copy link

I'm still having this issue, updating to the latest version didn't fix it. Anyone else having this issue after updating to the latest version?

@rgomezp rgomezp reopened this Oct 19, 2021
@rgomezp
Copy link
Contributor

rgomezp commented Oct 19, 2021

@danlupascu ,
I went ahead and reopened the issue since it seems several other folks are still running into the issue.

It seems Cryptobyte was able to solve by cleaning the DerivedData folder (amongst other things mentioned above). Could you please give that a shot?

@danlupascu
Copy link

@rgomezp I just removed DerivedData folder, tried again and it didn't help, I'm still having the same issue.

Npm package version: 4.3.1
React Native version: 0.64.2

We have this in Podfile:

target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignalXCFramework', '>= 3.0', '< 4.0'
end

Here's the error again:

Showing Recent Messages
MkDir /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    /bin/mkdir -p /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/Entitlements-Simulated.plist (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/Entitlements-Simulated.plist

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/Entitlements.plist (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/Entitlements.plist

ProcessProductPackaging "" /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex-Simulated.xcent (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    
    Entitlements:
    
    {
    "application-identifier" = "V9R7UL2F4M.com.projectname.OneSignalNotificationServiceExtension";
    "com.apple.security.application-groups" =     (
        "group.com.projectname.onesignal"
    );
}
    
    builtin-productPackagingUtility -entitlements -format xml -o /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex-Simulated.xcent

ProcessProductPackaging "" /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex.xcent (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    
    Entitlements:
    
    {
    "com.apple.security.get-task-allow" = 1;
}
    
    builtin-productPackagingUtility -entitlements -format xml -o /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex.xcent

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/all-product-headers.yaml (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/all-product-headers.yaml

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.hmap (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-project-headers.hmap (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-project-headers.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-own-target-headers.hmap (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-own-target-headers.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-generated-files.hmap (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-generated-files.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-target-headers.hmap (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-target-headers.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-non-framework-target-headers.hmap (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-non-framework-target-headers.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Script-B8D771C085EFD42D391A53AF.sh (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Script-B8D771C085EFD42D391A53AF.sh

ProcessInfoPlistFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/Info.plist /Users/Dan/Projects/projectname/applications/app/ios/OneSignalNotificationServiceExtension/Info.plist (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    builtin-infoPlistUtility /Users/Dan/Projects/projectname/applications/app/ios/OneSignalNotificationServiceExtension/Info.plist -producttype com.apple.product-type.app-extension -expandbuildsettings -format binary -platform iphonesimulator -o /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/Info.plist

PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Script-B8D771C085EFD42D391A53AF.sh (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    /bin/sh -c /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Script-B8D771C085EFD42D391A53AF.sh

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.SwiftFileList (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.SwiftFileList

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.LinkFileList (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.LinkFileList

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-OutputFileMap.json (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-OutputFileMap.json

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
    export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name OneSignalNotificationServiceExtension -Onone -enable-batch-mode -enforce-exclusivity\=checked @/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.SwiftFileList -DDEBUG -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -target arm64-apple-ios10.0-simulator -g -module-cache-path /Users/Dan/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -application-extension -enable-testing -index-store-path /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Index/DataStore -swift-version 5 -I /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator -F /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator -F /Users/Dan/Projects/projectname/applications/app/ios/Pods/OneSignalXCFramework/iOS_SDK/OneSignalSDK/OneSignal_XCFramework -F /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignal -parse-as-library -emit-localized-strings -emit-localized-strings-path /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64 -c -j8 -output-file-map /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-generated-files.hmap -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-own-target-headers.hmap -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-project-headers.hmap -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Amplitude -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/CocoaAsyncSocket -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/DoubleConversion -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/FBLazyVector -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/FBReactNativeSpec -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Firebase -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/FirebaseCore -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/FirebaseCoreDiagnostics -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/FirebaseDynamicLinks -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/FirebaseInstallations -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Flipper -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Flipper-DoubleConversion -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Flipper-Folly -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Flipper-Glog -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Flipper-PeerTalk -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Flipper-RSocket -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/FlipperKit -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/GoogleDataTransport -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/GoogleUtilities -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/PromisesObjC -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RCT-Folly -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RCTRequired -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RCTTypeSafety -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNBootSplash -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNCAsyncStorage -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNCMaskedView -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNDateTimePicker -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNDeviceInfo -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNFBAnalytics -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNFBApp -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNFBDynamicLinks -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNGestureHandler -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNIap -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNImageCropPicker -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNReanimated -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNSVG -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNScreens -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNSentry -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/RNShare -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-Core -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-RCTBlob -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-RCTText -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-callinvoker -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-cxxreact -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-jsi -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-jsiexecutor -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-jsinspector -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-perflogger -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/React-runtimeexecutor -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/ReactCommon -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Sentry -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/TOCropViewController -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/Yoga -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/YogaKit -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/amplitude-react-native -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/glog -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/libevent -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/nanopb -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/react-native-agora -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/react-native-config -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/react-native-keep-awake -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/react-native-onesignal -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/react-native-orientation-locker -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/react-native-pager-view -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/react-native-safe-area-context -Xcc -I/Users/Dan/Projects/projectname/applications/app/ios/Pods/Headers/Public/react-native-video -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources-normal/arm64 -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/arm64 -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -emit-objc-header -emit-objc-header-path /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-Swift.h -working-directory /Users/Dan/Projects/projectname/applications/app/ios

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftsourceinfo /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/Project/arm64.swiftsourceinfo (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftsourceinfo /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/Project/arm64.swiftsourceinfo

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftsourceinfo /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftsourceinfo /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64.swiftmodule (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64.swiftmodule

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64-apple-ios-simulator.swiftmodule (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64-apple-ios-simulator.swiftmodule

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftdoc /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64.swiftdoc (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftdoc /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64.swiftdoc

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftdoc /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64-apple-ios-simulator.swiftdoc (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftdoc /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64-apple-ios-simulator.swiftdoc

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-Swift.h /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/OneSignalNotificationServiceExtension-Swift.h (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-Swift.h /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources

Ld /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension normal (in target 'OneSignalNotificationServiceExtension' from project 'ProjectName')
    cd /Users/Dan/Projects/projectname/applications/app/ios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios10.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -L/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphonesimulator -F/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator -F/Users/Dan/Projects/projectname/applications/app/ios/Pods/OneSignalXCFramework/iOS_SDK/OneSignalSDK/OneSignal_XCFramework -F/Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignal -filelist /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/../../Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fapplication-extension -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule -ObjC -framework OneSignal -e _NSExtensionMain -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex-Simulated.xcent -lPods-OneSignalNotificationServiceExtension -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/ProjectName.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension_dependency_info.dat -o /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension

ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/Dan/Library/Developer/Xcode/DerivedData/ProjectName-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignal/OneSignal.framework/OneSignal
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Could not find or use auto-linked library 'swiftDarwin'
ld: warning: Could not find or use auto-linked library 'swiftDispatch'
ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
ld: warning: Could not find or use auto-linked library 'swiftCore'
ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport'
Undefined symbols for architecture arm64:
  "value witness table for Builtin.UnknownObject", referenced from:
      full type metadata for OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
  "__swift_FORCE_LOAD_$_swiftCoreGraphics", referenced from:
      __swift_FORCE_LOAD_$_swiftCoreGraphics_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreGraphics_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftDispatch", referenced from:
      __swift_FORCE_LOAD_$_swiftDispatch_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftDispatch_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftCoreFoundation", referenced from:
      __swift_FORCE_LOAD_$_swiftCoreFoundation_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreFoundation_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftObjectiveC", referenced from:
      __swift_FORCE_LOAD_$_swiftObjectiveC_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftObjectiveC_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftFoundation", referenced from:
      __swift_FORCE_LOAD_$_swiftFoundation_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftFoundation_$_OneSignalNotificationServiceExtension)
  "_swift_getObjCClassMetadata", referenced from:
      type metadata accessor for __C.UNMutableNotificationContent in NotificationService.o
  "_swift_beginAccess", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.getter : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.setter : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.modify : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.getter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.setter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.modify : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent.getter : __C.UNMutableNotificationContent? in NotificationService.o
      ...
  "type metadata for Any", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "Swift._bridgeAnyObjectToAny(Swift.AnyObject?) -> Any", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "__swift_FORCE_LOAD_$_swiftDarwin", referenced from:
      __swift_FORCE_LOAD_$_swiftDarwin_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftDarwin_$_OneSignalNotificationServiceExtension)
  "_swift_release", referenced from:
      outlined consume of (@escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> () to @escaping @callee_unowned @convention(block) (@unowned __C.UNNotificationContent) -> () in NotificationService.o
      _block_destroy_helper in NotificationService.o
      @objc OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.serviceExtensionTimeWillExpire() -> () in NotificationService.o
      outlined destroy of (@escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> ())? in NotificationService.o
      ...
  "_swift_unknownObjectRelease", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.serviceExtensionTimeWillExpire() -> () in NotificationService.o
  "_swift_deallocObject", referenced from:
      l_objectdestroy in NotificationService.o
      l_objectdestroy.2 in NotificationService.o
      l_objectdestroy.5 in NotificationService.o
  "_swift_retain", referenced from:
      outlined copy of (@escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> () to @escaping @callee_unowned @convention(block) (@unowned __C.UNNotificationContent) -> () in NotificationService.o
      _block_copy_helper in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.serviceExtensionTimeWillExpire() -> () in NotificationService.o
      outlined init with copy of (@escaping @callee_guaranteed @substituted <A, B> (@in_guaranteed A) -> (@out B) for <__C.UNNotificationContent()>)? in NotificationService.o
  "_swift_endAccess", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.getter : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.setter : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.modify : ((__C.UNNotificationContent) -> ())? with unmangled suffix ".resume.0" in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.getter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.setter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.modify : __C.UNNotificationRequest? with unmangled suffix ".resume.0" in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent.getter : __C.UNMutableNotificationContent? in NotificationService.o
      ...
  "_swift_dynamicCast", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "_swift_isaMask", referenced from:
      key path getter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : ((__C.UNNotificationContent) -> ())? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : ((__C.UNNotificationContent) -> ())? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path getter for OneSignalNotificationServiceExtension.NotificationService.receivedRequest : __C.UNNotificationRequest? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.receivedRequest : __C.UNNotificationRequest? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path getter for OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent : __C.UNMutableNotificationContent? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent : __C.UNMutableNotificationContent? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      ...
  "_swift_allocObject", referenced from:
      key path getter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : ((__C.UNNotificationContent) -> ())? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : ((__C.UNNotificationContent) -> ())? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      @objc OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@rgomezp
Copy link
Contributor

rgomezp commented Nov 3, 2021

Howdy,
Can you make sure the Service Extension target is not nested under the main target:

target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignalXCFramework', '>= 3.0', '< 4.0'
end

(this should be at the same level as the main target)

@danlupascu
Copy link

@rgomezp hey, it's outside, at the same level as the main target.

Here's the full Podfile:

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'

target 'ProjectName' do
  config = use_native_modules!

  use_react_native!(
      :path => config[:reactNativePath],
      # to enable hermes on iOS, change `false` to `true` and then install pods
      :hermes_enabled => false
  )

  pod 'react-native-config', :path => '../node_modules/react-native-config'

  pod 'react-native-onesignal', :path => '../node_modules/react-native-onesignal'

  pod 'react-native-keep-awake', :path => '../node_modules/react-native-keep-awake'

  pod 'react-native-video', :path => '../node_modules/react-native-video'

  target 'ProjectNameTests' do
    inherit! :complete
    # Pods for testing
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable the next line.
  use_flipper!({ 'Flipper-Folly' => '2.5.3', 'Flipper' => '0.87.0', 'Flipper-RSocket' => '1.3.1' })
  post_install do |installer|
    react_native_post_install(installer)
  end
end

target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignalXCFramework', '>= 3.0', '< 4.0'
end

@rgomezp
Copy link
Contributor

rgomezp commented Nov 8, 2021

@danlupascu ,
Thanks. It looks fine.

Perhaps try pod cache clean --all or pod cache clean 'OneSignal'--all if you don't want to remove the cache for all pods.

Cheers

@danlupascu
Copy link

@rgomezp still not working, I'm getting the same exact error. I removed the DerivedData folder and the cleaned pods cache.

@rgomezp
Copy link
Contributor

rgomezp commented Nov 12, 2021

Howdy @danlupascu ,
Sorry to hear you're still having issues. If you're using the OneSignalXCFramework you shouldn't be getting this.

Unfortunately, I think this is likely being caused by something specific to your setup. One thing you can try is building a test-app from scratch and trying to reproduce the issue. If you reproduce it, you can send it to us and we'll try taking a look to see what we can gather.

@danlupascu
Copy link

@rgomezp unfortunately I don't have enough time to build a test up from scratch at the moment.

Maybe someone that's having the same problem has a test app and can share it with you. Anyone?

@rgomezp
Copy link
Contributor

rgomezp commented Nov 23, 2021

@danlupascu ,
Can you please upgrade to the latest SDK and try again? After speaking with my team it sounds like there may have been an issue in prior versions.

@danlupascu
Copy link

Still now working. I updated the library, cleaned derived data folder and cleared pods cache as well


Showing Recent Messages
WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/Entitlements.plist (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/Entitlements.plist

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/Entitlements-Simulated.plist (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/Entitlements-Simulated.plist

ProcessProductPackaging "" /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex.xcent (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    
    Entitlements:
    
    {
    "com.apple.security.get-task-allow" = 1;
}
    
    builtin-productPackagingUtility -entitlements -format xml -o /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex.xcent

ProcessProductPackaging "" /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex-Simulated.xcent (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    
    Entitlements:
    
    {
    "application-identifier" = "V9R7UL2F4M.com.project.OneSignalNotificationServiceExtension";
    "com.apple.security.application-groups" =     (
        "group.com.project.onesignal"
    );
}
    
    builtin-productPackagingUtility -entitlements -format xml -o /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex-Simulated.xcent

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/all-product-headers.yaml (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/all-product-headers.yaml

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.hmap (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-project-headers.hmap (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-project-headers.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-own-target-headers.hmap (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-own-target-headers.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-generated-files.hmap (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-generated-files.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-target-headers.hmap (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-target-headers.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-non-framework-target-headers.hmap (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-non-framework-target-headers.hmap

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Script-B8D771C085EFD42D391A53AF.sh (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Script-B8D771C085EFD42D391A53AF.sh

ProcessInfoPlistFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/Info.plist /Users/Dan/Projects/project/applications/app/ios/OneSignalNotificationServiceExtension/Info.plist (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    builtin-infoPlistUtility /Users/Dan/Projects/project/applications/app/ios/OneSignalNotificationServiceExtension/Info.plist -producttype com.apple.product-type.app-extension -expandbuildsettings -format binary -platform iphonesimulator -o /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/Info.plist

PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Script-B8D771C085EFD42D391A53AF.sh (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    /bin/sh -c /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Script-B8D771C085EFD42D391A53AF.sh

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.SwiftFileList (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.SwiftFileList

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.LinkFileList (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.LinkFileList

WriteAuxiliaryFile /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-OutputFileMap.json (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    write-file /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-OutputFileMap.json

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
    export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name OneSignalNotificationServiceExtension -Onone -enable-batch-mode -enforce-exclusivity\=checked @/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.SwiftFileList -DDEBUG -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -target arm64-apple-ios10.0-simulator -g -module-cache-path /Users/Dan/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -application-extension -enable-testing -index-store-path /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Index/DataStore -swift-version 5 -I /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator -F /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator -F /Users/Dan/Projects/project/applications/app/ios/Pods/OneSignalXCFramework/iOS_SDK/OneSignalSDK/OneSignal_XCFramework -F /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignal -parse-as-library -emit-localized-strings -emit-localized-strings-path /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64 -c -j8 -output-file-map /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-generated-files.hmap -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-own-target-headers.hmap -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-project-headers.hmap -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Amplitude -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/CocoaAsyncSocket -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/DoubleConversion -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/FBLazyVector -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/FBReactNativeSpec -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Firebase -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/FirebaseCore -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/FirebaseCoreDiagnostics -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/FirebaseDynamicLinks -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/FirebaseInstallations -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Flipper -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Flipper-DoubleConversion -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Flipper-Folly -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Flipper-Glog -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Flipper-PeerTalk -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Flipper-RSocket -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/FlipperKit -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/GoogleDataTransport -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/GoogleUtilities -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/PromisesObjC -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RCT-Folly -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RCTRequired -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RCTTypeSafety -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNBootSplash -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNCAsyncStorage -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNCMaskedView -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNDateTimePicker -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNDeviceInfo -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNFBAnalytics -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNFBApp -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNFBDynamicLinks -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNGestureHandler -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNIap -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNImageCropPicker -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNReanimated -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNSVG -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNScreens -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNSentry -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/RNShare -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-Core -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-RCTBlob -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-RCTText -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-callinvoker -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-cxxreact -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-jsi -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-jsiexecutor -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-jsinspector -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-perflogger -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/React-runtimeexecutor -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/ReactCommon -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Sentry -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/TOCropViewController -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/Yoga -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/YogaKit -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/amplitude-react-native -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/glog -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/libevent -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/nanopb -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/react-native-agora -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/react-native-config -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/react-native-keep-awake -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/react-native-onesignal -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/react-native-orientation-locker -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/react-native-pager-view -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/react-native-safe-area-context -Xcc -I/Users/Dan/Projects/project/applications/app/ios/Pods/Headers/Public/react-native-video -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources-normal/arm64 -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/arm64 -Xcc -I/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -emit-objc-header -emit-objc-header-path /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-Swift.h -working-directory /Users/Dan/Projects/project/applications/app/ios

Ld /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension normal (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios10.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -L/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphonesimulator -F/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator -F/Users/Dan/Projects/project/applications/app/ios/Pods/OneSignalXCFramework/iOS_SDK/OneSignalSDK/OneSignal_XCFramework -F/Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignal -filelist /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/../../Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fapplication-extension -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule -ObjC -framework OneSignal -e _NSExtensionMain -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex-Simulated.xcent -lPods-OneSignalNotificationServiceExtension -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension_dependency_info.dat -o /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension

ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignal/OneSignal.framework/OneSignal
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Could not find or use auto-linked library 'swiftDarwin'
ld: warning: Could not find or use auto-linked library 'swiftDispatch'
ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
ld: warning: Could not find or use auto-linked library 'swiftCore'
ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport'
Undefined symbols for architecture arm64:
  "value witness table for Builtin.UnknownObject", referenced from:
      full type metadata for OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
  "__swift_FORCE_LOAD_$_swiftCoreGraphics", referenced from:
      __swift_FORCE_LOAD_$_swiftCoreGraphics_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreGraphics_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftDispatch", referenced from:
      __swift_FORCE_LOAD_$_swiftDispatch_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftDispatch_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftCoreFoundation", referenced from:
      __swift_FORCE_LOAD_$_swiftCoreFoundation_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreFoundation_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftObjectiveC", referenced from:
      __swift_FORCE_LOAD_$_swiftObjectiveC_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftObjectiveC_$_OneSignalNotificationServiceExtension)
  "__swift_FORCE_LOAD_$_swiftFoundation", referenced from:
      __swift_FORCE_LOAD_$_swiftFoundation_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftFoundation_$_OneSignalNotificationServiceExtension)
  "_swift_getObjCClassMetadata", referenced from:
      type metadata accessor for __C.UNMutableNotificationContent in NotificationService.o
  "_swift_beginAccess", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.getter : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.setter : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.modify : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.getter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.setter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.modify : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent.getter : __C.UNMutableNotificationContent? in NotificationService.o
      ...
  "type metadata for Any", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "Swift._bridgeAnyObjectToAny(Swift.AnyObject?) -> Any", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "__swift_FORCE_LOAD_$_swiftDarwin", referenced from:
      __swift_FORCE_LOAD_$_swiftDarwin_$_OneSignalNotificationServiceExtension in NotificationService.o
     (maybe you meant: __swift_FORCE_LOAD_$_swiftDarwin_$_OneSignalNotificationServiceExtension)
  "_swift_release", referenced from:
      outlined consume of (@escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> () to @escaping @callee_unowned @convention(block) (@unowned __C.UNNotificationContent) -> () in NotificationService.o
      _block_destroy_helper in NotificationService.o
      @objc OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.serviceExtensionTimeWillExpire() -> () in NotificationService.o
      outlined destroy of (@escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> ())? in NotificationService.o
      ...
  "_swift_unknownObjectRelease", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.serviceExtensionTimeWillExpire() -> () in NotificationService.o
  "_swift_deallocObject", referenced from:
      l_objectdestroy in NotificationService.o
      l_objectdestroy.2 in NotificationService.o
      l_objectdestroy.5 in NotificationService.o
  "_swift_retain", referenced from:
      outlined copy of (@escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed __C.UNNotificationContent) -> () to @escaping @callee_unowned @convention(block) (@unowned __C.UNNotificationContent) -> () in NotificationService.o
      _block_copy_helper in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.serviceExtensionTimeWillExpire() -> () in NotificationService.o
      outlined init with copy of (@escaping @callee_guaranteed @substituted <A, B> (@in_guaranteed A) -> (@out B) for <__C.UNNotificationContent()>)? in NotificationService.o
  "_swift_endAccess", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.getter : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.setter : ((__C.UNNotificationContent) -> ())? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.contentHandler.modify : ((__C.UNNotificationContent) -> ())? with unmangled suffix ".resume.0" in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.getter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.setter : __C.UNNotificationRequest? in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.receivedRequest.modify : __C.UNNotificationRequest? with unmangled suffix ".resume.0" in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent.getter : __C.UNMutableNotificationContent? in NotificationService.o
      ...
  "_swift_dynamicCast", referenced from:
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
  "_swift_isaMask", referenced from:
      key path getter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : ((__C.UNNotificationContent) -> ())? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : ((__C.UNNotificationContent) -> ())? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path getter for OneSignalNotificationServiceExtension.NotificationService.receivedRequest : __C.UNNotificationRequest? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.receivedRequest : __C.UNNotificationRequest? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path getter for OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent : __C.UNMutableNotificationContent? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.bestAttemptContent : __C.UNMutableNotificationContent? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
      ...
  "_swift_allocObject", referenced from:
      key path getter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : ((__C.UNNotificationContent) -> ())? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      key path setter for OneSignalNotificationServiceExtension.NotificationService.contentHandler : ((__C.UNNotificationContent) -> ())? : OneSignalNotificationServiceExtension.NotificationService in NotificationService.o
      @objc OneSignalNotificationServiceExtension.NotificationService.didReceive(_: __C.UNNotificationRequest, withContentHandler: (__C.UNNotificationContent) -> ()) -> () in NotificationService.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftsourceinfo /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/Project/arm64.swiftsourceinfo (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftsourceinfo /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/Project/arm64.swiftsourceinfo

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftsourceinfo /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftsourceinfo /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftdoc /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64-apple-ios-simulator.swiftdoc (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftdoc /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64-apple-ios-simulator.swiftdoc

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64.swiftmodule (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64.swiftmodule

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftdoc /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64.swiftdoc (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftdoc /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64.swiftdoc

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64-apple-ios-simulator.swiftmodule (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension.swiftmodule /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.swiftmodule/arm64-apple-ios-simulator.swiftmodule

PBXCp /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-Swift.h /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/OneSignalNotificationServiceExtension-Swift.h (in target 'OneSignalNotificationServiceExtension' from project 'Project')
    cd /Users/Dan/Projects/project/applications/app/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/arm64/OneSignalNotificationServiceExtension-Swift.h /Users/Dan/Library/Developer/Xcode/DerivedData/Project-exlnyrqelcloxudorkomycdvmdbe/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources

@rgomezp
Copy link
Contributor

rgomezp commented Jan 20, 2022

Howdy folks thanks for your patience.

So what we have found is that most likely this is being caused by using Swift in the NSE target. If that is the case, please switch to Objective-C.

The other possibility is that the targets must match across targets (main and NSE). So if you're using swift on one, use swift on the other -- obj-c on one, use obj-c on the other.

Hope this helps.

@thinhcnb297
Copy link

thinhcnb297 commented Jan 24, 2022

Somebody can resolve this case
Screen Shot 2022-01-24 at 20 28 39
Screen Shot 2022-01-24 at 20 29 09
Screen Shot 2022-01-24 at 20 31 12
Screen Shot 2022-01-24 at 20 31 16
Screen Shot 2022-01-24 at 20 33 19

@coderdave
Copy link

Just throw in the towel and open Xcode in Rosetta.

Right-click Xcode.app, select "Get Info" and check "Open using Rosetta".

rosetta

@thinhcnb297
Copy link

Just throw in the towel and open Xcode in Rosetta.

Right-click Xcode.app, select "Get Info" and check "Open using Rosetta".

rosetta

It works. Thanks so much

@devmod
Copy link

devmod commented Mar 15, 2022

Hello guys,

We tested pretty much all of the suggestions on this thread (except using Rosetta) and ended getting it to work with a few changes on an M1 MacBook.

  1. Changed the Podfile to use the new OneSignal pod:
target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignalXCFramework', '>= 3.0', '< 4.0'
end
  1. We noticed that whenever we did pod install, the value of the Pods project -> OneSignalXCFramework -> EXCLUDED_ARCHS would get overwritten with an empty string :

image

which would result in the following error:

image

To fix this we added a post-install step to the Podfile to ensure that all Pods' targets are excluding arm64:

  post_install do |installer|
    $RNMBGL.post_install(installer)
    react_native_post_install(installer)
    installer.pods_project.build_configurations.each do |config|
      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
    end
  end
  1. Reinstall pods:
pod reintegrate && pod install

image

  1. Clean build and run

Hope this helps someone!

Cheers

@peter-indiola
Copy link

Hi, @devmod I followed the steps and I've encountered this issue. Am I missing something here?

Screenshot 2022-03-29 at 10 57 18 PM

@serdargun
Copy link

Same result. Did you fix it? @peter-indiola

@trev91
Copy link

trev91 commented May 14, 2022

@peter-indiola I'm also running into the same issue reported here by @serdargun - Does anyone have a solution for the "No such module 'OneSignal'" error?

@serdargun
Copy link

Struggled a lot with this issue and I don't know why but here is what worked for me @trev91 :

  • Removed project derived data
  • Cleaned the build
  • Shut down computer and restart
  • Do not run project from XCode use npx react-native run-ios

@peter-indiola
Copy link

still wasn't able to run this. Is OneSignal team saying this is fixed?

@RikoLogwirno
Copy link

RikoLogwirno commented May 17, 2022

Hi guys, I've got exactly the same issue as @danlupascu had. I use Objective-C as @rgomezp said and manage to make it working

  1. delete existing OneSignalNotificationServiceExtension folder under the main project if you already added the swift version
  2. Add a new Notification Service Extension, after that at point 4.3.3 in the sdk setup documentation (https://documentation.onesignal.com/docs/react-native-sdk-setup) change the Language to Objective-C
  3. Copy the NotificationService.m point 4.3.6 in the docs

Hope it help

  • XCode 13.3.1
  • Mac OS Monterey 12.3.1
  • Macbook air M1

@rgomezp
Copy link
Contributor

rgomezp commented Jun 3, 2022

Hi all,
Please try the above suggestion from RikoLogwirno

@kesheshyan
Copy link
Contributor

Closing for now because of no response. Feel free to reopen if the issue persists.

@Ebeldev
Copy link

Ebeldev commented Jul 12, 2022

I'm on intel in a new project and I do get this error of 'no such module'.

Pretty frustrating. I did follow their documentation, read some stack overflow and github issues.

There is no clear answer on what to do to get this error away and be able to build.

And this issue is open from a year ago.

Wow.

@Ebeldev
Copy link

Ebeldev commented Jul 13, 2022

I do get the error of 'No such module'.

It's funny or sad (for sure frustrating) that there is no clear solution on how to resolve that error.

Switching to Objective-C because Swift does not work is not a good solution.

@Ebeldev
Copy link

Ebeldev commented Jul 13, 2022

I was able to get ride of the error.

What I did you may ask !! .

I use to open xcodeproj file but instead open xcworkspace file and it worked.

@kosbog
Copy link

kosbog commented Jul 21, 2022

Hi guys, I've got exactly the same issue as @danlupascu had. I use Objective-C as @rgomezp said and manage to make it working

  1. delete existing OneSignalNotificationServiceExtension folder under the main project if you already added the swift version
  2. Add a new Notification Service Extension, after that at point 4.3.3 in the sdk setup documentation (https://documentation.onesignal.com/docs/react-native-sdk-setup) change the Language to Objective-C
  3. Copy the NotificationService.m point 4.3.6 in the docs

Hope it help

  • XCode 13.3.1
  • Mac OS Monterey 12.3.1
  • Macbook air M1

Thanks, man! Works!

@ArslanAsghar123
Copy link

Hey guys, I am also facing the same error(No such module 'OneSignal') and also (Stored properties cannot be marked potentially unavailable with '@available').
it happened when I update my Xcode to the latest version(14.0).

how I get rid of these errors:

=> firstly I update my Pod file version too (platform: ios, '13.0')
=> iOS Deployment Target in the Build Settings tab to 13
=> minimum deployment target to also 13
=> run pod update && pod install in terminal

after this I solve (No such module 'OneSignal') error like this;

add this line in the pod file

pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0'

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

=> run pod update && pod install in terminal
it works for me as I tried many solutions already

@Seamus1989
Copy link

sideways move suggestion, now I have 'OneSignal/OneSignal.h' file not found

@antoinerousseau
Copy link

antoinerousseau commented Jan 26, 2023

Tried @RikoLogwirno's solution to switch the OneSignal target to Objective-C, and getting this error:

fatal error: module map file '/Users/antoine/Library/Developer/Xcode/DerivedData/Shotgun-dlehjsjizvzmdbatymrztblscsvc/Build/Products/Debug.Development-iphonesimulator/PromisesSwift/Promises.modulemap' not found

Tried @devmod's solution to exclude arm64 from build configurations, which allows for a successful build, but launching the app in the iOS simulator crashes with:

error Failed to launch the app on simulator, An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Application launch for 'com.shotguntheapp.Shotgun.development' did not return a valid pid nor a launch error.
No such process

Of course it all works if I use Rosetta 2...


Update: after migrating to RN 0.71 and disabling flipper, I'm able to build and launch, but the app is stuck on the splash screen and metro is never called.

in iOS 16.2 simulator (arm64), I get:

Warning: Error creating LLDB target at path '/Users/antoine/Library/Developer/Xcode/DerivedData/Shotgun-dlehjsjizvzmdbatymrztblscsvc/Build/Products/Debug.Development-iphonesimulator/Shotgun Development.app'- using an empty LLDB target which can cause slow memory reads from remote devices: the specified architecture 'arm64-*-*' is not compatible with 'x86_64-apple-ios13.0.0-simulator' in '/Users/antoine/Library/Developer/Xcode/DerivedData/Shotgun-dlehjsjizvzmdbatymrztblscsvc/Build/Products/Debug.Development-iphonesimulator/Shotgun Development.app/Shotgun Development'
objc[86211]: Class CDPCAReporter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDPInternal.framework/CoreCDPInternal (0x1615031d8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDP.framework/CoreCDP (0x153069eb0). One of the two will be used. Which one is undefined.
objc[86211]: Class CDPCABackupRecoveryReporter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDPInternal.framework/CoreCDPInternal (0x161503ef8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDP.framework/CoreCDP (0x15306a0e0). One of the two will be used. Which one is undefined.
objc[86211]: Class ZDKObservationToken is implemented in both /Users/antoine/Library/Developer/CoreSimulator/Devices/C6D26751-4757-42B5-9E5B-238939CBEABE/data/Containers/Bundle/Application/1B783901-97F7-4E45-8EA9-942289D667BC/Shotgun Development.app/Frameworks/MessagingAPI.framework/MessagingAPI (0x111e97608) and /Users/antoine/Library/Developer/CoreSimulator/Devices/C6D26751-4757-42B5-9E5B-238939CBEABE/data/Containers/Bundle/Application/1B783901-97F7-4E45-8EA9-942289D667BC/Shotgun Development.app/Frameworks/ChatProvidersSDK.framework/ChatProvidersSDK (0x11244c7b8). One of the two will be used. Which one is undefined.
2023-01-27 13:34:50.457284+0100 Shotgun Development[86211:604761] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
2023-01-27 13:34:50.509478+0100 Shotgun Development[86211:604761] [branch.io] Branch.m(367) Warning: You are using your test app's Branch Key. Remember to change it to live Branch Key for production deployment.
2023-01-27 13:34:50.521664+0100 Shotgun Development[86211:604761] [branch.io] BNCPreferenceHelper.m(935) Warning: Failed to load preferences from storage.
2023-01-27 13:35:21.313809+0100 Shotgun Development[86211:604761] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service

in iOS 13.7 simulator (x86), I get:

objc[88646]: Class ZDKObservationToken is implemented in both /Users/antoine/Library/Developer/CoreSimulator/Devices/0D28464A-8227-4BC9-A370-C37CE4CC7F8D/data/Containers/Bundle/Application/BCD408A5-ED7E-4B77-9B45-52CFF2DC4EB8/Shotgun Development.app/Frameworks/MessagingAPI.framework/MessagingAPI (0x116d1f608) and /Users/antoine/Library/Developer/CoreSimulator/Devices/0D28464A-8227-4BC9-A370-C37CE4CC7F8D/data/Containers/Bundle/Application/BCD408A5-ED7E-4B77-9B45-52CFF2DC4EB8/Shotgun Development.app/Frameworks/ChatProvidersSDK.framework/ChatProvidersSDK (0x1139c57b8). One of the two will be used. Which one is undefined.
2023-01-27 13:37:31.451536+0100 Shotgun Development[88646:614087] [branch.io] Branch.m(367) Warning: You are using your test app's Branch Key. Remember to change it to live Branch Key for production deployment.
2023-01-27 13:37:31.523973+0100 Shotgun Development[88646:614087] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2023-01-27 13:37:31.524018+0100 Shotgun Development[88646:614678] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2023-01-27 13:37:31.524343+0100 Shotgun Development[88646:614678] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2023-01-27 13:37:31.524684+0100 Shotgun Development[88646:614087] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2023-01-27 13:37:31.524731+0100 Shotgun Development[88646:614678] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2023-01-27 13:37:31.525151+0100 Shotgun Development[88646:614087] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2023-01-27 13:37:31.525174+0100 Shotgun Development[88646:614678] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2023-01-27 13:37:31.526395+0100 Shotgun Development[88646:614678] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2023-01-27 13:37:31.526558+0100 Shotgun Development[88646:614678] [Client] Updating selectors after delegate removal failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}

Using Xcode 14.2 on a M2 Pro.
react-native v0.71.1
react-native-onesignal v4.5.0

@ah584d
Copy link

ah584d commented Jul 11, 2023

any update with this? I got crazy... activating Rosetta leads to same error, I do hard clean between each run
but it does not help.....I use Xcode 14.1 on Ventura 13.4.1 (M1 pro)

rm -rf ~/Library/Developer/Xcode/DerivedData
rm Podfile.lock
rm -rf Pods
pod cache clean --all
pod deintegrate
pod install --repo-update

@ah584d
Copy link

ah584d commented Jul 13, 2023

this is what happened to me, I upgraded Xcode to 14.3.1 then downgraded to 14.2.
The computer has been almost kill (PRO M1), I had no choice to continue using 14.3.1 with Rosetta simulator.
I discovered the solution by installing all my project on a clean fresh computer (PRO M1), and I saw that when running with Rosetta we see the symbol x86_64, and on my "polluted" mac, even with Rosetta it was logging arm64....
and then I arrived to these articles which confirm my...pain.
https://developer.apple.com/forums/thread/725563
https://armen-mkrtchian.medium.com/run-rosetta-simulator-on-xcode-14-3-381d341364ee

@Steffi3rd
Copy link

Same problem since trying to upgrade React 0.63.3 to 0.72.4

ERROR : ld: library not found for -lPods-OneSignalNotificationServiceExtension

In my Podfile I had :

target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignal', '>= 2.9.3', '< 3.0'
end

Then update it to suggested fix :

target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0'
end

Result :
No more ld: library not found for -lPods-OneSignalNotificationServiceExtension but now : 'OneSignal/OneSignal.h' file not found

How to fix that please?

@arnaudambro
Copy link

https://documentation.onesignal.com/docs/ios-sdk-setup#4-notification-service-extension

maybe in the objective-c file, write OneSignalExtension where you have OneSignal or OneSignalFramework ?

@CMLCNL
Copy link

CMLCNL commented Jan 5, 2024

same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests