-
Notifications
You must be signed in to change notification settings - Fork 216
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
ios not runiing OneSignalNotificationServiceExtension.appex' [Bug]: #907
Comments
same issue |
@mhamdimno @MuhibAhmed Please try keeping Embed Foundation Extensions just below the Copy Bundle Resources in the Xcode Build Phases configuration. This will solve your problem, attaching screenshot below for your reference |
Thank you. It works for me. In case your XCode is 15.4 and above (my case is 15.4), there is an Embed App Extensions needs to be moved right below Copy Bundle Resources |
Thanks @bhavsarsuraj for providing a solution! Has this worked for everyone? Any objections to closing this issue? |
Well, I'd like to see the documentation updated to reflect this important step. I lost a couple hours searching for a solution, not a good first time experience :D (solution worked btw) |
What happened?
Cycle inside Runner; building could produce unreliable results.
Cycle details:
→ Target 'Runner' has copy command from '/Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/OneSignalNotificationServiceExtension.appex' to '/Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex'
○ Target 'Runner'
○ That command depends on command in Target 'Runner': script phase “Thin Binary”
○ Target 'Runner' has process command with output '/Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/Info.plist'
○ Target 'Runner' has copy command from '/Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/OneSignalNotificationServiceExtension.appex' to '/Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex'
Raw dependency cycle trace:
target: ->
node: ->
command: ->
node: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:ExtractAppIntentsMetadata ->
node: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner.SwiftConstValuesFileList ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:WriteAuxiliaryFile /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner.SwiftConstValuesFileList ->
node: ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase9-flutterfire---flutterfire-upload-crashlytics-symbols- ->
node: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Script-155C020AD9CEE48E1F9E7D8A.sh ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:WriteAuxiliaryFile /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Script-155C020AD9CEE48E1F9E7D8A.sh ->
node: ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase8-run-script ->
node: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Script-A1F21D8D29E734DE0031CACD.sh ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:WriteAuxiliaryFile /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Script-A1F21D8D29E734DE0031CACD.sh ->
node: ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase7-copy-files ->
node: <Copy /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex> ->
CYCLE POINT ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:Copy /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/OneSignalNotificationServiceExtension.appex ->
node: ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase6-run-script ->
node: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Script-A150044027FF43B400FA46B3.sh ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:WriteAuxiliaryFile /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Script-A150044027FF43B400FA46B3.sh ->
node: ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5--cp--embed-pods-frameworks ->
node: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/InputFileList-FB45D99221D72B923340C6C0-Pods-Runner-frameworks-Release-input-files-b37dafada050e753b24de03588885f04-resolved.xcfilelist ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:WriteAuxiliaryFile /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/InputFileList-FB45D99221D72B923340C6C0-Pods-Runner-frameworks-Release-input-files-b37dafada050e753b24de03588885f04-resolved.xcfilelist ->
node: ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase4-thin-binary ->
node: ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:PhaseScriptExecution Thin Binary /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Script-3B06AD1E1E4923F5004D2608.sh ->
node: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/Info.plist/ ->
directoryTreeSignature: � ->
directoryContents: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/Info.plist ->
node: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/Info.plist ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:ProcessInfoPlistFile /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/Info.plist /Volumes/Data/Downloads/Door Access Flutter App/ios/Runner/Info.plist ->
node: /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:Copy /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex /Users/aonewaytoallah/Library/Developer/Xcode/DerivedData/Runner-buauwkjbvptgdeajlgsfunoxlucp/Build/Products/Release-iphoneos/OneSignalNotificationServiceExtension.appex
Steps to reproduce?
What did you expect to happen?
follow docs for one signal flutter for ios
OneSignal Flutter SDK version
3.4.1
Which platform(s) are affected?
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: